Cursor Movement Instructions? Corresponding Direction key movementH Move left one character K move up one line J Move down a line L move a character right? Move by line unit0 move to beginning $ move to end of lineNG moves to Nth line G to the last
Sometimes we need to look at the network card traffic on the server in real time, here I write a shell script. The script uses a while true "dead loop", every 10s from "/proc/net/dev" to take a value and calculates the average bandwidth within 10s
How the Linux shell commands work:Linux is strictly speaking of an operating system, we call it "core (kernel)", but we generally users, cannot directly use kernel. Instead, it communicates with kernel through kernel's "shell" program, the so-called
I. Understanding rights and User management1. View PermissionsPermission Type:1, R read 2, W write 3, x executableLinux Users1. Owner (U) 2, owning Group (g) (All users of owner and owner Group) 3, other User (O) (all users of other groups
Shell: A weakly typed programming language
What is a weak type and what is a strong type?
Strongly typed: Variables must be declared beforehand and even initialized before they are used;
Weak type: variable time
What if the condition is judged in bash?
Condition test Type
Integer test
Character test
File test
Expressions for conditional tests
There are three kinds[ expression ] --方括号与表达式之间一定要有一个空格[[
One. HIVE StreamingIn hive, when you need to implement a function that is not possible with a function in hive, you can use streaming to implement it. The principle can be understood as: using language other than the HQL statement, such as Python,
FileZilla Unable to determine the target of the drag-and-drop operation because the shell is not properly installed __ workaroundAfter reloading the system and related software, using FileZilla to drag and drop files on the FTP file to the desktop,
There are accidents, suddenly, with FileZilla download files on the FTP to the desktop, the prompt " cannot determine the drag-and-drop operation target." Because the shell is not installed correctly "The solution is simple, just take the following
Linux Common commands:(LS: List directory contents)-a/-all list all files, including hidden files-L displays details using long format, including rwx(mkdir: Create directory)-p/-parents to create a directory where the upper-level directory is not
[-A file] is true if file exists.[-B file] True if file exists and is a block special file.[-C file] True if file exists and is a word special.[-D file] True if file exists and is a directory.[-E File] True if file exists.[-F file] True if file
Brief description:Prompts the user to enter two numbers;Determine whether the input content is a number;Numbers do calculations and feedback results;When the calculation is complete, ask the customer whether to continue using;Provides a way for
* As a wildcard character, you can represent multiple characters, such as *.txt? wildcard character, which represents only one such as. TXT a.txt# in the shell script, #放在行首, the bank does not take effect\ Caret, \ Revert special characters to
Recently seen in the group sent a calculation, using the shell run without optimization, no algorithmTopic:A basket of eggs:A 1 to take, just to finish.2 2 and 1 left.3 3 Take it, just take it out.4 4 and 1 left.5 5 and 4 left.6 6 and 3 left.7 7
1, Shell is the operating system Terminal command line(1) The shell can understand the command-line interface that the software system provides to the user, which can be said to be a way of human-computer interaction.(2) We can use the shell and the
Transferred from: http://www.cnblogs.com/nexiyi/p/hbase_shell.htmlTwo months ago used HBase, now the most basic commands are forgotten, leave a reference ~
Enter HBase Shell Console$HBASE _home/bin/hbase ShellIf you have Kerberos
First,shell variables1. There can be no space between the variable name and the assignment symbol.2. The first character must be a letter a~z or a~z.3. Using a defined variable, add ' $ ' before the variable name, such as:Myname= "Firefly"Echo
The server contains many engineering directories, SSH login, need to manually knock command, very troublesome, can establish automatic login script1, the server logon is the default directory in the creation of script files VI drivers.sh
A If statementif [expression]ThenElif[expression]ThenElseFiNote: There should be a space before and after expression;Then you can start another line, or you can go with the if peers, to add '; ' ;Two Case modeCase Value inMode
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