disk Partitions in Linux represent:such as:/dev/hda5:/dev/directory is the storage of hardware device files,HDrepresentsIDEEquipment,SDrepresentsSCSIEquipment,aindicates the sequential number of the hard disk, that is, the first hard disk isa, the
1. file Directory Operations Command LS display file and directory list -L list File details-a lists all files in the current directory, including hidden filesmkdir Creating a directory-P Parent directory does not exist in case of Mister into parent
Common Linux CommandsFormat: Command name option parameterLS-ALH Files/Directories--all#ls Show current directory contents#ls-L Display file details#ls-hl H Common units display file size K M G#ls-a show all files (including hidden
Ifconfig View IP AddressRestart the NIC serviceService Network restartNotes 1. After logging into Linux via Remote Tools, the location is the home directory of the currently logged in user. 2. The symbol for the home directory is represented by ~.
shortcut Keys
function
Tab
Auto-complete
Ctrl+a
Move cursor to start position
Ctrl+e
Cursor moves to the very end
Ctrl+k
Delete all content from here to the end
1. Creation of processesThere are four types of functions that create sub-processes under Linux: System (), fork (), exec* (), Popen ()1.1. System functionsPrototype: #include int system (const char *string); The system function executes the
# CD-Go to last access directorySecond, the History command search operation shortcut key:[Ctrl + R], [Ctrl + P], [Ctrl + N]In the terminal, press the [Ctrl] key while the [R] key, there is a hint: (Reverse-i-search),At this point you try to enter
First, experimental hours: 2 hours second, the purpose of the experimentV is familiar with the Redhat_linux user interface and makes common system settings.V Master the Common shell commands.Third, the experimental environmentV A computer running an
text Mode– Linux also inherits the traditional command-line-based text user environment of UNIX systems, allowing users to perform their work in an efficient environment at the command line. –linux Most of the work is done through console
Because all of the new company's applications are deployed to the Linux server, and then the boss asked us every yard must understand a bit of Linux system knowledge, and has never been exposed to the Linux system, but do not want to lag behind
1. Man helps explain commands you are familiar with or unfamiliar withEg:man ls to view LS-related usageNote: Press the Q key or CTRL + C to exit, under Linux you can use CTRL + C to terminate the current program run.2. LS View the directory or file
Part1: IntroductionOpen source software: 1, Apache software, website services to build soft2.nginx, less resources are used to occupy the server. - 3.mysql,php,linux common site architecture platform. Linux application areas:
linux–1– simple command from zero single rowPosted In:linuxSingle row linux–1 from zeroA simple Linux command:1. Forget root password:Press any key when reading seconds to enter –e–↓ Select the second –e–1–b– command: passwd carriage return – Enter
Features of the 1.bashShell programming in Linux is a common task, and it is necessary to familiarize yourself with the features of bash.Yesterday spent a day, on the characteristics of the Bash learning Summary, found that the past self, on the
Fully contained in: Conio.hCLRSCR: Console program Clear Screen! Cursor back to 1, 1 point void clrscr (void);Textbackground: Select a new text background color void textbackground (int newcolor);TextMode: Set the screen to text mode void TextMode
Control Desk
function
Windows & Linux
Mac
Move the mouse to the console
Ctrl+2
Ctrl+2
Console Clear Screen
Ctrl+l
Command+l
Move the mouse to the first line
Common tool connections Http://os.51cto.com/linuxman/Linux Chinese Men Http://rpmfind.net/linux/RPM/RPM Package Download ================================================================= Bash shortcut keys Ctrl+l Clear Screen CTRL + C Ctrl+u the
1. After logging into Linux via Remote Tools, the location is the home directory of the currently logged in user. 2. The symbol for the home directory is represented by ~. The 3.linux file system is a tree structure. The root of the Linux file
1. Man helps explain commands you are familiar with or unfamiliar withEg:man ls to view LS-related usageNote: Press the Q key or CTRL + C to exit, under Linux you can use CTRL + C to terminate the current program run.2. LS View the directory or file
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.