Linux terminal usage tips
Keywords: Linux terminal
Today, we found that Linux terminals have so many easy-to-use shortcut keys.
Shift + Ctrl + T: Create a tab
Shift + Ctrl + W: Close the tab
CTRL + Pageup: Previous Tab
CTRL + Pagedown: Next Tab
Shift + Ctrl + P
Linux terminal User Guide
If you use a terminal in linux, you need to open a browser to search for words on a webpage. This will be very complicated and reduce your work efficiency.
When I first read the python document, I read a script written in python that I used to query words in the
If you want to learn about the Linux operating system, you must know that the Linux system is getting more and more popular with computer users. To learn about linux, you may want to learn about Linux terminal commands. Here we will introduce the knowledge of
The Windows and Linux remote connections (called remote connections) are different:1) After Windows remote connection, if you run a program on a remote machine, you can completely exit the connection after a period of time before connecting to that machine to see if there is an end, that is, Windows remote connection without any processing, the program running on the remote machine will not end with the abort connection.2) Ubuntu after the
Article Title: Create a terminal command alias in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and some other basic categories of Linux
Linux terminal prompt features are defined by the system environment variable ps1. Run the ''echo $ PS1 #39; #39; command to view the current settings. PS1 values are composed of a series of static text or
Linux terminal prompt features are defined by the system environment variable ps1. Run the ''echo $ PS1 #39; #39;
How do I know your public IP address on a Linux terminal?
A public address is assigned by InterNIC and consists of a class-based network ID or CIDR-based address block (referred to as a CIDR Block). It also guarantees its uniqueness on the global Internet. When a public address is assigned, its route will be recorded in a router on the Internet, so that the traffic to access the public address can reach sm
Linux virtual terminal command Screen usage details after using ssh or telnet to log on to the remote host, execute some time-consuming commands. If ssh or telnet is interrupted at this time, the program or command being executed on the remote host will also be terminated. For example, after you log on remotely, You need to execute a time-consuming command such as svn checkout. Now you are about to get off
#Lsmod | grep usbserial(Skip this step if you directly use a serial cable instead of a USB to serial port device)If USB serial exists, the USB-to-serial port is supported. For example, if the USB port to serial port chip is pl2303, you can see that it has been connected to ttyusb0.
1. problems that cannot be identified by the USB Serial Port:
My notebook does not have RS232 interface, so I had to use USB to serial port, and then connect to the Development Board through a cross serial line Suppor
Linux terminal configuration: Color and fontIn linux, the terminal window is initially written in black and white. After reading it for a long time, it is easy to hurt your eyes. We recommend that you use this black and green text for your own experience. This is more eye-catching than black and white text, it looks ta
that is used when performing tasks that consume a lot of resources, only when CPU requirements are less than 80% of CPU capacity# Batchat> echo "HI" >/dev/tty2The tasks created by batch are also viewed through ATQ, atrm deleteIv. using Htop to view and manage processesWhich command do you use to find out which processes are running on your computer? I bet it's ' ps ' and then add a different parameter to get the different output you want.Install ' Htop '! Absolutely Brief Encounter you.Htop ren
1. PV command
You may have seen the mock captions in the movie, they seem to have been knocked out in real time. Wouldn't it be nice if I could achieve this effect in the terminal?
This can be done. We can install the ' PV ' command on Linux systems via ' apt ' or ' yum ' tool. The installation commands are as follows.
The code is as follows:
# Yum Install PV
[on RedHat based Systems]
The code is as f
some people behind your back, but you have to worry about the technology. you need to know how hard it is to do the technology and how tired it is! Forget it. follow the public's habits. Originally, the getpass () function provided by the system in Linux was too early (I guess this may be the case at the time). it only supports 8 characters, at the same time, there are security risks (overflow !), Obsolate, poor child. Should there be a replacement?
directive: SSH [email protected]Case: wangmingdemacbook-pro:~ xxxxxxxxxx$ ssh [email protected]The authenticity of host ' xxxx.net (xxx.xxx.xxx.xxx) ' can ' t be established.RSA key fingerprint is 13:82:21:f3:47:ac:15:44:f5:d0:c4:65:a0:5c:cc:06.Is you sure want to continue connecting (yes/no)? YesWarning:permanently added ' xxxx.net (xxx.xxx.xxx.xxx) ' (RSA) to the list of known hosts.[email protected] ' s password:The following operation instructions are the same as the putty.Use
0 install softwareThe software to be installed is the most page processing program, and the name is pretty cool, and less. My installation environment is gentoo linux. The Code is as follows:
Emerge-v most
1 Software ConfigurationAfter the installation, you can export the environment variables directly. The Code is as follows:
Export PAGER = "/usr/bin/most-s"
In this case, you can see the color page after running man, but there are two problems: first
Shell script -- run hadoop on linux terminal -- the java file is saved as test. sh. the java file is wc. java, [Note: It will be packaged into 1. jar, the main function class is wc, the input directory address on hdfs is input, and the output directory address on hdfs is output [Note: the input directory and output directory are not required] www.2cto.com run :. /test. sh wc. java wc input output [plain] #!
is located and before it, and moves the cursor to the next character
Alt+t
Swap position of current and previous words
Alt+u
Convert the current word to uppercase
alt+l
Convert the current word to lowercase
Alt+c
Capitalize the current vocabulary into the first character
Ctrl + V
Insert special characters, such as Ctrl+v+tab join TAB key
esc+t
Reverses the position of the cursor and
[Email protected]:~$ vim. BASHRC ps1= ' ${debian_chroot:+ ($debian _chroot)}\[email protected]\033[1;33mhttp:// 990487026.blog.51cto.com\e[m\w\$ 'Save, create a new window:Look at the effect:650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/83/B8/wKiom1d7OeTDs4mHAAAV8u1xAgI702.png "title=" 1467693446.png "alt=" Wkiom1d7oetds4mhaaav8u1xagi702.png "/>This article is from the "Soul Bucket" blog, please be sure to keep this source http://990487026.blog.51cto.com/10133282/1795892Customizing
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.