Since the project project is using a Linux server, more Linux commands are used to record the commands commonly used in CentOS.1. Three modes of VIM2, decompression related3. User-related4. File related5. Various view commands1. Three modes of VIMVI
Linux Basic commands-----------------Catalog Section-------------------"PWD" Displays the absolute directory where you are currently located"CD" Switch directoryCD-Show previous working directoryCD ~ Show current user's home directoryCd. Show
Basic command:Format: command [-options] [parameters]such as: ls-l/etc-rw-r--r--File type Owner Permissions group permissions other people permissions-:-BinaryCatalog DL LinkRWX: Read and write executionls: Show directory file-A All Files-L verbose
Recently learning Linux, the teacher class said the estimated class is forgotten, is now ready to prepare for a rainy days.Ps1=x//Modify the terminal promptsu root//switch user ssh [email protected]192.168.116.129//Encrypt remote connectionYum-y
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
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
PWD Displays the current directoryTouch to create a blank file or to update the time of an existing file. The file that starts with is a hidden fileListing Directory ContentsLs-a Show all files including hidden filesLs-r Show DetailsLS-R display the
There are too many related commands in Linux, and there are many different options for using each command, just to introduce the simplest and most basic usage, and actually encounter problems to find specific uses.1.cdSwitch directories such as
Note: The second week of work, please organize the following topics in the 51cto blog, after completion, please submit the corresponding post link address in the answer bar, the submission format is as follows:School Number + name + Post link
LsCommand name: LSCommand English original: listCommand path:/bin/lsExecute Permissions: All UsersFunction Description: Display directory fileLS (displays the file in the current directory)LS directory name (displays files in the specified directory)
Link concept:is divided into soft links and hard links, the file type is LHard Link: ln source file Destination fileSoft Link: ln-s source file Destination file (destination file cannot exist beforehand)Ln-s/root//tmp/root # Create a soft link to
FileRole: View the type of fileCommon options:-B does not display file names when listing file identification results-F list file type of file name (equivalent to write file or directory location in a file, bulk view, after F to follow the
Linux Installation======================================================Install VMware10.Configuring the Installation Ubuntu-12.04.2-desktop-i386.isoSet up logged in userGeneral operations======================================================Enter
1.su, switch to root user2.rpm-i/home/mysql\mysql-client-advanced-5.6.24-1.el7.x86_64.rpm (path), installing the Software3.RPM-E mysql-client-advanced-5.6.24-1.el7.x86_64 (software name), uninstalling the softwareRpm-e--nodeps MySQL forcibly
Said in front of the words:This article is presented in the form of notes, then its content will also have an updated process.1. Create a directory:mkdir dirName2. Delete an empty directory: rmdir [-p] dirName3. Delete a non-empty directory:rm-rf
1 pwd Print the current directory location2 mkdir Creating a directory-p recursion to create a parent directory that does not exist-M setting property permissions for a directoryMkdir-m 777 Testa # Create a testa directory with 777 permissions3
1.linux Open Terminal, two of the simplest methods, the first, direct ctrl+alt+t; second, alt+f2, input gnome-terminal; more complex is not recommended.2.linux There is no concept of the drive letter, only the path, divided into relative path and
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.