Monday, August 24, 2015

Linux command (system, advance)

Linux command (system, advance)

Disk/ storage part:

dd command: used to back up disk or partition, most often used for backup file, like ghost
dd if=/'name of the iso file name[to]' of='/backup partition[from]'
ex: dd if =/filename.iso of /dev/sdd
 or
dd if =/dev/sfa of=/dev/sdd

df command: see the size of the hdd 
#df -h
#df


extract and compress file:
extract file
tar -xzf zzz.tar.gz

compress file 'file '
tar -tzvf compressed.tar.gz


No comments:

Post a Comment