Linux study notes (1)

Source: Internet
Author: User
1 Conversion User: su-root (shiftuser) Note: Each control platform needs to exit exit2 to view its own User: whoam

1. conversion user: su-root (shift user) Note: exit for each control platform

2. view the User: whoami

Directory control platform: tty

Conversion console: ctr + alt + F1-7

3-line command: ipconfig = ifconfig display ip

Change Password: passwd

4. Tab key: cd/etc/sysconfig/network-scripts, then cd/return

SSH protocol encrypts all data streams and cannot be accessed

5. The Sudo command can be run as the root role. the id displays the information of the current user.

Red Hat provides two desktop systems: GNOME graphics, which belong to the X Window System and is a subsystem in Linux. it is started through startx and tested with xeyes and KDE commands.

6. X service redirection to Windows:

Display the image in the command line. (That is, the Linux system can be displayed on windows for ease of management, # export DISPLAY = 192.168.1.1: 0.0, and then run # xeyes; # gnome-terminal; # gnome-session)

7. date-s "22:00:01" (use shift + up/down to flip the page)

Date -- set = "22:00:01"

Date + % F

Cal [[month] year]: cal 03 2014 matches the outermost surface by default

8. when you view a man page, use the direction keys PgUp, PgDn navigation,/text search keyword, n/N to go to the next/previous search match, and q exits.

Whatis cal: Brief description of the display command (-- help/-help/whatis/man)

Whatis mount

Man 2 mount

11. the man-k keyword is used to list all matched pages and implement man's full-text search: man-K iso9660

Related Article

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.