Linux Learning Log

Source: Internet
Author: User

Linux Learning Log

The basic user interface mode is the shell, and the terminal is usually used to enter commands with this terminal.

F11 full screen, ctrl+shift+ "+" become larger, ctrl+-smaller.



Command format

command [parameters] [Action Object]

CMD options Opreation



CD ~ Back to user home directory

LS View the contents of the directory

./Current Directory

.. /Parent Directory

Ls-l

PWD can view the current working directory print working directory

Man command name can check command help

CD Switch Directory

Touch to create a file

CP Copy a file

CP Source File Destination file

Touch test.c

CP Test.c.bak

This copies a Test.c.bak backup in the directory.

CP test.c A\

This will be copied directly to the a sub-directory

The CP test.c A\test.bak is a copy of a backup.

CP test.c. The/test.c is copied to the parent directory. If a write-only directory name exists under the parent directory, the meta-file is overwritten.

RM is to delete files or directories.

The MV command changes the file name. MV Test.c.bak test.c Renaming the source file to the target file name

MV test.c 111.c Change the name to MV to move the file or directory to where you want to move it.

MV TEST.c A/

Move the text.c to the A directory.




Linux Learning Log

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.