Linux beginners small circle of apes grasp of basic commands

Xiao Bian order a bit, for linux beginners, most of linux command:

1, man View command help, command the dictionary, as well as more complex info, but not commonly used.

2, ls spelling list, function is to list the contents of a directory and its contents attribute information.

3, cd function is to switch from the current working directory to the working directory specified.

4, mkdir its function is to create the directory.

5, pwd its function is to show the absolute path to the current working directory.

6, cp whose function is to copy a file or directory.

7, find the directory used to find files and directories.

8, mv function of which is to move or rename a file.

9, touch to create a new empty file, change the time stamp of the existing file attributes.

10, rm whose function is to delete one or more files or directories.

11, rmdir function is to delete empty directories.

12, dirname display the file or directory path.

13, cat function for connecting a plurality of files and print to a specified file or redirected to the screen output.

14, head of the head display file contents.

15, tail end of the file to display the contents.

16, init run level switch.

17, kill terminate the process.

16, vi / vim command-line text editor.

17, user management commands:

      useradd to add users

      usermod modify existing user attributes system

      userdel Delete user

      Adding user groups groupadd

      passwd change password

      su switch user identity

      View user id uid, gid ownership and user groups.

    sudo to another user identity (the default root user) to perform in advance sudoers file allows commands.

These are the small apes circle jerk finishing most commonly used linux commands, if you're new to linux beginner, you can start finishing small series of commands to learn, after the Lianshu these commands, you can go to a small ape circle along the white teacher learn about advanced, small recent study, we hope you can quickly grasp the basic linux command!

Guess you like

Origin www.cnblogs.com/xiaoyuanquan/p/10929912.html