Unix operating commands
Pan lei, Institute of Theoretical Physics, Chinese Emy of Sciences
Chapter 1 logon and exit
Before you log on, you must first apply for a user registration name from the system administrator. No matter which computer the user logs on to itpnet, the user will access the same file system. 1.1 When a login prompt appears on the screen, you can enter your User Registration
under the use of Linux/unix, often using the text interface to set up the system or operating system, the author himself in the process of work is also in constant contact with this command, so for This special brewing, preparation, began the writing of this article. This paper mainly records some of their usual linux/unix under the operation of commands, record
as the input of another command, you can use the pipeline symbol |. The following shows that the echo output is used as the input of sort using the pipeline.
[root@localhost ~]# echo -e "apple\npear\nbanana" | sortapplebananapear[root@localhost ~]#
Each command may have options or parameters. You can also use | to output the second command as the input of the Third Command, and so on. It is a common method in Linux/Unix to build a long command pipel
Watch: regularly repeat Linux/Unix Commands
The server administrator must maintain the system and maintain updates and security. Run a large number of commands every day. Some system processes record logs. These logs are constantly updated. To check for these updates, you must execute the command again. For example, to read a log file, you need to use
Two days ago, the "some little-known but interesting Unix/Linux commands" series were released.Article, Received praise from some friends. (I wanted to write "a lot of friends", but I thought Linux was really a small crowd, so brother D would not be forced! Haha) D. Will make persistent efforts. The links to the first two articles are as follows:
Some little-known but interesting
When using a git command that can has a large amount of output (like git log , git diff or git blame ), Git opens the command outpu T in our terminal "pager"; On most modern unix-based systems, the default pager would be ' less '. Learning a few less commands would help us deal with this git command output that opens in the pager. In this lesson, we show some of the very useful of the less
Grep command series: How to Use grep commands in Linux/UNIX
How can I use the grep command in Linux, Apple OS X, and other UNIX-like systems? Can you give me some simple examples?
The grep command is used to search for text, or to search for a file containing a given string or word in a row from a given file. In general, grep displays the matched rows. Use grep t
UNIX linux vi command 1. vi file editing commands have special characteristics, including editing mode and command mode (inconsistent with unix commands, such as ll and who). Therefore, when editing files under Vi commands, it is often necessary to switch various command mod
Classified communication of some LinuxUnix commands: ftp file transfer protocol login logs on to Unixmailx to read or send emails to rlogi
Summarizes the usage of some Linux/Unix commands.
Communication:
Ftp file transfer protocol
Login logs on to Unix
Mailx reads or sends emails
Rlogin logs on to remote
. Compare the command with the comm and uniq commands.
Dir
Purpose: Dir is used to list the contents of directories on some platforms.
For example, Dir (DIR has the same functions as LS, but it has fewer options. DIR is not suitable for all UNIX systems ).
Du
Purpose: Report disk usage by Du.
Example: Du. The following is the list output after the du command is executed.
Echo
Purpose: ECHO is used to displa
1.Xcode Operating principle
When we click Run, Xcode automatically does the following things for us:
Compile--->.o (target file)---> Links--->.out execution
2. Common UNIX Commands
Mac system uses UNIX file system, all files are placed in the root directory/below, so there is no concept of windows in the C-drive, D-Disk
Becau
Today, let's learn about Common Unix shell commands. We all know that Unix shell is not only a user interaction interface, but alsoProgramDesign Language: when the system registers, it will execute a Unix shell command file. profile, which will give a brief introduction to Common c
all connections on an application that supports SOCKET proxy to a remote machine. This is useful for more secure use of public wifi to browse networks and bypass strict firewalls.
5. Enter the password on the local machine once, and then use the ssh key proxy to log on to other remote machines with a security identity without entering your password again.
For more information, see the ssh manual page.
5. mdfind
The unique commands on this mac, of co
name. So if you also encounter this error, please check that the user name, group name, and other settings are correct.After uploading, you will see committed revision 1. The words, the upload was successful. Congratulations to you here. But don't take it easy on your guard and let the other members test their read and write permissions. Please try it for a reference. Here are a few more you need to test I do not one to do.Test 2: Download code from server side to client local(Pending completio
Unix has been used for some time. However, I still ignore some commands. I hope I can find these commands several years ago. LearningUNIX Process CommunicationTutorial.
1. Man ASCII
This command prints the ASCII code table of octal, hexadecimal, and decimal. I couldn't believe that I knew the command a month ago. I always use Google to query ASCII code tables. Th
Commands for interchange of date, time, and Unix timestamps in Linux Command lines
At work, you often need to get the current Unix timestamp or convert the given timestamp to a date format that we can recognize, on the linux Command Line terminal, you can easily solve the problem by using several commands.
1. convert a
experiment 3:unix/linux permissions and file management commands
1. Experimental purposes
Unix/linux permissions and file management commands;
The use of Unix/linux file system;
Other commands related to file system administrati
under the use of Linux/unix, often use the text interface to set up the system or operating system, the author himself in the process of work is also constantly in touch with this command, so for This special brewing, preparation, began the writing of this article.This paper mainly records some of their usual linux/unix under the operation of commands, record an
Functions of Unix/Linuxsync commands
Write cache command -- sync
After the unix system is started with the reboot command, the system prompts an error message, and some applications cannot work normally. After carefully checking the system files and comparing them with the initial correct backup, we found that some files were indeed damaged and we could not fin
between files and devices
File: Determine the type of a document
Stat: View file status
TAC: Output The file contents from the last line, and the cat output is the opposite
Shuf: Random selection of data on a file by row
Comm: Compare an ordered file by row
HD and BVI: Output or edit binary files
Strings: Viewing the contents of a binary file
TR: Character translation or manipulation of characters
Iconv or Uconv: converting encoded strings
Split and Csplit: Partitioning 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.