Linux's way of learning (novice article)

Shell Linux system commonly used commands

Learning: An instruction function according to classification learning and memory, master and common parameters common commands

First, the file system operations related commands

  1. pwd: print working directory, print the current working directory
  2. cd: change directory, change the current working directory
  3. mkdir :: make directory, create a folder
  4. rmdir: remove directory, delete empty folders, you can use rm -rf delete any folder
  5. rename: Rename the file with three parameters
  6. mv: move, move files
  7. chmod: permission attribute change mode, modify the file
  8. chown: change ownership, the owner of the property to modify the file
  9. ls: List list, print file information, common parameters -a (view all files, including hidden files (files that start with numbers).) and -l
  10. rm: remove, delete files ordinary, common parameters -f and -r
  11. truncale: cutting file, commonly used parameters -s
  12. vi / vim: Linux system comes with a file editor
  13. touch: time to modify the file attributes
  14. man: manual, manual

Second, note

Each command

+ Space command name (may be a plurality of write) command + parameter (0 or more, one or more spaces between parameter)

File path written in the form

~ Represents the current user's home directory

/ Represents the root directory

Absolute path: Targeting based on the root directory

Relative path: positioning based on the current directory, a dot represents the current directory, two dots (...) indicates the parent directory of the current directory (.)

Teacher to explain the code example: [root @ hostname usr] cd ./.../..././.../././ * The end result is the root directory

Linux systems philosophy

  • No news is good news
  • In the linux world, there is a problem to find a "man"

Third, the personal words

For the first time into the blog, novice junior, now we are not entry, all learning process.

发布了1 篇原创文章 · 获赞 0 · 访问量 9

Guess you like

Origin blog.csdn.net/GarbageZilean/article/details/104380316