Category: Command Line
Tail Command in Follow Mode
February 21, 2008
View in real time what is added to a file. -f stands for Follow tail -f /var/log/messages
Change File Encoding
February 17, 2008
Creates a new from the given input file by assuming it is encoded in fromEncoding and converting it to toEncoding….
Batch Resize Images with ImageMagick
February 16, 2008
Batch resize files in the current directory and send them to a thumbnails directory (requires convert from Imagemagick) find ….
Cpuinfo
February 15, 2008
Linux command to show information about the CPU cat /proc/cpuinfo # Result (example) processor : 0 vendor_id : AuthenticAMD cpu…
Seach for a String in a Folder using grep
February 13, 2008
Search string “test_text” at directory ‘/var/log’ and below grep test_text -R /var/log/*
Remove Empty Lines and Comments
February 12, 2008
Remove comments and blank lines from example.pl sed ‘/ *#/d; /^$/d’ example.pl
Recent Comments