Tip #864 Read a file line-by-line
This short script reads a file line-by-line ( whith whitespace characters too ) and outputs to STDOUT.Read more »
Tip #858 Making shell scripts executable via editor hooks
If you spend a lot of time creating new shell scripts then it can be very useful to make them executable by default. To do this in Vim add the following lines to the end of your ~/.vimrc file - creating it if necessary:Read more »
- TAGS:
- vim
Tip #850 Checksum directory recursively
Do a sha256sum of an entire directory name directory and check for integrity.Modifying the IFS variable is necessary for filename with space.
Read more »
Tip #844 Hide files in an image
It is possible to hide a rar archive inside a png image file and then retrieve the files from this image.Read more »
- TAGS:
- cat
Tip #843 Backup delicious bookmarks
Use this command to backup your del.icio.us bookmarks from the commandline with curl.Read more »
Tip #840 Making vim oneliners
We can use vim to make changes to a file all in one command, for exampleRead more »
- TAGS:
- vim
Tip #839 Shutdown a windows PC from linux
A remote Windows PC can easily be shutdown, assuming you have Samba installed on your Linux box, and you have a user account on the Windows PC that has the necessary rights.Just enter the following command, where 'thehostname' is the hostname of the remote PC, and 'theusername' is a valid user account on the remote PC:
Read more »
- TAGS:
Tip #838 Record a screencast as an mpeg
Use the command below to record a screencast and save it as an mpeg:Read more »
- TAGS:
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs