Update file that already exists in tar archive
[root@james ~]# tar -uvf ./test.tar updatefile
Append file that doesnt not exist to archive.
[root@james ~]# tar -rvf ./test.tar newfilesfile
Extract one file from archive.
[root@james ~]# tar -xvf ./test.tar somefile
Uncategorized
Search for a package
apt-cache search <phrase>
Install a package
apt-get install <package>
Upgrade kernel
apt-get dist-upgrade
Uncategorized
Create a new file using touch and modify its access time.
Set the date to Feb 1st, 2009 @ 730am.
[root@stone backups]# touch testfile2 -t 200902010730 testfile2
Verify settings..
[root@stone backups]# ls -la | grep testfile2
-rw-r–r– 1 root katze 0 Feb 1 2009 testfile2
Uncategorized