basic commands of linux by adam

Download Basic commands of linux By Adam

If you can't read please download the document

Upload: mohammed-adam

Post on 25-May-2015

120 views

Category:

Technology


2 download

DESCRIPTION

Its about Basic Commands of Linux

TRANSCRIPT

  • 1. I Introduce MySelfI Introduce MySelf My Name Is A.Mohammed Adam Im a Activist in Free Software Foundation Tamilnadu (FSFTN)

2. The Topic Is ? 3. Extract or Unpack a TarBall File To unpack or extract a tar file, type: tar -xvf file.tar tar -xzvf file.tar.gz tar -xjvf file.tar.bz2 Where, -x : Extract a tar ball. -v : Verbose output or show progress while extracting files. -f : Specify an archive or a tarball filename. -j : Decompress and extract the contents of the compressed archive created by bzip2 program (tar.bz2 extension). -z : Decompress and exxtract the contents of the compressed archive created by gzip program (tar.gz extension). 4. How Do I Extract A Single File Called foo.txt? To extract a single file called foo.txt, enter: tar -xvf file.tar foo.txt tar -xzvf file.tar.gz foo.txt tar -xjvf file.tar.bz2 foo.txt You can also specify path such as etc/resolv.conf, enter: tar -xvf file.tar etc/resolv.conf tar -xzvf file.tar.gz etc/resolv.conf tar -xjvf file.tar.bz2 etc/resolv.conf 5. How Do I Extract a Single Directory Called etc? To extract a single directory called etc, enter: tar -xvf file.tar etc tar -xzvf file.tar.gz etc tar -xjvf file.tar.bz2 etc 6. Thank You So Much