[sudo] passwordforgec:root@ubuntu:~#// root表示超级用户名字 #表示超级用户权限标志// 切换到普通用户root@ubuntu:~# su xxx// 第一种方式 xxx指的是系统中用户的名称gec@ubuntu:~$root@ubuntu:~# exit// 第二种方式exit 查看目录 ls// 查看当前目录文件ls-a // 不忽略.开头的文件,查看当前目录文件...
Linux是一个多用户操作系统,系统在创建用户的时候可以创建一个home 目录,如果创建了home目录,那么这个用户登录系统的时候就会自动进入这个目录,系统也自动将所有权限赋给这个用户,这个就叫home目录,比如 /home/abc 代表用户abc的home目录 /home/test 代表用户test的home目录 /root 代表root用户的home目录 一般情况下,普...
test.log Query log file except last 10 All other logs of the line ; cat: tac It's in reverse order , yes cat Reverse writing of words ; Examples are as follows : cat -n test.log |grep "debug" Query keyword log * Application scenario 1 : View by line number — Filter out logs ...
This file describes the file systems in Linux. It includes static information about the file systems and defines the integration method of the storage devices and partitions to the whole system. Use themountcommand to read this file and confirm the mounting options of devices and partitions. File...
https://github.com/mengning/linuxstart L2 Usage Common Commands PATH environment variables and hot keys echo $PATH export PATH=$PATH:/home/ubuntu/ ~/.bashrc whereis check command position User and user group:useradd groupadd Root User
hundreds of commands can be used in linux, only 10 to 20 command are usually used in everyday life. command: --help : option means output the help infomation. 1. echo $PATH e.g.: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:... ...
< linux目录架构及常用命令(Linux directory architecture and common commands)搜索 阅读原文 下载APP
[root@localhost ~]# arcconf getversion Controllers found: 1 Controller #1 === Firmware : 1.43[0] (0) Driver : Linux 1.1.2-125 (0) Command completed successfully. Upgrading the Firmware of a Controller Card Function Upgrade the firmware...
# Query the basic configuration of the RAID controller card. ./storcli64 /c0 show CLI Version = 007.0504.0000.0000 Nov 22, 2017 Operating system = Linux 3.10.0-957.el7.x86_64 Controller = 0 Status = Success Description = None Product Name = SAS3416-IT Serial Number = 123456b001002003 SAS...
Glances an Eye on your system. Atop/htopalternative for GNU/Linux, BSD, Mac OS and Windows operating systems. gtop System monitoring dashboard for terminal. hyperfine A command-line benchmarking tool. gping ping, but with a graph.