Read about practical guide to linux commands, The latest news, videos, and discussion topics about practical guide to linux commands from alibabacloud.com
We all know the bg and fg commands in Linux. On Windows, we either have a program running in the background as a service or stop the service. The program cannot be switched between the foreground and background. Linux provides fg and bg commands, allowing us to easily schedule running tasks. Www.2cto.com suppose you fi
words, paste them to the right of the cursor. │├──┼──────────────────────┤│p│ If the default buffer contains a line of text, it is current │││ insert a blank line in front of the line wells the default buffer in the inner │││ paste into this line, if the default buffer contains │││ multiple words, paste these words to the left of the cursor│└──┴──────────────────────┘Vi. Saving and exiting┌───────────┬───────────────┐│ Command │ Description │├───────────┼───────────────┤│zz│ Save and Exit │├───
For your convenience, I have summarized some commands for Linux disk partitioning. Linux disk partitioning is still quite common. Here I will share the summary results with you, I hope it will be useful to you.
1. df command;
Df comes from the coreutils software package and comes with it during system installation. We can use this command to view the disk usage a
The watch command can help you monitor the running results of a command, saving you the need to manually run it over and over again. In Linux, watch periodically runs the next program and displays the execution result in full screen.
Watch is a very practical command. basically all Linux distributions have this tool. like a name, watch can help you monitor the ru
The article summarizes about 20 common commands related to Linux server maintenance. If you need them, please refer to this article.
Vi Delete empty rows
: G/^ s * $/d
Find the file in the directory that contains the specified string
Find./-name '*. conf' | xargs grep-in "baidu.com.demo.upall.cn"# Note: "baidu.com.demo.upall.cn" is the string to be searched.# This command is used to quickly locate the name
cursor before theCtrl+u: Delete text entered under input modeF. Search and Replace commands/pattern: Searches for pattern at the end of the file from the beginning of the cursor? pattern: Searches for pattern from the beginning of the cursor to the top of the fileN: Repeat the last search command in the same directionN: Repeats the last search command in the opposite direction: s/p1/p2/g: Replaces all P1 in the current row with P2: n1,n2s/p1/p2/g: Al
I used to think that learning Linux is boring, and the command is tedious and difficult to remember, in fact, Linux also has a lot of fun commands, these commands may immediately let your B-grid ascension, or become a programmer to the girl's necessary! Let's take a look at the following:
Wttr.in is the weathe
Linux Common Commands Daquan 2Iv. commands for shutting down and viewing system informationCommands for shutting down and viewing system information
command
Description
Shutdown
Normal shutdown /tr>
Reboot
Restart Computer
PS
View Current program executio
Basic LINUX commands-general Linux technology-Linux technology and application information. For details, refer to the following section. This document is very practical. It is not about the specific meaning of a command parameter, but about what
Record your common Linux system commands, easy to access later, found that memory is getting worseFind the Java thread that consumes the most CPUPS commandCommand:PS-MP pid-o thread,tid,time or PS-LFP pidResults show:
The purpose of this command is to obtain some information about the thread that corresponds to a process. For example, if you want to analyze some of the running bottlenecks of a Java pr
Linux disk management commands are related commands for operating disks in Linux system, including partitioning, formatting, and resizing disks. This article is for beginners to learn. After reading this article, you will surely have a lot of GAINS. I hope this article will teach you more things.
Fdisk
Function Descrip
Install Python and pip packages and related commands in Linux
>>> Ora 23 is updated with python 2,. 7.11.3, but for python package installation, pip package is required to manage python package resources.Pip package installation.The methods for python2.x and python 3.x are different:
Python 2:
Sudo dnf upgrade python-setuptoolsSudo dnf install python-pip python-wheelPython 3: sudo dnf install python3 python
This section discusses a few questions:1. File descriptor.2. Redirect.3. Pipe break4. The use of tee.1. File descriptor. all files in the Linux system. Both the folder and the device are files. How to distinguish different files? The difference here is not different from the suffix we see under Windows. Nor is it a list of the different files we see under Linux with the LS command. The file descriptor here
Today to share 2 commands are also commonly used in our usual, chmod and chown seems to spell a bit similar, but the use of the two is different. Chmod is used to set folder and file permissions, such as our VPS host files can not read and write, you need to set 777 permissions, and Chown is used to set the user group, such as authorizing a group of users to facilitate control of user rights.
Concrete use We use examples to answer, those so-called va
Linux commands involved in setting up the Spark Environment
Linux commands involved in setting up the Spark environment (simple and easy to use)
From one server responsible for content to another server: scp jdk-6u37-linux-x64.bin spark@10.126.45.56:/home/spark/opt
Tar compr
Article title: Xen virtual machine practice: how to create a snapshot using Linux commands. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
A vm snapshot is a good function that ca
Con1, the second is Con2, the third layer is Con3For example, all files under the display directoryfilelist= ' ls $dir 'for filename in $filelistDo#echoDone————————————Debugging of shell scriptsSH-NVX script.sh-N Do not execute script, check syntax error no problem, no display-V Print script to screen before execution-X Displays the contents of the script used to the screen = = Print execution track————————————————#用mv取代rmVI. BASHRCMkdir-p ~/.trash #加到文件尾Alias Rm=trashAlias R=trashAlias rl= ' l
Compression: lha-a FileName. lha FileName
Lha please: http://www.infor.kanazawa-it.ac.jp /~ Ishii/lhaunix/download!
> After decompression, copy lha to the/usr/bin directory (Other Directories specified by the $ PATH environment variable can also be used ):
[Root @ www2 tmp] # cp lha/usr/bin/
---------------------------------------------
. Rpm
Unpack: rpm2cpio FileName. rpm | cpio-div
---------------------------------------------
. Deb
Unpack: ar p FileName. deb data.tar.gz | tar zxf-
----------
Internet public LINUX practical commands and common phenomena-Linux Enterprise applications-Linux server application information, the following is a detailed description. Command:
Cp copy rm Delete cd enter ls view nedit edit cat open sh execute mv rename
Dmesg load start
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.