All of the following commands are valid under Linux/unix's shell, which is dominated by bash. In case of discrepancies, take your own server as the subject. Linux referred to herein is mainly referred to as Rhel/centos.Ctrl + a switches to the
Linux displays a specified chunk size of 1024 bytes[Email protected]:~$ df-k file system 1k-blocks used available% mount point/dev/sda8 19554840 7431164 11107292 41%/ None 4 0 4 0%/sys/fs/cgroupudev
Linux displays the file system on the local side[email protected]:~$ df-l file system 1k-blocks used with available% mount point/dev/sda8 19554840 7456948 11081508 41%/n One 4 0 4 0%/sys/fs/cgroupudev 1540740 4 1540736 1%/DEVTMPFS 310308
Do not know why, why typesetting so ugly.OK, speaking of the first contact with Linux, the university operating system class, the training class do not know why it is written in the Linux Hello World, but also remember Red hat, I think the interface
In this essay, we mainly introduce some commands related to the management of archives and directories in the Linux environment, including the following aspects:
Directory related operations: Cd,pwd,mkdir,rmdir (RM)
File and directory
The help command, as its name implies, is a bash built-in command that displays help information for the bash built-in command (display? Helpful? Information about BUILTIN commands). If you want to display Help for external commands, you can use the
Linux of the Touch commands are not commonly used, generally in use Make may be used to modify the file timestamp, or to create a new file that does not exist. 1 . Command format:touch [Options] ... File...2 . Command parameters:-A or--time=atime
Beginner Linux, you need to understand the Linux standard directory structure first /
Root--- Some of the core files used when starting Linux. such as operating system kernel , boot program Grub and so on.
Home--- store personal files for
Linux Command Tools TopThe top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task Manager for Windows. Top is a dynamic display process
1. Delete a folderDelete a directory in Linux very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command can be resolved.Direct RM is available, but add two
Forced to kick off the login user under Linux systemLinux system root users can be forced to kick the other login users, first use the W command to view the logged in user information, display information as follows:[Email protected] ~]# W15:49:22
CentOS6/Linuxsu: unable to set user ID: Resource temporarily unavailableSystem Environment: CentOS 6.5When switching user doiido using su today, the following error occurs:# Su-doiidoSu: unable to set user ID: Resource temporarily unavailableAt the
Solution to tomcat port 80 in linuxFault: the website cannot be accessed. Analysis: netstat-an shows that a large number of port 80 processes are dead and tomcat is restarted. tomcat fails to start and the webpage cannot be opened. stop the tomcat
CentOS auto-start service settings
Standard method:
/Sbin/chkconfig list view the list of services that can be started/sbin/chkconfig httpd on enable auto-start
If you cannot find the file in the service, try to use the rc. local file.
1. Edit
Redhat5 build ftp-based yum ServerYUM is Yellow dog Updater, short for Modified. It is a plan initiated by Duke University to solve the problem of RPM dependency, it is convenient for users to install and upgrade software. It is particularly noted
Highlights of mysql problems in CentOS
Problem:
1. The problem [root @ rekfan mysql] # service mysql restart occurs.MySQL server PID file cocould not be found! [Failed]Starting MySQL... The server quit without updating PID file
Configure an HTTP Load balancer using HAProxy
As Web-based applications and services increase, IT system administrators have more and more responsibilities. When unexpected events such as traffic peaks, traffic increases, or internal challenges such
Configure the rsyslog client on CentOS to remotely record logs.
Rsyslog is an open-source tool widely used in Linux systems to forward or receive log messages over TCP/UDP. The rsyslog daemon can be configured into two environments: one is to
Root User remote login prohibited from CentOS/Linux
In Linux, root has almost all permissions. Once the root user password is leaked, it will be a fatal threat to the server. It is prohibited for root users to log on remotely through ssh, in this
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