Linux Learning Notes (Linux Introduction)

Introduction to Linux

  1. Linux is an operating system, has a free, open source, safe, efficient, stable and very effective for the treatment of high concurrency, mainly used in the enterprise server deployments.

  2. Linux founder: linux Linus

  3. Linux distributions
    Here Insert Picture Description

  4. Windows and Linux comparison

    windows:
    	1.收费,受大部分软件的支持,但是软件为收费软件,有微软官方提供支持和服务;
    	2.安装的补丁较多,容易中木马病毒;
    	3.用户全都是图形界面,依靠鼠标和键盘完成一切操作,容易;
    	4.系统是封闭的,定制性差;
    	5.主要应用于桌面操作;
    
    
    Linux: 、
    	1.免费或者少许费用;
    	2.开源自由软件,用户可以参与定制和修改之后在发布,部分软件质量和体验有所欠缺,由全球所有的Linux开发者和自由软件社区提供支持;
    	3.Linux安全性高,相对windows来说更加安全;
    	4.开源,可定制性强;
    	5.只测很难过百度、谷歌、淘宝的应用软件的后台服务器运行;
    
  • Learn to use Linux system is mainly to create an environment on the host computer, after installing Linux systems in your environment, you can search for specific processes online, you do not introduce, directly below explain the directory structure of Linux, Linux must learn in order to first understand the directory structure of Linux.

Linux directory structure

Linux file system is the use of a hierarchical tree structure diagram, once again the top structure is the root "/" directory and then re-create another directory under the file below to Legend
Here Insert Picture Description

  • There is one and only one root directory in the Linux directory
  • Linux in each directory which contains good, not misplacing documents, which will help to find
  • Linux is a form of file management of our equipment
  • In the Linux system, all that is file

Common catalog description

/bin:存放二进制可执行文件(ls,cat,mkdir等),常用命令一般都在这里。

/etc:存放系统管理和配置文件

/home:存放所有用户文件的根目录,是用户主目录的基点,比如用户user的主目录就是/home/user,可以用~user表示

/usr:用于存放系统应用程序,比较重要的目录/usr/local 本地系统管理员软件安装目录(安装系统级的应用)。这是最庞大的目录,要用到的应用程序和文件几乎都在这个目录。

	/usr/x11r6 :存放x window的目录

	/usr/bin: 众多的应用程序  

	/usr/sbin:超级用户的一些管理程序  

	/usr/doc :linux文档  
	
	/usr/include: linux下开发和编译应用程序所需要的头文件  
	
	/usr/lib: 常用的动态链接库和软件包的配置文件  
	
	/usr/man: 帮助文档  
	
	/usr/src :源代码,linux内核的源代码就放在/usr/src/linux里  
	
	/usr/local/bin: 本地增加的命令  
	
	/usr/local/lib: 本地增加的库
	
/opt:	额外安装的可选应用程序包所放置的位置。一般情况下,我们可以把tomcat等都安装到这里。

/proc:虚拟文件系统目录,是系统内存的映射。可直接访问这个目录来获取系统信息。

/root:	超级用户(系统管理员)的主目录(特权阶级^o^)

/sbin:存放二进制可执行文件,只有root才能访问。这里存放的是系统管理员使用的系统级别的管理命令和程序。如ifconfig等。

/dev:	用于存放设备文件。

/mnt:	系统管理员安装临时文件系统的安装点,系统提供这个目录是让用户临时挂载其他的文件系统。

/boot:存放用于系统引导时使用的各种文件

/lib:存放跟文件系统中的程序运行所需要的共享库及内核模块。共享库又叫动态链接共享库,作用类似windows里的.dll文件,存放了根文件系统程序运行所需的共享文件。

/tmp:用于存放各种临时文件,是公用的临时文件存储点。

/var:用于存放运行时需要改变数据的文件,也是某些大文件的溢出区,比方说各种服务的日志文件(系统启动日志等。)等。

/lost+found:这个目录平时是空的,系统非正常关机而留下“无家可归”的文件(windows下

Linux remote login

  • The main use is xshell (currently more widely used remote login software that supports ssh1 / ssh2 and other agreements; it can be a server in Remote access different systems windows interface down, so as to achieve remote control; download and install the tutorial itself online search to complete the installation)

    learning side recording side, if deficiencies welcome message pointing ...
Published 63 original articles · won praise 1 · views 2030

Guess you like

Origin blog.csdn.net/qq_45061361/article/details/104576676