Archive for the 'Microtips' Category

Find and connect to Windows (Samba) shares from Linux

Thursday, September 3rd, 2009

There are times when we have to interact with Windows machines in our environment and we need to access Windows shares from our Linux PC. This guide tells you how to find and connect to Windows shares from your Linux machine.

How to create an ISO image from Linux commandline

Thursday, September 3rd, 2009

mkisofs -J -R -o file_name.iso target_directory

How to remove all empty lines from text

Wednesday, September 2nd, 2009

grep . file_name

How to double space lines in a file

Wednesday, September 2nd, 2009

pr -d -t file_name

How to break a large file into small parts

Wednesday, September 2nd, 2009

split large_file prefix -b size_of_each_part

How to find synonyms of a word from Linux command line

Wednesday, September 2nd, 2009

wordnet stupid -synsn

How to change twitter status from Linux commandline

Wednesday, September 2nd, 2009

curl -u user:pass -d status=”status message” http://twitter.com/statuses/update.xml

How to combine two files

Wednesday, September 2nd, 2009

cat file1 file2 > file3

Adding a default gateway

Wednesday, September 2nd, 2009

route add default gw eth0 OR route add default gw 192.168.1.1

How to rename a file in Linux

Wednesday, September 2nd, 2009

mv old_file_name new_file_name