Cat display fileMore: Display files. Pause after each screen is displayed.PG pagination commandAfter running this command, a prompt is displayed at the bottom of the screen. You can enter the command,+N forward n screens-N back n screens+NL advances
To connect qtpwith testdirector8.0, I installed the tdpluginssetup.exe plug-in. I didn't expect it to be incompatible with VSS. When VSS is started, an error prompt box is displayed, saying "Microsoft Windows User Shell has a problem and is about to
From: http:// OS .51cto.com/art/200912/165922.htm
Write a script to check whether a file exists. If so, output its details. If not, the system prompts that the output file does not exist. Before providing this script, let's take a look at the
A few days ago, I sent a redirection and pipeline-related usage method. Here are some interesting examples. Implement TCP/UDP-based software communication through redirection.
The Linux device contains a special file:
/Dev/[TCP |
Eclipse on Mac often needs to manually close the Java Process, which is a little troublesome. Write a simple shell in. bash_profile and use the port number to close the process.Lsof-Ti: 9001.Then $ source. bash_profile can use the killps command.
Term: freexploit
Author: allyesno
Date: 2005-06-21
Codz:
@ Echo off: Ncfoever 1.0 bulid by allyesno: Can be used to capture TCP port data packetsCLS:/* Parameter judgment and usage instructions */Set COUNT = 1If/I "% 1" = "-Look" Goto
Standard InputThe standard input is the file descriptor 0. It is the command input. The default input is the keyboard, or file or other command output.
Standard outputThe standard output is the file descriptor. 1. It is the command output. The
[Reserved] common usage of typeset
Http://www.chinaunix.net Author: lonely fire published in: 09:50:34
[Comment] [View Original] [Shell discussion area] [close]
Typeset can be
Point (.) command
The dot (.) command is an internal shell command that allows you to execute programs in the current shell without creating sub-processes.
Note
# Shell script annotator
Redirection character
> Usage: Command> filename. You can save
Do not add the parameter-V. Otherwise, you will test it on Linux.
VI autoftp. Sh
The content is as follows:
FTP-n-v-I
Linux Command (used to set file permissions) umask
022
The preceding command indicates that the umask value in Linux is 022.
Features required last time ~ The problem can be solved only by asking for advice on csdn ~ Hey hey ~
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#! /Bin/sh
Voicedir = "/var/www/html /"
Object pipeline is a convenient feature of PS. One of the main advantages of using an object is that it enables the use of pipeline transmission commands (that is, it is much easier to pass the output of a command as input to another command.
Because the parameters following the kill command in the adb shell are pid, ps all applications first:Adb is in shell
Root @ android:/# ps
USER PID PPID VSIZE RSS WCHAN PC NAMERoot 1 0 676 528 c0159a18 000102f4 S/initRoot 2 0 0 0 c00741c8 00000000 S
Redirection
File Code: 0, 1, 2 ,... output
Most of the conversion semantics cannot be used independently and must be used together with the Bash command.
Operation file:
Fd <> FileFd file code, available for reading and writing
Fd Close input
Process management and work control
Use of ps, top, and htop commands
Transmit signal
You can use the kill command to manage the signal sent by the process. The basic principle for managing processes is
1. First, send a signal to the process so that
Linux ShellStrong Regular ExpressionsGrep
Linux grep commandUse 'grep' to search for text filesIf you want to find a string in several text files, you can use the 'grep' command. 'Grep' searches for the specified string in the text.Suppose you are
I. Shell VariablesIt mainly includes local variables and environment variables.
1. Local variable -- Used in the script currently running by the user1)Define local variablesFormat: variable-name = valueExample: [root @ jike1/root] # LOCALTEST =
History display command history list
← (Ctrl + p) display the previous command
Hide (Ctrl + n) display the next command
! Num: The num command in the History list.
!! Run the previous command
!? String? Execute the latest command containing string
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service