1. Command line daily shortcut keysThe following shortcuts are very useful and can greatly improve your productivity:
CTRL + U The content before the cursor is clipped
CTRL + K – to cut the cursor to the end of the line
CTRL + y – Paste
CTRL + e – Move cursor to end of line
CTRL + A – moves the cursor to the beginning of the line
ALT + F – jumps down a space
ALT + b – jumps back to the previous space
ALT + backspace– Delete the previous word
CTRL + W – cu
40 useful Mac OS X Shell scripts and terminal commands
There are a bunch of terminal commands under Mac OS x. I have classified these commands in a simple way. Many commands here are equally effective in other systems (Windows and
to recover, enter in the terminal$defaults Write Nsglobaldomain Appledisplayscalefactor 110. Change the landing backgroundEnter in the terminal$defaults Write/library/preferences/com.apple.loginwindow desktoppicture "/library/desktop%20pictures/nature/ Aurora.jpg "Inside the quotation marks is the picture pathUse of "three" FinkAlmost all of Fink's files are installed in/SW (or where you choose to install
Skills on five Linux terminal commandsGuideI personally use iron powder from the Gospel warriors of the new century. Therefore, I reference a line: "People are afraid of darkness, so they try to portray the outline of the flame ." For many new Linux users, the gloomy screen on the terminal is also dark-so people desperately use the GUI to replace it.
Although the graphical user interface represents the frie
The current system used to automatically start the terminal and run scripts or commands in Ubuntu is Ubuntu10.041. suppose the default directory of the current terminal is:/root; 2. go to the/home/wilson/directory and create the bash file. sh. the content is as follows: DatePwd gt; aaaa and the executable permission: chmod... the current system used to automatic
1. Ubuntu Configuration Environment anroid variable:
Execute sudo gedit/etc/profile at the terminal to open the text editor, and at the end append #set android Environment
2. Running eclipse, you also need to configure Java environment variables
#set Java Environment
JAVA_HOME=/HOME/LOGINNAME/JDK Directory Name
JRE_HOME=/HOME/LOGINNAME/JDK Directory name/jre
Export path= $JAVA _home/bin: $JRE _home/bin: $PATH
Export classpath= $JAVA _home/lib: $JRE _h
program you specified. You only need to press the corresponding shortcut key to start the program and so on. Just like we add a hotkey for the shortcut when using XP, gnome also has these features, setting is not difficult. First open the terminal and enter:
Gconf-Editor
Open "apps-> metacity-> keybinding commands" in sequence, and a total of 12 commands can be
with a letter# $/2t-entire directory structure including Hidden one# $2t-only Sub Dirs inside including Hidden one# $ *2t-only Sub Dirs inside without Hidden oneShow all the directories# $ ~2t-all Present Users on the system from "/etc/passwd"Show all the Users# $ $2t-all Sys variablesShow all system variables# $ @2t-entries from "/etc/hosts"# $ =2t-output like ls or dirListing directory filesThe following is a list of shortcut keys on the webOpen Main Menu = Alt + F1Run = Alt + F2Show Desktop
is suitable for managing embedded devices in Linux Through super terminals. If the connection is successful, I can see the files on the Development Board under minicom, or directly operate on the Development Board file under minicom, which is equivalent to the same operation on the Development Board. That is to say, minicom is a terminal of the Development Board. For example, if the connection is successful, you can see the Development Board file:
I
In git, as long as you have a hash code, you have everything. At any time, You can reset it to any historical state you want, no matter when the history is, maybe it's history relative to the current location, or maybe it's the future, you can all go, so you 'd better write your hash code on paper, which is the safest way.
For this reason, I expect to record all my operations and terminal outputs on the terminal
CTRL + A: Cursor back to the beginning of the command, or directly using the Home key (A:ahead)
Ctrl+e: Cursor back to the end of the command line, or use the end key directly (E:end)
CTRL+B: Cursor moves one character to the beginning of the line (b:backwards)
CTRL+F: Cursor moves one character to the end of the line (f:forwards)
Ctrl+w: Delete the character at the beginning of the cursor
Ctrl+k: Delete the character at the end of the line at the cursor
Ctrl+u: Delete entire command
In the previous article, we introduced five types of Linux terminal commands. I believe they will be useful. Here we will continue to introduce some other Linux terminal commands. You must be familiar with these terminal commands,
to erase Firefox, you can simply delete it without affecting any other settings on the system. The program installed in the/OPT directory, all of its data, library files, etc. are placed under the same directory.Usr/localThe main store is the software that is installed manually, that is, software that is not installed through "new" or apt-get. It has a similar directory structure to the/usr directory. Let the package Manager manage the/usr directory and put the custom script (scripts) under the
protected] ~]# date-s 12:00Friday, January 01, 2016 12:00:00 CST[Email protected] ~]# date +%f2016-01-01[Email protected] ~]# date +%y-%m-%d2016-01-01[Email protected] ~]# date +%h:%m12:01[Email protected] ~]# date +%t12:01:39[Email protected] ~]# date +%f%t%t2016-01-0112:02:20Linux See Help information1.-h2.--help viewing external command Help information3. Help view Internal command assistance information4.man View detailed Help informationFor example:[Email protected] ~]# shutdown--help[Emai
The current system used to automatically start the terminal and run scripts or commands in Ubuntu is: Ubuntu 10.04 1. assume that the default directory of the current terminal is:/root; 2. go to the/home/wilson/directory and create the bash file. sh: Date Pwd> aaaa with executable permissions: chmod + x aaaa; 3. in the termin
When you encounter a problem in your work, you need to take some of the qualifying data out of a collection and process some of the fields one at a line. MongoDB Terminal support directly write JS code, functions, you can also run JS file.1 first need to set MONGO Terminal Code Editor, do not set the words can only enter a line of code files, can not handle large
Entering shortcut commands in the terminal can improve productivity while keeping a few commands in mindHow to do:First edit in the ~/directory. Bash_profile This hidden file, if you want to directly double-click this file to open the editor, please enter it in the terminalMac Show hidden files command defaults write Com.apple.finder appleshowallfiles-bool trueAt
deny receiving of messagesMESG NKorn shell commandCommand nameFunction descriptionExamples of UseHistoryList several recently executed commands and numbersHistoryRRepeatedly executes a command that has been recently executedR-2AliasTo define an alias for a commandAlias Del=rm-iUnaliasTo cancel the definition of an aliasUnalias delOther commandsCommand nameFunction descriptionExamples of UseUnameDisplays information about the operating systemUname-aCl
1 command line daily shortcut keys:
CTRL + U-cut the content before the cursor
CTRL + K-cut the cursor to the end of the line
CTRL + Y-paste
CTRL + E-Move cursor to end of line
CTRL + A-Move the cursor to the beginning of the line
ALT + F-Jump down a space
ALT + B-jumps back to the previous space
ALT + Backspace-delete the previous word
CTRL + W-cut the previous word of the cursor
Shift + Insert-Pastes text inside the
Linux terminal screen recording and script playback commands, linux screen recording
Sometimes you may want to record all operations on the terminal, including the output, and play the video in the future. The system administrator may need to record the operations of some users. In addition, you may need to demonstrate some operation procedures in real time. Thes
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.