Linux Jobs 1

Source: Internet
Author: User
Tags temporary file storage time and date

1, describes the composition of the computer and its functions.

Operators, subtraction data, etc.

Controller, control program instructions

Memory, stored program data information

input device, lower instruction, improve data

Output device, output result

2, listing LINUX distributions by series and describing the connections and differences between different distributions.

Debian: (Ubuntu), dpkg package management system

Slackware: (SuSE),rpm Package Management system

Redhat: (CentOS), RPM Package management system

Gentoo,

Arclinux,

3, describes the philosophy of LINUX , and according to their own understanding of the interpretation of the description.

All documents

Consists of a number of functional single programs

Try to avoid interacting with users

Saving configuration information using a text file

4, indicatingLINUXcommand format on the system, detailed descriptionifconfig,Echo,TTY,StartX,Export,pwd, History,shutdown,Poweroff,reboot,Hwclock,DateThe use of commands and the corresponding examples to illustrate.

command format:commond [Options] [parameters]

ifconfig: Configuring and displaying network parameters for network interfaces in the Linux kernel

[email protected] ~]# ifconfig

e Cho: used to print the value of a shell variable in the shell, or to output the specified string directly.

[email protected] ~]# Echo " Hello World " //Output Hello world

T ty: Displays the file name of the terminal connection standard input device.

[email protected] ~]# tty-s// no information is displayed, only the status code is returned.

s TARTX: Using the boot xwindows

[email protected] ~]# startx-w//Mandatory start xwindows

e xport: Used to output a shell variable as an environment variable, or to output a shell function as an environment variable.

[email protected] ~]# Export

P WD: Displays the user's current working directory

[email protected] ~]# pwd //view current directory

h istory: Query History Commands

[email protected] ~]# History 5//List most recent 5 history commands

s Hutdown: System shutdown Command

[email protected] ~]# shutdown-h Now//specify system to shut down immediately

P Oweroff: used to shut down the computer operating system and power off the system.

[email protected] ~]# Poweroff

R eboot: Restart Operating System .

[email protected] ~]# reboot-w//Do a reboot simulation

Hwclock: Hardware clock Access tool .

[email protected] ~]# Hwclock--SYSTOHC//Set hardware time dependent operating system time

D ate: displays or sets the system time and date.

[email protected] ~]# date-s "20170101 01;01:01" // Set current use as 2017.1.1.01;01:01

5, how to get the help information of the command on the Linux System, please detailed list, and describe How the chapters of the man document are divided.

Typ [command name], which [command name], help [command name], [command name]--help, man [command name]

Manual manual is divided into chapters; Man # Command (#表示章节号)

1. Commands that all users can use

2, System kernel calls, not every command has a system call (such as: Man 2 read)

3. Library Call

4, special documents, such as:/dev/tty1

5, file Format (command configuration file syntax, such as: Man 5 passwd)

6. Game related

7. Miscellaneous

8, administrator commands, such as: fdisk

6, please list the Linux Distribution of the basic directory name naming rules and functional provisions.

/bin

System commands for storage

/boot

The system's boot file and kernel are stored

/dev

Device File home Directory

/proc

System process and System hardware information

/etc

System master configuration file home directory

/var

System Configuration File Home directory

/home

Home directory for ordinary users

/lib&/lib64

directory where system library files are stored

. dll

/usr

System Help documentation and source package installation location

/sbin

Directories used by super users to store commands

/mnt

User Mount Directory

/run

The directory where the current running library is stored, the current running directory

/root

Super User root home directory

/tmp

temporary file storage directory

/media

Removable media mount point

/opt

Third-party application file storage directory

/srv

Common Language various non- Redhat version of the network server


Linux Jobs 1

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.