FHS: Standard file architecture specificationUse the man command.Su-name Switch to User nameSu-rootchmod 777 filenameCD-: Previous working directoryCD ~: User's home directoryCD ~nid:q Switch to Nid's home directoryMkdir-p/tmp/dd/dd/d Creating
Directory/File ManagementDirectory Management:1.ls2.cd3.pwd4.tree: Viewing the directory tree5.mkdir: Create an empty directory-P: Create parent Directory-V: Show the process of creationCommand line expansion:Mkdir-pv/mnt/test/{x/m,y} # creates two
Directory/File Management Directory Management:1.ls2.cd3.pwd4.tree: Viewing the directory tree5.mkdir: Create an empty directory-P: Create parent Directory-V: Show the process of creation Command line expansion:Mkdir-pv/mnt/test/{x/m,y} #
Special usage of COMMON commands CPCp-i # Overlay hint alias cp= "Cp-i" mv-i # Overlay hint alias mv= "Mv-i"Cp-r # Copy directory cp-a # reserved permissionsCp-s a B # link file, only with current directoryln-s a B # A To use absolute path, B
This article address:http://www.cnblogs.com/archimedes/p/linux-commands1.html, reprint please indicate source address.ls commandLS is used to list the contents of the directory, it is one of the most commonly used commands, the LS command format
linux CP/SCP Command +SCP command detailedName: CPUsage rights: All usersHow to use:CP [Options] Source DestCP [options] source ... directoryNote: Copy one file to another file, or copy several files to another directory.The meter-A as far as
Features: Copying Files or directoriesNote: The CP instruction is used to copy files or directories, such as specifying more than two files or directories at the same time, and the final destination is an existing directory, it will copy all the
1. Understanding of Basic Conceptsabsolute Path: The absolute path is the real path on the hard disk of the file or directory on your home page, (URL and physical path) such as:c:xyz Est.txt represents the absolute path to the Test.txt file. The
File and Directory ManagementFile management is the creation, deletion, query, movement of files or directories, MKDIR/RM/MVFile query is the focus, using Find to query; Find's parameters are rich and very powerful;Viewing the contents of a file is
Dig Dig [option] FQDN [@server] @server: If you do not use/etc/resolv.conf as the DNS query, you can fill in the other IP Options: A number of relevant parameters, mainly +trace,-t type and-X are the most commonly used +trace: It's from. Start
UTF8 and Unicode (International GB) GBK (Chinese translation)Text Programmer: Edit text into ASCLLNano Text Editor Nano Yue Create file name Yue and can edit text inside (press Ctrl+x to exit input y save =ctrl+o Input n Direct exit Ctrl + C cancel
MKDIR-P Create directory (make Directorys) p recursive creationLs-l (Long) d (direcitory) displays directories or filesCD switch directory from "/" directory,/root directory, e.g./user This path is called absolute pathPWD View current pathTouch
Linux Common commandsOne, the format of the Linux command1. command [options] [parameters]Lslist displaying content in the directory① command name: lsCommand English original: listCommand path:/bin/lsExecute Permissions: All UsersFunction
SCP is the most powerful file transfer command in Linux, enabling easy file transfer operations from local to remote and remote to local. The following is a brief explanation of the operation of the SCP command, for some useful reference:The first
"Summary of common commands for Linux"1. Create a directory--mkdir2. Explicit directories and files in long format--ls ld3. Switch directory hierarchy--CDEnter the new directory and enter the new folder.4. Create a file or modify a file
File command and its usageWindows:peLinux:elfFile system:Rootfs: Root file systemFhs:linuxLS/view root directory/boot: System boot related files, such as kernel, INITRD, and Grub (bootloader)/dev: Device files block device: Randomly accessed device
1 vim/etc/inittab Linux configuration file, this file is responsible for setting init initialization program initialization script where;2 passwd Change Password2.1 passwd XXX Modify specific user's password3.1 System-config-language System Language
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.