Friday, March 16, 2012

How to copy/move a file or folder

# copy source destination [syntex]

# copy /etc/a1 /root/b1 [to copy a file ‘a1’ from etc to root folder as ‘b1’]

# mv source destination [to move a file/folder]

ZIP & UNZIP

# gzip filename [to zip a file]

# gunzip filename [to unzip a file]

[ *ZIP file extension .gz or .tar or .bz2]

# bzip2 filename [to zip a file]

# bunzip2 filename [to unzip a file]

No comments:

Post a Comment