Common commands for Linux server maintenance

Common commands for maintaining Linux servers 1. view hard disk usage df & amp; ndash; h, for example: 2. force delete the static file rm & amp; ndash; rffileName *. for example, if the file name does not have the same name, you can view similar

Installation and configuration of lynx

Lynx installation and configuration 1. introduction Lynx is a pure text web browser, which is widely used in linux. Similar browsers include links and w3m. 2. download the latest version of the server, which is "lynx2.8.7rel.2.zip ". http://lynx.isc.

Show your shell a bit of color

Let's give your shell a bit of color. to avoid setting for every user, directly modify the/etc/profile File 1. add three lines in Linux: Give your ls a color [html] aliasls & amp; #39;/bin/ls -- colorauto & amp; #39; give your grep a color [html]

Application of Kill command in Linux

Application of the Kill command in Linux 1. the kill command is used to abort a process. 2. Format: kill [-ssignal |-p] [-a] pid... kill-l [signal] 3. parameter-s: specifies the sent signal. -P: analog transmission signal. -L: specifies the signal

Sudo: novalidsudoerssourcesfound, quitting

Solve sudo: novalidsudoerssourcesfound. quitting allows common users to use sudochmodu + w/etc/sudoersvi/etc/sudoers to find this line of rootALL (ALL) ALL, and add usernameALL (ALL) under it) ALL but after the return... solve sudo: no valid sudoers

Some practical notes for Linux

Linux practical notes: adjust the linux system time and time zone 1. modify the time zone: # cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime when copying, a message indicating whether to overwrite the data is displayed. Click yes to change to

Install mod_dir.so in Apache: undefinedsymbol

Apache installation mod_dir.so: undefinedsymbol handles apache installation dependency on APRandAPR-Util, which may cause an error because apr cannot be found. Tar-zxvfapr-1.4.6.tar.gzcdapr-1.4.6./configure -- prefix/usr/localmake & amp;

LINUXShell special characters

LINUXShell special character representation # Note 1. comment # Comment 2. in the middle of the quotation mark and # representation # itself 3. echo $ {PATH # * :}# parameter replacement, not a comment 4. echo $(2 #101011) # number conversion, not a

Simulate the DIR environment script

Many computer enthusiasts imitate the DIR environment scripts from Unix or Linux operating systems. However, many people start from other systems and use different commands and different types of interactions. For example, it is very likely that

Dport and sport in iptables

Dport and sport in iptables first translate dport and sport meaning: dport: Destination Port sport: source port beginner iptables is easy to confuse, but I try to explain it to you in plain language. Dport and sport are literally easy to understand.

Set the dynamic or static IP address of the NIC in Ubuntu

Ubuntu sets the dynamic or static network adapter address Ubuntu10.10. the network adapter of vmwarevm uses NAT. by default, DHCP automatically obtains the IP address. but if port forwarding/ ING is required, the IP address must be fixed. In the VM:

Use ssh-keygen for password-free login to linux

Use ssh-keygen to implement password-free login to linux host 192.168.1.2 server 192.168.1.3 first generate keyssh-keygen-trsa with four enter keys in the user directory of the local host, the key to be used is generated. the ssh/directory shows...

Debian system configuration after minimal installation

Debian system configuration after minimal installation 1, gdm3, x-window-system-core, gnome-shell first talk about the role of these software gdm3 without installing this, you can only use startx and other commands, to enter the graphic interface. x-

How to make cron send an error message email

How to make the cron send an error message know that if MAILTO is set, cron will send the task output to the specified mailbox. However, if you only want to receive an error alert email, that is, if the task is not sent during normal execution, but

Ubuntu DNS installation and configuration

UbuntuDNS installation and configuration installation sudoapt-getinstallbind9 modification/etc/bind/named. conf. localsudovi/etc/bind/named. conf. add the following content to the local file (replace domainname with the name you want), zone & quot;

Slow response of ubuntuping

The slow response of ubuntuping solves the problem that the Internet access is always slow after the new ubuntu is installed. it takes a long time to ping the website to respond to the ping command, but the network latency is normal. Later it was

Memo: several things to be done when linux starts to use (fedora)

Note: unrar files are commonly used in rpmfusion-nofree-plugins. by default, unrar files cannot be obtained: # rpm-Uvhhttp: // download1.rpmfusion. or... memo: several things that need to be done when linux starts to use (fedora) 1.install unrar,

Linux modification time

Linux modification time method in the command line input: date display current time FriAug314: 15: 16CST2007date-s in string mode modify time can only modify the date, do not modify the time, input: date-s2007-08-03 only modify time, input: date-s14:

LINUX batch delete files by time (delete files N days ago)

LINUX batch delete files by time (delete files N days ago) find/opt/Oracle/admin/CCXE/bdump/-mtime + 10-name & quot ;*. * & quot;-execrm-Rf {}\;/opt/Oracle/admin/CCXE/bdump/: any directory to be cleaned-mtime: Standard statement... LINUX batch

View online Port detection threads

Run the following command to view the port usage in Centos, an online thread for Port detection: lsof-itcp: 80 list all ports netstat-ntlp view all connections can be netstat-an query Port 80 online link thread netstat -... run the following command

Total Pages: 2732 1 .... 1636 1637 1638 1639 1640 .... 2732 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.