Network communication commands1. Send a message to a user: write Command name: Write English Original: command path:/usr/bin/write Execute permissions: All user syntax: Wirte 2. Send broadcast message to all users: Wall Command name: Wall English Original: Write all command path:/usr/bin/wall Execute permissions: All user syntax: Wirte 3. Test network connectivity: Ping Command name: Ping English Original: Write all command path:/usr/sbin/ping Execute permissions: Root syntax: Ping option IP a
Linux
Backup and compression commands
TarCommand
Tar can create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar was originally used to create files on tape. Now, you can create files, such as floppy disks, on any device. Using the tar command, you can package a large number of files and directories in
, ping, netstat, telnet, FTP, route, rlogin, RCP, finger, mail, and NSLookup;
◆ System security related commands: passwd, Su, umask, chgrp, chmod, chown, chattr, sudo ps, WHO;
◆ Other commands: Tar, unzip, gunzip, unarj, mtools, man, unendcode, and uudecode.
This document uses Mandrake Linux 9.1 (kenrel 2.4.21) as an example to introduce the installation and logo
Common linux shutdown and restart commands and linux restart commands1. shutdown
Shut down after all services are closed
-C: cancel the previous shutdown command.
-H: Shutdown
-R: restart
-K: sends a shutdown reminder to all users, but does not shut down
# Cancel shutdown command shutdown-c # immediately shut down (now) shutdown-h now # shutdown at # shutdo
Linux vi Common commands and linux vi commandsI. move the cursorJ. Move a row down;K. Move a row up;H: move one character to the left;L move one character to the right;Ctrl + B Move the screen up;Ctrl + f move one screen down;$ Move to the end of the row;Move gg to the beginning of the document;Move GG to the end of the document;0 is moved to the beginning of the
enter the logon interface.
Last
1. Role
The last command is used to display the logon status of recent users or terminals. its permission is granted to all users. Pass the last lifeTo view the log of the program, the administrator can know who has or attempted to connect to the system.
2. Format
1ast [-n] [-f file] [-t tty] [-h node] [-I-IP] [-1] [-y] [1D]3. main parameters
-N: number of output records.
-F file: specifies that the file is used as the log file for query.
-T tty: only the logon s
In the previous sections, we have divided Linux commands into several parts based on their functions in the system. However, there are still some commands that are difficult to classify, but learning them is the same
In the previous sections, we have divided Linux commands i
Linux commands-common file operation commands
Original works of Lin bingwen Evankaka. Reprinted please indicate the source http://blog.csdn.net/evankaka
Abstract: This article focuses on Linux commands-common file operation commands
http://blog.csdn.net/pipisorry/article/details/44681081Little TricksDirect view of Linux shell commands and explanations in the command lineMans commandHelp commands for better use under Linux-cheat#pip Install cheat$cheat Tar[better use of Linux help command-cheat]Copy, pas
, and NSLookup;
◆ System security related commands: passwd, Su, umask, chgrp, chmod, chown, chattr, sudo ps, WHO;
◆ Other commands: Tar, unzip, gunzip, unarj, mtools, man, unendcode, and uudecode.
This document uses Mandrake Linux 9.1 (kenrel 2.4.21) as an example to introduce the installation and logon commands
-cache showpkg pkgs--Displays package information.Apt-cache dumpavail--Print the list of available packages.Apt-cache Show pkgs--shows the package record, similar to Dpkg–print-avail.Apt-cache pkgnames--The name of all packages in the print packages list.Dpkg-s file--This file belongs to which installed package.Dpkg-l package--lists all the files in the package.Apt-file Search filename--finds packages that contain specific files (not necessarily installed) that contain the specified string in th
more suitable for installation and uninstallation.Apt-cache showpkg pkgs--Displays package information.Apt-cache dumpavail--Print the list of available packages.Apt-cache Show pkgs--shows the package record, similar to Dpkg–print-avail.Apt-cache pkgnames--The name of all packages in the print packages list.Dpkg-s file--This file belongs to which installed package.Dpkg-l package--lists all the files in the package.Apt-file Search filename--finds packages that contain specific files (not necessar
Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external c
Php executes External commands in linux and phplinux External commands
Directory:1. Introduction to calling external commands in PHPIi. Security IssuesIii. TimeoutIv. Problems with running commands in the linux environment in PHP1
provides a function to find corrupted files. Run this command: rpm-Va. Linux will list all corrupted files for you. You can fix the issue through the Linux installation CD.
8. in Linux, there are many files, which we will inevitably encounter when using. in Windows, we can use the "Start/search" menu to quickly determine which folder a file belongs, in
Common Linux shell commands and shell commands
I. Basic commands
1. Shut down immediately and restart again. Execute the following command:
Shutdown-r now or reboot
2. Shut down immediately and execute the following command:
Shutdown-h now or poweroff
3. Wait for two minutes to shut down and restart again. Execute the
) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/A7/13/wKioL1ngVDmR7fCTAAHDdmb_m4k622.png "style=" float : none; "title=" Linux environment variable, CP command, MV Command, document view 740.png "alt=" Wkiol1ngvdmr7fctaahddmb_m4k622.png "/>when moving files to the target directory, the target directory will be placed in the target directory, which is the same as the CP command. some commands for do
Linux commands have internal commands and external commands, and internal commands are basically the same as external commands, but with subtle differences Internal Command : part of the shell programTypically, the shell is loade
Linux traditional network configuration command and ip advanced routing command-Linux Enterprise Application-Linux server application information, the following is a detailed description. Knowing how to configure network commands is a must-have technique for general technicians. After some time of research and study, I
Summary of common functions used to execute linux commands in PHP, and summary of phplinux commands
In general, php is rarely used to execute linux commands, but in special cases, you may use these functions. I used to know that there are two functions that can execute
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.