Basic command Gedit

Source: Internet
Author: User

~ Current User Working directory

LS displays all files in the current directory

Cat View Current file contents

chmod u-x

chmod u+x

Hide files.

Touch to create a file

RM Delete Files

Rm-f Force Delete File

gedit (filename) write

GCC (filename) compiles, compiles successfully, generates a.out

./a.out Execution procedure

CP Copy File (add-R when copying directory)

MV Cut or renamed to a file

CD 0316/Enter directory 0316 (CD. Exit directory return to parent directory CD/root directory

Ifconfig view the current system's IP

PWD View the absolute path of a directory

mkdir Create a new directory (mkdir-p kk/mm/nn/pp Create a directory structure by path)

RmDir Delete Empty Directory

Tar cvzf kk.tar.gzkk to compress KK to kk.tar.gz

Tar xvzf kk.tar.gz Extract to current directory (add-c/root/mm extract to mm)

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.