Skip to content


August 18, 2008

du -sh <dir> (Current directory hd usage)

df -h (Disk usage)

tar -cvjf abc.tbz abc/*

tar -xvjf abc.tbz

Hard link – is a pointer to file’s i-node

Diffc b/w two is that on deleting the source file the symbolic link becomes useless and for hardlink the link continues to be existing as a pointer the file contents.

Diffc b.w mget and get is in mget = multiple get and we can use * to recursive content.
To replace a character for a new line

:%s/,/ControlV + ControlM/g

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: