Some daily operations in Linux

Source: Internet
Author: User
Some daily operations in Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Original: wanglilife

After linux is installed, the configuration is complete. However, some basic linux operations will not be used. It is difficult to use this system. Therefore, we have to perform some common basic operations in linux. This notebook is not prepared for the master, but for the easy-to-Forget cainiao like me, these basic operations are not sorted according to certain gradual learning rules. The order is only proposed and solved according to the needs of linux. Of course, this notebook will be constantly updated and extended ......

I. Mounting/detaching an ISO file
# Mount example. iso/mnt-o loop
[Mount the example. iso file to the/mnt directory of the file system. Of course, you can specify and create a mount point (Mount directory) at will.]
# Umount example. iso
[Detach the example. iso file from the mount point]

Ii. File compression/Decompression
There are too many types of File compression formats. Here we will introduce several common formats.
# Tar zcvf example.tar.gz/home
[Compress the example file into a .tar.gz compressed file and put it in the/home directory. If no directory is specified, it is the current directory]
# Tar zxvf example.tar.gz
Unzip the example.tar.gz compressed file into the example file and put it in the current directory]

# Tar cvf example.tar/home
[Compress the example file into a. tar compressed file and put it in the/home directory. If no directory is specified, it is the current directory]
# Tar xvf example.tar
Unzip the example.tar compressed file into the example file and put it in the current directory]

# Gzip example
# Gunzip example.gz

#
# Bunzip2 example. bz

# Bzip-z example
# Bzip-d example.bz2

# Zip example.zip/home
# Unzip example.zip

# Rar e example.rar
# Rar a example.rar

# Rpm2cpio example. rpm | cpio-div

# Ar p example. deb data.tar.gz | tar exf-
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.