When I was learning my brother's teaching video of Linux, I recorded my linux commands in my blog and made it easy for me to check them.File Search command: WhereisBasic commandsCommand name: WhereisThe path to the command:/usr/bin/whereisExecute
Linux under the administrator forcibly kicked out the user's command use methodLinux force kick-out user command:One, enter the W command to view the logged in user information[[Email Protected]_s01_192.168.1.106_a ~]# W19:22:31 up 2:11, 3 users,
1. FindFind is the most common and powerful look-up command you can use to find any file you're looking for.Find uses the following format:$ find ---If no parameters are added, find searches the current directory and its subdirectories by default,
Linux commands
CD command
Cd into the user's home directoryCd ~ Go to User home directorycd– return to the directory where it was before entering this directoryCd.. Level directoryCd.. /.. Return to the top level two directory
Linux Disk Management is directly related to the performance of the whole system.Linux Disk Management Common three commands for DF, du FdiskDF: List The overall disk usage of the file systemDu: Check Disk space usageFDISK: For disk partitioningDfDF
Language Settings Common commands# echo $LANG# locale# LANG=ZH_CN. UTF-8# lang=en?CENTOS6 settings for Chinese language packsThe installation of CentOS selected Chinese, but the terminal can not display Chinese garbled;# vim/etc/sysconfig/i18nLang= "
Sometimes when the software is turned off, the background process dies, causing the port to be occupied. The following is an example of JBoss port 8083 occupancy, which lists the detailed resolution procedures.Workaround:1. Find the Occupied port
The Linux system has 7 runlevel (runlevel):
RunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normally
RunLevel 1: Single User working status, root privilege, for system maintenance,
Ls/boot View Directory contents Ls/boot -a/boot See everything in the directory Ls-a/boot -d/boot View only the directory information, with the-l Ls-ld/boot -l/boot with a long grid Display directory contents ls-l/boot -h/boot display directory
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. The usage of less is more resilient than more. In more, we have no way to turn front, can only look back,
# Preface: Why use a non-root user to run TomcatRoot user started Tomcat there is a serious problem, that is, Tomcat has root privileges.This means that any one of your page scripts (HTML/JS) has root privileges, so you can easily modify the files
About 3,000 commands in Linux, need to master and familiar with sixty or seventy commands, each command to knock at least 3 times
Ls-alh
A show all files including hidden files
H Display user-friendly file size
L Display the
Linux differs from Windows
Linux Case sensitive
All Linux content is saved as a file, including hardware
All contents are documents
Linux does not rely on the file suffix name to differentiate files, the convention commonly
SVN Server build Environment: Linux CentOS 7 Installation:1. Install SVN server1 Yum Install subversion2. View version1 svnserve--version3. Create a version libraryCreate a directory First1 mkdir/var/svnTo create a version library1 cd/var/svn //
The following are based on CentOS6.3, where some of the commands are obsolete and are no longer used in CentOS7, please note "Update": CentOS7 change:Centos7one of the major changes in. 0 is the switch to SYSTEMD. It is used to replace SYSV and
I. BACKGROUND notesRecently participating in a private cloud project, network mode leverages the CENTOS7 default bridging mode. The operating system is CentOS7.4, the customer installs it himself, and then tells us that the usual toolkit is
These tasks that accept user input/COMPUTE/storage/output in Linux systems are provided by Linux system services to help us, and some of these system services need to beWaiting for the user's input or at any time to respond to user requests and so
Linux and Windows inter-pass filesFirst install a package Lrzsz yum install-y lrzszLinux testb.txt to WindowsWindows transfers RZ to LinuxView/ect/passwd, Box is the newly added userThe first field is the user name, which is a string representing
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