Common linux commands (4)

Shutdown-h now shutdown command reboot restart command pws display current directory cat/etc/shells view all shell tab auto-completion key ctrl + l clear screen ctrl + u Delete All characters before the cursor history view command history alias view

Use iostat to check linux hard disk I/O performance

Recently, the company has installed several DELL PE2650 and 2850 servers. The RHLE5.132 system is installed in a unified manner, while the server's SCSI hard disks are all RAID 1. The boss of the company asked for a unified detection report on hard

Solve the problem that centos5.1 cannot access the Internet

Note: 1. The dual system is installed on the computer: xp and centos5.12. you can access the Internet under xp, but you cannot access the Internet under centos5.1. 3. In centos5.1, you cannot ping the gateway. 4. In xp, the NIC is set to ip: 192.168.

Ubuntu does not start the desktop by default

Modify/etc/X11/default-display-manager to/usr/sbin/TPD, and the graphic interface value is false, go to the console to modify/etc/X11/default-display-manager www.2cto.com. If the value is/usr/sbin/TPD, go to the graphic interface. If the value is

Ubuntu first install

Ubuntu first install 1 enable the root user: sudo passwd root 2 install the lamp environment: Enter the command sudo tasksel install lamp-server to complete LAMP installation. Run sudo tasksel on www.2cto.com to check whether the LAMP installation

View all users and all user groups in linux

Groups: view the group member groups gliethttp of the currently logged-on user to view the group of the gliethttp user, view the current username/etc/group in the whoami group. The file contains all usernames in the/etc/shadow and/etc/passwd systems.

Linux kill and killall commands

The kill application is used together with the ps or pgrep Command [root @ localhost ~] # Ps auxf | grep httpdroot 4939 0.0 0.0 5160 708 pts/3 S + \ _ grep httpdroot 4830 0.1 1.3 24232 10272? Ss/usr/sbin/httpdapache 4833 0.0 0.6 24364? S \

Who for one linux Command per day

The who command of one linux Command per day displays the user information currently logged on to the system. Who -- help can be used to view command parameters. Who Command Format: who [OPTION]... [FILE | ARG1 ARG2] If FILE is not specified, the

Ubuntu apt Command Parameters

For details about Ubuntu apt command parameters, see apt-cache search package apt-cache show package to obtain package information, for example, sudo apt-get install package installation package sudo apt-get install package--reinstall

Rhel6.4 configure the local yum Source

Rhel6.4 configure source 1 for local yum to create a rhel-debuginfo.repo, if yes, back up before removing cd/etc/yum. repos. d rm rhel-debuginfo.repo vi rhel-debuginfo.repo inserts the following content [Server] name = Red Hat Enterprise Linux

Overview of file structure in linux (redhat)

Linux (redhat) file structure overview linux File structure main file/bin binary executable command/dev device special file/etc system management and configuration file/etc/rc. d. Start the configuration file and script/home user home directory base

Linux parameter modification command

Linux parameter modification command linuxsysctllinux-yvmf :~ # Man sysctl Reformatting sysctl (8), please wait... SYSCTL (8) SYSCTL (8) NAME sysctl-configure kernel parameters at runtime SYNOPSIS sysctl [-n] [-e] variable... sysctl [-n] [-e] [-q]-w

Common commands are used to find files or content in linux.

In linux, the command whereis is often used to find files or content. Find the installation path of the software.-B only searches for binary files.-m only searches for help files.-s only searches for source code.-u exclusion specifies the type.

Shell local variables, environment variables, clear variables and location Variables

Shell local variables, environment variables, clear variables and location variables 1 local variables: the scope is in a shell, close the terminal, and then enable one. The declared variables are gone; after the variable is set to read-only, it

Cocould not updateI CEauthority file solution

Cocould not updateI CEauthority file solves the problem that when I started my computer today, my friends and I were shocked: cocould not update ICEauthority file/home/usr/ICEauthority this reminds me that when I programmed the file I/O yesterday, I

Create a public key between liunx

Create A public key between liunx: Two liunx instances have no password for access. specific configuration: 1: If you are currently on server A, you need to access server B. The key must be generated on server. 2: run the script ssh-keygen-t rsa on

Use chroot to build a linux sandbox

Using chroot to build a linux sandbox because an external website is mounted on the idc, idc permissions are generally not put out. I used to create ftp for a user who logged on to the shell as/bin/nologin. Now I want to go further, you can ssh to

Command for viewing File Content in linux

Linux Command for viewing file content cat displays file content starting from the first line tac displays nl display from the last line at the same time output line number more one page display content less similar to more, however, its advantages

Ssh login prompt & quot; Host key verification failed. & quot; Solution

The ssh logon prompt "Host key verification failed. "solution 1. In some cases, when different ports are connected to different linux Hosts like an IP address, this prompt may be displayed. 2. The error message is as follows: @ WARNING: remote host

Important network configuration files in linux

Important network configuration files in linux1./etc/sysconfig/network file content; NETWORKING = yes  

Total Pages: 5467 1 .... 4742 4743 4744 4745 4746 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.