Original: http://www.cnblogs.com/laov/p/3541414.htmlIntroduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
A few simple commands related to the catalog:1.lsLS is the abbreviation of list, so it is list output of listing directory and fileCommon parameters:-l List Details-H converts the unit from the default byte to K, M, G-a lists all files and
Introduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights
Here is a CentOS 6.5 64bit example (learn to use this, Kali is interested in his own research (this system is for play penetration))One----"Configuring VMware WorkstationCustom--Select compatible version--Select installation method (choose Install
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
Redhat Linux has a graphical configuration tool redhat-config-user. However, Linux administrators should also use dedicated commands to complete the administration of users and user groupsUseradd Build User (create user account and start directory
Common directivesLS display file or directory (list)-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a directory (make dir)-P Create directory, if no parent directory,
1 filesLs-rtl #按时间倒序列出所有目录和文件 (Ll-rt similar to LS-RTL)Touch File #创建空白的文件RM-RF Directory Name # does not prompt to delete non-empty directories (-R Recursive Delete, F Force)Dos2unix Windows text to Linux textUnix2dos Linux text to Windows texteNCA
To learn about Linux files and directories, you should first look at relative paths and absolute paths.Absolute path: The path must be written by the root directory, such as/DEV/SDA.Relative path: The path is not written by/write (relative to the
People who have played Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many, because we only need to master the commands we use most often.
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
people who have played Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many, because we only need to master the commands we use most often.
display of files and directories: LS# ls [-aadffhilnrrst] Directory name# ls[--color={never,auto,always}] Directory name# ls [--full-time] Directory nameOptions and Parameters: -A : All files, along with hidden file ( start with . of the file ) are
The 7th chapter of the Book of BirdsJump from/home/dtest1 into the/home/dtest2 directory: CD. /dtest2 Note that there are spaces after the CD. No spaces afterSpecial Directories:. Represents this Layer directory.. Represents the upper level
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.