Archive for the 'Microtips' Category

Sep 03 2009

Find and connect to Windows (Samba) shares from Linux

Published by amjad under Microtips

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.

No responses yet

Sep 03 2009

How to create an ISO image from Linux commandline

Published by amjad under Microtips

mkisofs -J -R -o file_name.iso target_directory

No responses yet

Sep 02 2009

How to remove all empty lines from text

Published by amjad under Microtips

grep . file_name

No responses yet

Sep 02 2009

How to double space lines in a file

Published by amjad under Microtips

pr -d -t file_name

No responses yet

Sep 02 2009

How to break a large file into small parts

Published by amjad under Microtips

split large_file prefix -b size_of_each_part

No responses yet

Sep 02 2009

How to find synonyms of a word from Linux command line

Published by amjad under Microtips

wordnet stupid -synsn

No responses yet

Sep 02 2009

How to change twitter status from Linux commandline

Published by amjad under Microtips

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

No responses yet

Sep 02 2009

How to combine two files

Published by amjad under Microtips

cat file1 file2 > file3

No responses yet

Sep 02 2009

Adding a default gateway

Published by amjad under Microtips

route add default gw eth0 OR route add default gw 192.168.1.1

No responses yet

Sep 02 2009

How to rename a file in Linux

Published by amjad under Microtips

mv old_file_name new_file_name

No responses yet

Older Entries »