User Directoryis located /home/user , referred to as the user working directory or home directory, the means:/home/userLinuxMain Catalogue Quick Check table
/: root directory, only directory under the general root directory, under Linux there is
LS (list) command ls [ 选项 ] Options :-L: (long format) list displays the contents of the directory, showing permissions, time and other information-A: Displays information for all subdirectories and files-A: The function is basically the same as
Usage: CD [directory path]Transform working directory to make directory path, if [directory path] parameter is omitted to transform to user's home directory, where [directory path] can be absolute path or relative pathIn addition, "~" in Bash
1, Linux understanding2. File System3. Directory Structure4, RHEL7 basic Operation1, Linux understandingThe birth of Unix, January 1, 1970User--------> Kernel-------"Hardware? The name/version of the release is determined by the issuerSome common
Linux first week study notes (15)2.8. Creating and deleting catalogsmkdir Command (make directory shorthand ) : used to create a directorymkdir–p command: Cascading create multiple directoriesmkdir – PV command: Visualize cascading create multiple
1.pwd confirm the current directory2.CD Entering the catalogue3.CD/Enter the root directory4.ls View all files in the current directory5.ls-l Show details for all files6. cd. Go back to the top level directory7.LS-LH to personalize file size in file
I. Management of Catalogue Archives 1. Common commands for operating directories:(1) Absolute path and relative path:Absolute paths start with the root directory:/usr/local/java ("/" is the root directory, and the directory's entry)The relative path
Graphical interface and command interface switching># init 3//Switch to command interface># init 5//Switch to graphical interfaceView the executable file location for the instruction> which directiveDirect output file contents to Terminal> Cat
PWD Displays the current locationCD Jump DirectoryLS View contentCd.. /Return to Parent directoryLs-l ViewLsMans LSQ return. DMRCLs-all Show all files including hidden filescd/home/user/Desktop/a/b Path entryCD./switch to the current directorycd ^SU
1. View as Action directory location> pwd2. View the contents of the file in the (current) directoryLS//listLs-l or ll//show file detailsLs-al//all Show file details (including hidden files)LS-A//Show directory all file names (including hidden files)
1. Environment constructionBefore we start writing the first Java program, we need to do some simple preparatory work.1.1 Remember DOS?We can operate our computer through a graphical interface. But as a programmer, you first need to learn to use the
Today we will introduce the fourth command: mkdir. mkdir (Make directory creates a directory): Creates a directory if the specified directory does not exist. When you create a directory, you are asked to write permissions for the user who created
1.1 What is a shell? in computer science, Shell commonly known as Shell , used to distinguish from Kernel ( nucleus ), refers to the "User interface " software ( command parser ). It is similar to DOS command and later cmd.exe. It receives the
In the process of testing, you may encounter the need to go to the server to modify some of the configuration files, for example, a field value is 1 associated with the old version, is 0 associated with the new version, you may need to take the
Create command1. Create a Directorymkdir (make directory) directory name example: mkdir 123mkdir Directory name 1/directory Name 2 example: mkdir 123/456 (1 and 2 directories adjacent)2. Create a documentGedit Document name Example: Gedit 1.c3.
Common commands:W View logged in user (first behavior host load)Ifconfig-a View All Networksdhclient automatically get IP addressShutdown Command Init0 shutdown-h nowRestart command init 6 reboot shutdown-r nowLS parameter-a lists all files
Date Show System TimeClock: Show Hardware TimeHwclock–w: Write the system time to the hardwareHwclock–s: Write hardware time into the systemCal:calender(Calendar)printenv Display current environment variable informationMan HelpInternal command
1, Prophase--The situation is when we get Webshell, we want to leave our back door, this time we can use Msfpayload and msfconsole togetherStart PostgreSQL Service: Service PostgreSQL start start Metasploit Services: Service Metasploit start start
Absolute path: The path is written "must be from the root directory/write", for example:/usr/share/doc this directory.Relative path: The path is written "not by/written", for example, by/usr/share/doc to the bottom of/usr/share/man: CD. /manThe
Normal compilation installation/uninstallation:The installation of the source code generally consists of 3 steps:configuration (configure), compile (make), install ( make install)。 The Configure file is an executable script file that has many
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.