Tar command is
specially designed to zip and extract the data. It helps to reduce the space
while getting backed up data. It is used to store and extract files from an
archive file. Let’s understand tar
command with examples:
How to archive folder
in tar extension by tar command
Tar command requires two arguments
to archive the folder i.e. first argument is output file name with tar
extension and second is source folder name which we want to archive.
root@hello:~/ctier/pkgs/apache-tomcat-5.5.28#
tar -cvf logs.tar logs/
logs/
logs/catalina.2012-12-03.log
logs/localhost.2012-12-03.log
root@hello:~/ctier/pkgs/apache-tomcat-5.5.28#
...
Friday, May 10, 2013
Difference between SAN and NAS Netstat Command in Linux
1.
What are the run levels?
There are total seven run levels as follows:
0 – halt
1—single user mode
2—multiuser mode without NFS
3—Multiuser with NFS
4 -- Unused
5 -- Multiuser mode with X11.
6 – Reboot.
2.
How to check all logged in user currently on
server?
Ans. W
and who are the commands...
Subscribe to:
Posts (Atom)