Here are just some of the usual, probably not all, welcome additionsCD Switch DirectoryCd.. Switch to upper-level directoryCD-Switch to the last directoryCD ~ Switch to user home directoryPWD View your current directorymkdir Creating a new directory-
PwdDisplays the current working directoryCD target directory such as Cd/boot/grubSwitch to a directory from the current directoryCDSwitch to the root directoryCd..Switch to the upper-level directory of the current directoryls Displays the contents
First,Directory structure in Linux/bin : System command Directory/dev: System equipment Directory/home: User's /home/lau/lib : System library file . So Dynamic library . A Static library/media : System Multimedia Directory (floppy drive, optical
Choose from Blogger's Youdao Cloud notes:Linux Common commandsBecause the picture is not easy to see, please visit the link Linux common commandsWhoAmI See who the current user isHostname View the name of the current hostPWD View current pathLS
Introduction to Linux and Ubuntu InstallationLinux, free open source, multi-user multitasking system. Linux is based on multiple versions of the derivative. RedHat, Ubuntu, DebianInstall a VMware or VirtualBox virtual machine. Specific installation
I. Setting 777 permissions and user rights under LinuxSet all files for WWW directory to be writable 777
sudo chmod 777-r www (here-r is inherited)
Set all file permissions for the WWW directory to user-owned
sudo chown-hr
LS lists the file names.-l lists the long file names.-rwxr-xr--1 root root 10739 Dec 13:31 Bbscon(7) (4) (5) (6) (3) (2) (1)From left to right, it is divided into 7 columns with the following meanings:(1) The file name, if it is a symbolic link,
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)
ls [-ALIHD] file directory query the contents of the directory:-A: Show all files, including hidden files;-L: Show file details;-I: Display inode;-h: humanized display file size;-d: View Directory propertiesDirectory processing commandsmkdir [-MP]
1 pwd: Show current working directory[Email protected] ~]# pwd/root2 CD: Switch the current working directory[Email protected]/]# CD #切换到当前用户的家目录[Email protected] ~]# CD. #切换到当前目录的上一级目录[Email protected]/]# cd-#返回至前一个目录3 ls: Displays directory and
PWD Displays the current file path----parameter- p returns the true path usage "Options" ...CD switch Current working directory----parameters - Returns the true Path parameter: Returns the previous directory parameter/dev switch to the specified
1, cd command This is a very basic, is also a common need to use the command, it is used to switch the current directory, its parameters are to switch to the path of the directory, can be an absolute path, can also be a relative path. Such as:
1.mkdir Creating a DirectoryCreate directory ===> make directory ====> mk dir ====>mkdirMkdir/data-p recursively Create a directory2.ls list lists contents in directory-L (letter) long format, details-D directory to view directories (treats
Linux, free open source, multi-user multitasking system. Linux is based on multiple versions of the derivative. RedHat, Ubuntu, DebianInstall a VMware or VirtualBox virtual machine. Specific installation procedures, to find Baidu.Install Ubuntu
1. Folding 1.1 folding in six different ways manual: Define the range of folding spans in a standard vim structure, like the move command & nbsp; indent: Collapsed and collapsed hierarchy, corresponding to the indentation of
Linux basic CommandsNew to Linux, there will often be an impression that Linux operation than we are familiar with Windows difficult, it is not, as long as the understanding of the Linux CLI interface a lot of command usage can make many in the GUI
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)
Linux Getting Started Baidu Library: http://wenku.baidu.com/course/view/4fdf50e2524de518964b7d00Linux on a USB stick Http://zhidao.baidu.com/link?url=rFBh95J8tH1MnmB64is-3kiryYj2_75XADG15FT6O-IvVUoy_ VY9RM4WMUM0ZOOELVQZLZPXWMATEBPQV_Z1FACTRL + Z
1, cd command This is a very basic, is also a common need to use the command, it is used to switch the current directory, its parameters are to switch to the path of the directory, can be an absolute path, can also be a relative path. Such as:[Plain]
1, cd command This is a very basic, is also a common need to use the command, it is used to switch the current directory, its parameters are to switch to the path of the directory, can be an absolute path, can also be a relative path. Such as:
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.