Linux Study Notes (7) common Linux commands: compression and decompression commands, learning notes compression and decompression(1) gzip
The gzip command is used to compress files. The original English meaning is GNU zip. The path is/bin/gzip. The syntax format is as follows:
Gzip [file]
The file format is .gz.
For ex
Linux File Management commands and linux commands
Directory management:
Ls cd pwd mkdir rmdir tree
File Management:
Touch stat file rm cp mv nano
Date and Time:
Date clock hwclock cal
View text:
Cat tac more less head tail
Cat: connect and display (multiple files can be connected)
Split-screen display:
More, less
Mor
Common linux commands and common linux commands
1. Change the group to which the chgrp belongs:
For example, change the group of install. log to users.
chgrp users install.log
ls –l
View results: root users 68495 25 install. log
Owner Group
2. chown changes the owner
For example, change the owner of the
002day -- common linux commands and common linux commands
Exit terminal command: exit
Command to disable Linux: init 0
How to switch the virtual terminal: Ctrl + Alt + F [1 ~ 6]
Who command: check how many terminals are open
Whoami command: Get the current user name
Da
Common Linux commands (16) and common linux commands
The whereis command can only be used for searching program names (where is the program installed ?), Only binary files (parameter-B), man description files (parameter-m), and source code files (parameter-s) are searched ). If the parameter is omitted, all information
Common Linux commands (10) and common Linux commands (
The nl command is used in linux to calculate the row number in the file. Nl can automatically add the row number to the output file content! The default result is a little different from cat-n. nl can compare multiple di
Network Communication commands (relatively simple): 1. writeusrbinwritewrite [user name] is used to send information to the user, provided that the user has logged on to the server host, otherwise, therefore, write is a real-time communication tool
Network Communication commands (relatively simple ):
1. write/usr/bin/write
Write [user name]
Used to send information to a user, provided that the user has logg
1. man [manual]: usrbinman gets help documents from commands or configuration files, view the help man [command or configuration file] of the command first. the moreegmanls command is called to view the help information of the ls command. manservices: view the help information of the configuration file services.
1. man [manual]:/usr/bin/man
Obtain the command orConfiguration fileTo view the help documentation of the command first.
Man [command or conf
Basic Linux commands and Linux commands
[Epeter @ localhost ~] $
Where: epeter is the user name; localhost is the current host name ;~ The broken wave number indicates that the current user directory is used (If yes, the slash indicates that the current root directory is used ); $ indicates that you are currently logge
Common Linux Network commands and linux commands
1. tracepath
Tracepath traces the network path of the specified destination address and provides each hop on the path ). If your network is faulty or slow, tracepath can find out where the network is broken or slow.
Command Format:
Traceroute [-dFlnrvx] [-f
Command para
Several common Linux commands and common Linux commands
Ls
Purpose: view files in the directory
Format: directly view the current directory by ls, or the ls parameter/directory name.
Parameter:-l View Details
-A: Show Hidden Files
. Indicates the current directory
.. Parent directory
-G: Mark different types of files w
Summary of common Linux commands (5) disk management and common linux commands
Disk Management
Command
Option
Annotation
Example
Df
[Option]
Display disk space usage
Displays the disk space as an employee, in MB: df-M
-I
Display Results Using i
View the summary of system load-related commands in Linux, and view load commands in linux
How to check whether the system is loaded
W: View the overall load command of the system. It mainly focuses on the load average value, indicating the average load value of the system within 1 minute, 5, and 15 respectively. Gener
Linux Security Basics: network configuration commands and linux basic configuration commands
1. ifconfig view and configure network interface information(1) set an IP addressIfconfig eth0 192.168.0.1(2) temporarily disable or enable the NICIfconfig eth0 downIfconfig eth0 up(3) set the subnet maskIfconfig eth0 netmask 2
Linux MySql commands and Linux MySql commands
1. Install the MySql server command:Yum install mysql-server
Yum install mysql-devel
2. Install the MySql client
Yum install mysql
3. Start the service
Service mysqld start or/etc/init. d/mysqld start
Stop:Service mysqld stop
Restart:Service mysqld restart
4. Creat
Common commands in linux: 1. Common commands in linux
Man help document
Usage method: man command name, such as man; simple view method: command name -- help
Or help command name
Ls list folder content
Tree View directory structure
Cd switch directory
Pwd View Current Directory
Cp Replication
Move music videos
Common Linux commands (30) and common linux commands
The cal command can be used to display calendars in the Gregorian calendar. The Gregorian calendar is an international calendar, also known as the Gregorian calendar. The "Gregorian Calendar", also known as the "solar calendar", is a year when the earth is traveling
Common Linux commands (24) and common linux commands
Chown changes the owner of a specified file to a specified user or group. The user can be the user name or user ID, and the group can be the group name or group ID; files are separated by spaces to change the permission list. Wildcards are supported. The system admin
Common Linux commands (13) and common linux commands
The head and tail are just as easy to understand as their names. They are used to display a certain number of text blocks at the beginning or end, and the head is used to display the beginning of the file to the standard output, and tail takes it for granted that it
Tcpdump for linux commands and tcpdump for linux commands
Tcpdump can completely intercept the "Header" of the packets transmitted in the network for analysis. It supports filtering at the network layer, protocol, host, network, or port. And provides logical statements such as and, or, and not to delete and select usel
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.