question : When I try to run a program, it prompts "command not found". But this program is under/usr/local/bin. How do I add/usr/local/bin to my path variable so that I can run the command without specifying a path.
In Linux, the PATH
Http://www.linuxidc.com/Linux/2015-05/117414.htm1. Command line daily shortcut keysThe following shortcuts are very useful and can greatly improve your productivity:
CTRL + U-cut the content before the cursor
CTRL + K-cut the cursor to
Linux Network Programming (41 episodes total)explain Linux network programming knowledge, divided into the following four chapters. TCP/IP basics of Linux network programmingLinux Network Programming socket programming ChapterInter-process
The composition of the 1.Linuxconsists of kernel and corresponding function module, kernel/boot/vmlinuz-"kernel version number" file, module file in/lib/modules/version number/directory (for. ko files)In the/proc/sys/directory can modify the file to
Default/Default Redhat Linux automatically uses SAR to capture system performance information and logs it to/var/log/sa
Collect every 10 minutes and record cpu/memory/disk/network
2 files per day, such as number 13th, will produce sa13 and Sar1
1. Use the W command to view the process information that the logged on user is usingThe W command is used to display the names of the users who have logged in to the system and what they are doing. The information used by this command originates
Linux Application Development-process Managementa processOne component is the kernel object that the operating system uses to manage the process, and the kernel object is the place where the system uses the statistical information to hold the
CP"function description": The CP instruction is used to copy a file or directory, such as specifying more than two files or directories at the same time, and the final destination is an existing directory, it will copy all the previously specified
"Copyright Notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet, the article only for learning Exchange, do not use for commercial purposes"assembly language, like C, can be used to simplify the problem of
The watch command executes the command periodically, displaying the output in full screen. A program can be repeatedly executed by the Watch command to monitor its output changes.Command formatWatch [-DHVT] [-n ] [--differences[=cumulative]] [--help]
Linux Server management is not as convenient as Windows Server Management, of course, Linux can also be visualized visual operation, I am accustomed to use the SSH command management operations, often encounter the site to generate a large number of
Linux --- solution to DNS configuration loss after Ubuntu 14.04 is restarted --- ubuntu14.04
Solution to DNS configuration loss after Ubuntu 14.04 is restarted
Each time the DNS configuration file/etc/resolv. conf is modified, it becomes invalid
Vim shortcut, vim1. vim Environment Settings
Vim behavior record file path ~ /. Viminfo
Set the file path in the vim environment ~ /. Vimrc
In ~ /. Manually write the following content in vimrc (double quotation marks "indicate comments ):
Set
Install FFmpeg 2.6.3 on Ubuntu/Debian/Fedora
FFmpeg is a popular multimedia framework that can be used to record, convert digital audio, video, and convert it into an open-source computer program of stream. Use the LGPL or GPL license. It provides a
Debian: Modify the SSH port and host name, debianssh
Modify the SSH port (CentOS/Debian ):
The default port number is 22.
Modify the Port number in the/etc/ssh/sshd_config file.
In Debian and its derivative versions, you can modify the hostname
Some Linux network tools you may not know
If you want to monitor the network on your system, it is very practical to use the command line tool. For Linux users, there are many ready-made tools available, such as nethogs, ntopng, nload, iftop, iptraf,
Fixed the freezing of mouse and keyboard after waking up Ubuntu 14.04 from standbyProblem:
When Ubuntu14.04 or 14.10 is recovered from sleep and standby, the mouse and keyboard become stiff and cannot be clicked or entered. The only way to solve
Cygwin extension, cygwin
1. Use setup, install it all the way to select package, select the desired package, and next.
2.setup.exe-q-P package name, detailed usage:
Command Line Options: -A --disable-buggy-antivirus Disable known or
Install nginx in CentOS and upgrade nginx to the latest version.
Centos6.5
[Html] view plaincopy
Select the fastest source for Automatic Installation
[Root @ localhost ~] # Yuminstallyum-fastestmirror
I have installed it here, and the running
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