访问手机版  

Linux常用命令|Linux培训学习|考试认证|工资待遇与招聘,认准超级网工!

招聘|合作 登陆|注册

网络工程师培训

当前位置:网络工程师 > 技术课程 > linux > 热点关注 > linux常用命令

(一)Linux基本描述,基本命令以及环境变量

时间:2019-11-09

linux命令_linux命令_linux命令windows命令

Linux 发行版(英语:Linux distribution,也被叫做GNU/Linux 发行版),为一般用户预先集成好的Linux操作系统及各种应用软件。一般用户不需要重新编译,在直接安装之后,只需要小幅度更改设置就可以使用,通常以软件包管理系统来进行应用软件的管理。现在有超过300个Linux发行版(Linux发行版列表)。大部分都正处于活跃的开发中,不断地改进。

由于大多数软件包是自由软件和开源软件,所以Linux发行版的形式多种多样——从功能齐全的桌面系统以及服务器系统到小型系统(通常在嵌入式设备,或者启动软盘)。除了一些定制软件(如安装和配置工具)linux命令,发行版通常只是将特定的应用软件安装在一堆函数库和内核上,以满足特定用户的需求。

        Ubuntu,一个非常流行的桌面发行版,由Canonical维护
        社群发行版
        Debian,一个强烈信奉自由软件,并由志愿者维护的系统
        Kubuntu, 使用KDE桌面的Ubuntu
        Linux Mint,从Ubuntu派生并与Ubuntu兼容的系统
        Knoppix,第一个Live CD发行版,可以从可移动介质运行,Debian的派生版
        OpenGEU,Ubuntu的派生版
        Elementary OS:基于Ubuntu,接口酷似Mac OS X
        gOS和其他上网本用的系统
        Red Hat Enterprise Linux,Fedora的商业版,由Red Hat维护和提供技术支持
        openSUSE,最初由Slackware分离出来,现在由Novell维护
        Fedora,是Red Hat的社区版,会经常引入新特性进行测试
        PCLinuxOS,Mandriva的派生版本,由社区维护的非常流行的发行版
        CentOS,从Red Hat发展而来的发行版,由志愿者维护,旨在提供开源的,并与Red Hat 100%兼容的系统
        Mageia,从Mandriva发展而来的发行版
        ArchLinux,一个基于KISS(Keep It Simple and Stupid)的滚动更新的操作系统
        Chakra,一个从ArchLinux派生出来,只使用KDE桌面的半滚动更新发行版
        Gentoo,一个面向高级用户的发行版,所有软件的源代码需要自行编译
        Slackware,最早的发行版之一,1993年创建,由Patrick J. Volkerding维护

linux命令_linux命令windows命令_linux命令

Linux系统常用命令格式: command[选项] [参数]

其中选项以-开始,多个选项可用一个-连起来,如ls -l -a与ls -la。根据命令的不同linux命令,参数分为可选的或必须的。

使用linux命令最主要的是要会使用命令帮助,常见的命令帮助有:

1.man command(系统手册中的命令帮助)

2.info command(超级详细的命令帮助)

3.command --help(shell内部的命令帮助)

linux命令_linux命令_linux命令windows命令

4.whatis(简短的命令说明)

5.apropos(联机模糊搜索)

[root@svr-75# cat --help
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s), or standard input, to standard output.
  -A, --show-all           equivalent to -vET
  -b, --number-nonblank    number nonempty output lines, overrides -n
  -e                       equivalent to -vE
  -E, --show-ends          display $ at end of each line
  -n, --number             number all output lines
  -s, --squeeze-blank      suppress repeated empty output lines
  -t                       equivalent to -vT
  -T, --show-tabs          display TAB characters as ^I
  -u                       (ignored)
  -v, --show-nonprinting   use ^ and M- notation, except for LFD and TAB
      --help     display this help and exit
      --version  output version information and exit
With no FILE, or when FILE is -, read standard input.
Examples:
  cat f - g  Output f's contents, then standard input, then g's contents.
  cat        Copy standard input to standard output.
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
For complete documentation, run: info coreutils 'cat invocation'