Tag: command
Mount Windows Network Share with Samba
May 15, 2008
Use this command to mount a share on a windows system. It uses Samba. mount -t smbfs -o username=user,password=pass //WinClient/share…
Restore Backup Created by dump
May 10, 2008
Restoring a backup created by the dump command. restore -if home_backup.bak
Incremental Backup using dump
April 30, 2008
Make a incremental backup of directory ‘/home/binnyva’ dump -1aj -f home.bak /home/binnyva/
Backup Using ‘dump’ command
April 28, 2008
Make a full backup of directory ‘/home’ dump -0aj -f home.bak /home
Remove Even Lines
April 27, 2008
This command removes all the even lines from the file given as the argument cat example.txt|awk ‘NR%2==1’
Make a File Immutable
April 23, 2008
Makes a file immutable – it can not be removed, altered, renamed or linked chattr +i file
Recent Comments