What are the shell specific commands in the Win7 system?
Shell:profile
The root directory of the currently logged-on user
Shell:usersfilesfolder
Same as Shell:profile
Shell:personal
The My Documents folder for the currently logged-on user
The comm command compares the data in each row of the two sorted files and displays their results, and if no arguments are specified, the Comm command reads the two files and then generates three columns of output:1> only the rows that appear in the
Manipulating the HBase database in the shell command line
Shell control
Enter the shell command line interface, execute the hbase command, and attach the SHELL keyword:
[Grid@hdnode3 ~]$ hbase shell
hbase shell; enter¨help¨for list of
There are shutdown, halt, reboot, Init for Linux down and restart systems, and their internal processes are different for them.
Another year, into 2010 years, in the last year maybe Microsoft grabbed the halo of Linux, but for the development of
Find the help process through the man:
[Chengmo@centos5 ~]$ Man-h...F:same as Whatis (1)...
#觉得比较奇怪, what is Whatis?
[Chengmo@centos5 ~]$ Mans Whatis#查询得到是:#whatis-search The Whatis database for complete words.#它是查询whatis数据库的工具
#The Whatis
The last article introduced the Linux to build the FTP server method, said the basic configuration of vsftpd, that is, anonymous and local, this time to configure the virtual user to use VSFTPD, the following is the specific steps:
First, establish
The meaning of "2>&1" in the Linux shell
Script:
nohup/mnt/nand3/h2000g >/dev/null 2>&1 &
For & 1 It is more accurate to say that the file descriptor is 1, and 1 generally represents stdout_fileno, which is actually a dup2 (2) call. He standard
Example:A is a local host (that is, a machine used to control other hosts);b is a remote host (that is, a controlled machine server), if IP is 192.168.60.110;Both A and B systems are Linux.
To run a command on a:# ssh-keygen-t RSA (three
Arithmetic operations are essential in any programming language, and the shell is no exception.
First, use Let, (()) and [] for arithmetic operations
You can use the normal variable assignment method to define a numeric value, which is that it
Most people will change it when they use Bash, because the default settings are really hard to use.
Refer to the following ~/.INPUTRC settings:
Copy Code code as follows:
# don't show hidden files in the list
Set Match-hidden-files off
The generated password and user input can accept duplicate numbers.So the relative general rule of guessing numbers may be much more difficult.
This version of the rule:
a--numbers are right, position is right.b--excludes the result of a, the
1. Preface
Time is very important to the operating system, from the kernel level to the application layer, the time expression and precision of the same. The Linux kernel uses a constant named Jiffes to compute the timestamp. Application layer has
1. Operator (let marker)
+ Addition-Subtraction* Multiplication/Division* * Power operation3 Let "z=5**3"% modulobash$ Expr 5% 3
2. The comparison character (note [] and the variable need Space "")
Integral type comparison character-eq equals,
Note: Do not plan to use root user directly to run Node.js service! This will lead to an unpredictable security issue!However, using port 80 as the HTTP default port is a habit that has lasted since the age of Ms. People on the Internet talk about
First, the method
Copy Code code as follows:
/**
* Execute a shell command and return the string value
*
* @param cmd
* An array of command names & parameters (for example: {"/system/bin/cat", "/proc/version"})
* @param workdirectory
The user uploads the picture, generally has not been compressed, causes the space to waste. So you need to write a program that looks up a picture file (jpg,gif,png) of directories and subdirectories, and compresses pictures that are larger than a
# # # #shell脚本基础 #####1. Basic ConceptsPurpose: Many instructions are assembled together, circulated, judgedformat: Name . SH (with color)operating Environment : #! /bin/bashRun File: 1>chmod +x file Direct plus absolute address to make file
Examples of find common usages in LinuxFind Path-option [-print] [-exec-ok command] {} \;The parameters of the Find command;The directory path that the Path:find command looks for. For example, use. To represent the current directory, and/to
The shell quotesin the the shell often uses single quotes, double quotes, back quotes ( keys above the Tab key in the keyboard), backslashes ( meaning of some Shell metacharacters). If we sometimes want the echo command to output a character that
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