Linux Quest Note (1)
For Linux's slim wisdom has long been heard, today a glimpse of hosting.
A body that hosts the proud souls of Linux
Computer architecture: Arithmetic, controller, memory, input device, output device
- Calculator: The brain of a computer, responsible for logical operations
- Controller: To allow the computer to run methodically, the controller is duty-bound to control the implementation of the command
- Memory: Data into the operator, the operator needs empty shot to wait for the next convergence of data, which requires the use of memory, the operator also needs to store the results, the same needs memory.
- Input device, output device: to communicate with the computer depends on the input, the output device
Arithmetic, controller, memory is the core of the computer, input is not related to the operation of the computer, only the human computer interaction.
Communicating with Linux
How to communicate with Linux, you must pass the command.
命令的本质是执行文件,一般格式为command -[l|s..] 参数。命令又可以分为内部命令和外部命令,内部命令的存在是为了便于管理操作系统。
- Common commands
*ls (list) to view the files in the specified directory, plus the instruction parameter-l detailed display the file information, plus parameters to specify the desired display of the directory.
*CD (change dir) switch directory
*date 05061412 Setting the system time is May 6 14:12
*date Display System Current time
*clock (hwclock) Display hardware time, hardware time and system time are different
*clock-w synchronizing system time to hardware time
*clock-r Display Hardware Time
*cal Display Calendar
*man command Help document, divided into 8 chapters
*HELP command Get internal commands help message
*command–help getting help messages for external commands
*echo output text, default add line
*printf output text, default No line break
Linux Quest Note (1)