Command Xiaoming refers to zookeeperPasswd Change User PasswordPwd print Current DirectoryCd change DirectoryLs to list files in the directoryWildcards wildcard * matches any number of charactersWildcard? Match a single characterType of the file to be printedCat display file contentPr display file contentPg page displays the file content on one page at a timeMore display file content on one page at a timeClear Screen ContentCp copyChown Modify file ow
-1352) SIGRTMAX-12 53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-956) SIGRTMAX-8 57) SIGRTMAX-7 58) SIGRTMAX-6 59) SIGRTMAX-560) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2 63) SIGRTMAX-164) SIGRTMAX
List, numbered 1 ~ The 31 signal is a traditional Unix-supported signal, which is an unreliable signal (non-real-time) numbered 32 ~ The 63 signal was expanded later, called a reliable signal (real-time signa
) return "/";4. Note how to get the elements between the delimiters "/" and do the operation, we traverse through the path.while (I 5. First get the element of the queue header, then Pop_front (), convert to normal path.while (!stk.empty ()) { ret + = "/" + Stk.front (); Stk.pop_front (); }complexity: O (n) space is also O (n), stack sizeAC Code:Class Solution {public:string Simplifypath (string path) {if (path.size () = = 0) return ""; ListT
records specified by fsr. The number of records that the bsr returns. Fss (SCSI tapes) advances the specified setmarks. The setmarks specified after the bss (SCSI tapes) operation.
Basic BACKUP command
Let's take a look at the backup and recovery commands.
9: Backup Directory (in tar format)
tar cvf /dev/rmt/0n /etctar cvf /dev/st0 /etc
10: Restore directory (in tar format)
tar xvf /dev/rmt/0n -C /path/to/restoretar xvf /dev/st0 -C /tmp
11:
I. INTRODUCTION
Unix system, as a powerful multi-user time-sharing operating system, has been applied in more and more occasions, and the requirements of UNIX system management are more and more, but the current Books on UNIX system management commands are not many. This article is primarily for
tapes) backs up the specified setmarks.Basic Backup CommandsLet's take a look at the backup and restore commands.9: Backup directory (tar format)Tar Cvf/dev/rmt/0n/etctar cvf/dev/st0/etc10: Recovery directory (tar format)Tar xvf/dev/rmt/0n-c/path/to/restoretar xvf/dev/st0-c/tmp11: List or check the tape contents (tar format)Mt-f/dev/st0 Rewind; DD if=/dev/st0 of=-### tar format # # #tar TVF {DEVICE} {Direc
current priority;
Uname,Output a set of system information. If no parameter is added, only the kernel name is displayed;
Setfacl,Sets the File Access Control List;
Tee,Redirects standard input to a file or standard output;
Mc,Midnight Commander (MC) is a "Swiss Army Knife" in the Linux console and other terminal environments. It is a very convenient File Manager, which is equivalent to the Total Commander in Windows.
Beep or "echo-e '\ a'>/dev/c
./dev/esa0:freebsd a specific SCSI tape device name, which pops up when it is turned off (if available).Tape Device Name Example/DEV/RMT/1CN indicates that Unity 1 is being used, compression density, no rewind./DEV/RMT/0HB indicates that unity 0, high density, BSD behavior is being used.Auto-Rewind SCSI tape device name on Linux:/dev/st0Non-inverted SCSI tape device name on Linux:/dev/nst0Auto-Rewind SCSI tape device on FreeBSD name:/dev/sa0Non-inverted SCSI tape device name on FreeBSD:/dev/nsa0
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
Article Title: List is used as a loop in Unix. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
When developing applications in Unix operating systems, loop statements can be said to account for half of the total. Because the
specified, the system uses makefile or Makefile in the current directory as the description file by default. In Linux, the GNU make tool searches for makefile files in the current working directory in the order of GNUmakefile, Makefile, and makefile.
-I ignore the error message returned by the command execution.-S silence mode. No command line information is output before execution.-R prohibits the use of build-in rules.-N: in non-execution mode, all execution
count incorrectly. To achieve this goal, we can use several related commands.
First Command: file LIST Command ls.
In the Window system, you can use the dir command to display the folder and file information under a specific directory. In fact, there are similar commands in Unix systems, such as ls file
. 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
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
3. Accumulated Linux/UNIX operation commands (gzip, jar, tar, find, crontab) and gzipcrontab
In Linux/UNIX, users often use text interfaces to set up systems or operating systems. The author is constantly working on these commands, therefore, this article has been specially developed, prepared, and started. This articl
In unix and linux, the chmod command is used to change the permissions of files and directories. This is a must for unix and linux users to be familiar with many
In unix and linux, the chmod command is used to change the permissions of files and directories. This is one of the many basic commands that
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
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
argument is "-", then the description file points to standard input. If there is no "-f" argument, the system will default to the current directory named makefile or file named makefile as the description file. In Linux, the GNU make tool searches for makefile files in the current working directory in the order of Gnumakefile, Makefile, and makefile.
-I ignores error messages returned by command execution.-s silent mode, do not output the corresponding command-line information before execution.
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.