First, the user1 su Switch User2 Su-with slash indicates permission to replace User configuration informationSecond, network card1 Ps-efPs-ef|grep sshd to see if the SSH service is started (process number PID)2 kill-9 Lorekill-9 pid forced stop SSH
1.Vmstat is an abbreviation for virtual meomory Statistics (dummy memory statistics) that monitors the operating system's virtual memory, process, IO read-write, CPU activity, and so on. It is the overall situation of the system statistics, the
1.findFind is the most common and powerful lookup command. It can be found in real-time, accurate search, but slow.Find uses the following format:#find [Specify directory] [specify condition] [Specify action]Specify directory: Refers to the
L/home: your home directory is in linux. every common user has his/home name and user name. 1. installation of Linux
Install a virtual machine in the XP system:
1. first install the virtual machine
Green edition
2. open the vmware.exe file
Open the
This afternoon, I accidentally found my computer infected with a backdoor.
Program Viruses and viruses cannot be cleared several times, that is, anti-virus in security mode is powerless. Each time, several viruses can be detected, which are mainly
Find is a linux Command that lists the files in the file system that match the expression. You can specify a combination of different commands, such as the name, category, time, size, and permission of the file, only those that are exactly the same
Enter the system terminal, we will see such characters: [[email protected] ~]#, where # represents the current root user login, if the $ represents the current user for the average.Learn the first Linux command first:cd command, Cd/home; parse:
Command history# Cat/root/.bash_history//place where historical commands are stored# History//View the number of command histories# echo $HISTSIZE//View the number of bars that can be saved# Vim/etc/profile//Change the value of variable histsize
Task: Mount the disc file to the/media directory, go to the packages directory under the/media directory, view all RPM packages installed on the system, see if the system is installing the DHCP package, install the DHCP package, view the DHCP
1.Linux IntroductionLinux is a free and open-source operating system with many different versions of Linux, but they all use the Linux kernel. Linux can be installed in a variety of computer hardware devices, such as mobile phones, tablets, routers,
Linux Command Basics. Experimental objectivesSkilled basic commands. Experimental steps
Linux Command line Basics
[[email protected] ~]# ls//View list target content[[email protected] ~]# ls-l//display in long format[[email protected] ~
#目录与文件操作 pwd LS CD mkdir CP MV RM file/*{{{*/I. PWD Displays the absolute path (the path represented by/to the start) of the current working directoryEg:pwd#选项-P Show link file pathTwo. LS Display directory files and directoriesCan take parameters,
1. Internal command: Echo
To view the internal command assistance: help Echo or man echo
2. External command: LS
View external command help: LS--help or man ls or info ls
Type of 3.man document (1~9)
Man 7 Mans
Mans 5 passwd
4. Shortcut
1 Terminal window Operation
You can only use the keyboard in the terminal window, you cannot use the mouseThe command default action in the Terminal window is the current directory, where the current directory refers to the directory directly
Shell IntroductionThe shell is a command interpreter that provides interaction between the user and the machineFor example, we have remote login tool, it is actually a shellThe CentOS default shell is bash (Bourne Agin Shell)·Command historyHistory
#文件夹与文件操作 pwd LS CD mkdir CP MV RM file/*{{{*/I. PWD displays the absolute path of the current working folder (the path represented by/to the starting point)Eg:pwd#选项-P Show link file pathTwo. ls display folder under Files and foldersAbility to take
LS: Lists the files and subdirectories under the current directory.1. Command format ls [ options] [directory name] 2. Command function view files and subdirectories in the current directory3. Command parameters- A: Lists all files and
CD command, Cd/home; parse: Enter/home directoryCd/root enter the/root directory; CD. /return to the previous level directory;/current directory; and the .. can be understood as relative path, e.g. Cd/hom/test, CD plus complete path, can be
Rpm-q GCC See if the C language compiler is installedIn the browser input: http://mirror.bit.edu.cn/apache/httpd/Download 2.2.29 This packageCD ~ back to the root directory ls view all files in the current directoryTAR-XJF httpd-2.2. tar.bz2 Unzip
One, ls command usage:ls List all files under current directory /home list all files in/home directorySecond, ls command parameters -a View all files (including hidden files) -d lists the directory itself instead of files within the
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.