MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
September
Sun Mon Tue Wed Thu Fri Sat
2
         
2013
Months
Sep


Mon, Sep 02, 2013 2:16 pm

freeSSHd on Windows 8

If you want to set up a Windows 8 system as a Secure Shell (SSH) server, you can use freeSSHd, which as the name implies is free, to do so. I had problems getting it to run as a service on a Windows 8 system, though.

[ More Info ]

[/os/windows/network/ssh] permanent link

Mon, Sep 02, 2013 1:17 pm

Counting the number of specific characters in a file

On a Linux/Unix system, you can count the occurences of a specific character in a file by using the fgrep and wc commands. E.g., suppose you wish to count the number of times the letter "A" occurs in a file named temp.txt.
fgrep -o A temp.txt | wc -l

The "-o PATTERN" option for fgrep tells it to show only the part of a matching line that matches PATTERN where PATTERN is what you are searching for, in this case the letter "A". Piping the output to wc -l will count the number of times the PATTERN appears in the file.

[/os/unix/commands] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo