Read about practical guide to linux commands, The latest news, videos, and discussion topics about practical guide to linux commands from alibabacloud.com
Record your common Linux system commands, easy to access later, found that memory is getting worseFind the most CPU-consuming Java Thread PS commandCommand: PS-MP pid-o thread,tid,time or PS-LFP pidResults show:650) this.width=650; "Src=" http://dl.iteye.com/upload/attachment/542494/76075225-2d3a-3b5e-93f5-c27ec5da4b8a.png "Style=" border:0px; "/>The purpose of this command is to obtain some information abo
How to Use Git commands on Linux Terminals
Speaking of Git, developers are not familiar with it. before using it, we need to understand several issues:
What is Git?
If you are a software developer, you must be familiar with Git. Git greatly facilitates developers to control the source code version or version of software development. This is a distributed version control system. GIT provides better speed an
ManagementIn a unix/linux system, everything is a file, or a process if it is not a file. First recognize the file system:Linux file system/var-frequently changing (variable) files, such as logs or databases/USR-contains applications and files that are accessible to the vast majority of all users/OPT-Provides an optional (optional) Application installation directory/tmp-Temporary (temporary) file/etc-Configuration files, startup scripts, etc. (etc)/de
: First archive multiple files and directories into a single tar file or archive file, and then release the files and directories in the tar file when needed. This article describes 17 practical examples of tar.The tar command syntax is as follows:# Tar Some common options in the TAR command are listed below:
? --delete: Remove from archive file (not tape)
? -R,--append: append the file to the archive file
? - T,--list: lists What is
Java executes remote shell scripts via the SSH2 Protocol (GANYMED-SSH2-BUILD210.JAR)
Use the following steps:
1. Guide Package
Website Download:
http://www.ganymed.ethz.ch/ssh2/
MAVEN Coordinates:
2.apI description
1. First construct a connector, passing in a need to login IP address
Connection conn = new Connection (hostname);
2. Analog Landing destination server incoming username and password,
Boolean isauthenticated = Conn.authenticate
One of the most powerful features of Linux is that it has a large variety of small command tools, which can also be described as one of the most interesting places. In these lots of useful commands and scripts, you'll find that there are a few command tools that are less useful--if you don't want to say it's completely useless.You know, the Linux command terminal
compression tool Guide
(In fact, help is the best method. Generally, you can use the "-- help" parameter for each command to get a commonly used method !)
Users often need to back up data in computer systems. to save storage space, backup files are often compressed. The following describes the backup and compression tar commands respectively.
Tar can create files and directories. Using tar, you can create
Simple Linux skills and commands (1) Simple Linux commands: df Th view disk usage the Prt SC SysRq key on the keyboard captures the Alt + Prt SC SysRq key on the full screen keyboard to capture a Single Window ctrl + l clear screen ctrl + shift + "+" screen zoom in ctrl + "-" ctrl + space on the screen to change the in
replace-u with-n plus the-v option, then we will see that no files are moved to the/home/pungki/office directory.
$ MV-VN *.txt/home/pungki/office
10. Create a backup when copyingBy default, moving a file overwrites a target file that already exists. But what if we move the wrong file and the target file has been overwritten by the new file? Is there a way to recover a previous file? The answer is yes. We can use the-B option. This option will make a backup of the old file when th
. The value of/profile,path will take effect immediately.The principle of this method is to execute the/etc/profile shell script again, note that if the use of sh/etc/profile is not possible, because SH is executed in the child shell process, even if the path changes will not be reflected in the current environment, but the source is in the current Shell process, so we can see the change in path.This way you learn how to modify the environment variable path path under the
The use of xargs commands in Linux is a filter for passing parameters to commands and a tool for combining multiple commands. It divides a data stream into small enough blocks to facilitate processing by filters and commands. In general, xargs reads data from an MPS queue or
, to serve the tool.Try to do the experimentIn fact, we can see a lot of tutorials on the Internet in this course, but remember to match your goals. After studying for some time, we may forget the small parameters of the operation service and simple commands. It doesn't matter, the simple method is more practice, or contact more services to build, for common knowledge or sleepy point can choose to record, this Lin
BKJIA: In this article, we will introduce six cool and practical Unix/Linux tools. From viewing the weather through your terminal to letting a system administrator teach you how to complete a difficult task, there is almost no clue. Interestingly, most of these tools were released decades ago! Please let me know ......
Mentoring dialogue: kibitz
Kibitz is a terminal tool mainly used by a "master" to help hi
the remote directory, the file name is not changed, 4th specified the file name(2) Copy directory:Command format:Scp-r Local_folder [Email protected]_ip:remote_folderOrScp-r Local_folder Remote_ip:remote_folderThe 1th one specifies the user name, the command executes after the need to enter the user password;The 2nd does not specify a user name, the command will need to enter the user name and password after execution;Copy from remote server to local server:The SCP command from remote Copy to l
This article is from the "Happy F" blog, please be sure to keep this source http://gaoxingf.blog.51cto.com/612518/121138
Common commands for Oracle databases under Linux
Executed under Oracle users:
$ sqlplus system/manager @ file.sql Execute SQL script file
$ sqlplus System/manager Login sqlplus, using System user
$ sqlplus/nolog Starts the sqlplus in a way that does not connect to the database, which is
Curl CommandCurl is a tool for simple testing of Web Access under the Linux system command line.Curl-xip:port www.baidu.com-x can specify IP and port, omit write hosts, convenient and practical-I show status codes only-V shows detailed process, visual operation;-U Specify user name and password-O download Web file-O Custom Download file name[Email protected] ~]# curl-x61.135.157.156:80 www.qq.com-IHTTP/1.1
engineers generally do not remotely manage computers, need to provide information such as log the larger the disk space, the slower the reading speed, You can consider using multiple hard disks to make up a larger space partition just on the hard disk to do the identification, rather than the format in the file system features, so speed faster hard disk faster than the outside speed [partition number is smaller, the outer region, so the volume of data large first partition]. Program developers
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.