Linux command base 1, environmental introduction

1.linux simple history

1) first, unix, linux Later

2) linux operating system is open source and free software which may in part be charged

3) linux have different release, redhat, centos and so on.

4) In 1991, Linus Torvalds graduate of the University of Helsinki, Finland-based gcc, bash developed the Linux kernel for 386 machines

5) linux under perfect organization and a large group of open-source hacker, linux version gradually stabilized, now slowly with various linux operating systems.

Learn more than a few points on it, do not need to learn more about too much interest and time, you can go to look up information.

Brief 2.Linux operating system

On a map, introduction.

        Any operating system, calls are two layers in the kernel and system, linux and windows are. Simple to understand: the bottom is the hardware, the kernel is the direct exchange of data and the underlying hardware, desktop we see is a system application. Some software on the desktop, such as music player, is through a system call, and then convert some kernel instructions that can be identified, communicate through the kernel and hardware, data exchange, and speakers to play the sound. The description is not good, probably mean, you can have this basic concept.

       Most of the time, we operate linux, in fact, operating linux file system, and most of our time dealing with files. So how do we start learning linux it, first find a desktop version of linun, then practice some commands, and finally write some simple shell script.

3. Our first linux command

  1. Input ls, ls is the abbreviation list files, means listing files in the directory, there is shown the two files and Desktop Code

shell [root@cctg-sjc16-grafana ccatgbld]# ls eclipseLogs mongodb-linux-x86_64-rhel70-3.2.0.tgz nohup.out grafana-6.2.5-1.x86_64.rpm ngrok out1.txt jenkins-api-0.0.1-SNAPSHOT.jar ngrok-stable-linux-amd64.zip test.txt [root@cctg-sjc16-grafana ccatgbld]#

2. Enter pwd, pwd print working directory is an acronym, meaning that the working directory display

[root@cctg-sjc16-grafana ccatgbld]# ls
eclipseLogs                     mongodb-linux-x86_64-rhel70-3.2.0.tgz  nohup.out
grafana-6.2.5-1.x86_64.rpm      ngrok                                  out1.txt
jenkins-api-0.0.1-SNAPSHOT.jar  ngrok-stable-linux-amd64.zip           test.txt
[root@cctg-sjc16-grafana ccatgbld]# 

Basic introduction to Linux on here, the purpose is to know how to open a command terminal, how to enter commands.

[root@cctg-sjc16-grafana ccatgbld]# ls
eclipseLogs                     mongodb-linux-x86_64-rhel70-3.2.0.tgz  nohup.out
grafana-6.2.5-1.x86_64.rpm      ngrok                                  out1.txt
jenkins-api-0.0.1-SNAPSHOT.jar  ngrok-stable-linux-amd64.zip           test.txt
[root@cctg-sjc16-grafana ccatgbld]# 

PS: above $ express shiyanlou This user is a regular user, sometimes you've seen #, indicating that the user is a user administrator privileges, such as the root user.

Guess you like

Origin www.cnblogs.com/zhizhao/p/11315238.html