Linux command explanation-remote access server

Source: Internet
Author: User

1. Remote connection Server

1. View IP Address

Ifconfig

2.IP configuration: (Redhat)

Netconfig (Graphical configuration)

3. Restart the Network Service

Service Network restart

4. Stop the firewall, you need to shut down the Linux, Windows Firewall

Service Iptables Stop

Iptables–f

Iptables–x

5. SSH Connection:

Service sshd start//start SSH

6. Connection tool:

Sshsecureshell, Putty, Xshell, Mobera

2.Linux Catalog

1. Root directory

/boot save system boot files, including kernel files, boot files (grab)

/etc system commonly used configuration files, system administrators need to modify the files frequently, determine the system behavior of the configuration file

/bin put user commands commonly used, such as VI CP LS CD ... All users can use!

/sbin the commands used to save the system maintenance such as: Fdisk MKFS ordinary users cannot use

/lib the library files required for the system to run, such as the static library. A file dynamic library. So

/dev system device files, such as/dev/cron/dev/hba/dev/sdb

/var save changed files such as log files, offline files

/MNT system used to install file system device directory, CD/mnt/cdrom u disk/mnt/sdb2

/PROC system memory CPU mapping file Cd/proc VI cpuinfo//view CPU Information VI meminfo//view memory information

/TMP saves temporary files generated when the system is running

Save user-related information in the/USR system

/home directory for ordinary users

/root home directory for super users

Linux command explanation-remote access server

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.