// 切换到超级用户gec@ubuntu:~$ sudo -s [sudo] passwordforgec:root@ubuntu:~#// root表示超级用户名字 #表示超级用户权限标志// 切换到普通用户root@ubuntu:~# su xxx// 第一种方式 xxx指的是系统中用户的名称gec@ubuntu:~$root@ubuntu:~# exit// 第二种方式exit 查看目录 ls// 查看当前目录文件ls...
/dev : Device(设备)的缩写, 存放的是Linux的外部设备。注意:在Linux中访问设备和访问文件的方式是相同的。 /media: 类windows的其他设备,例如U盘、光驱等等,识别后linux会把设备放到这个目录下。 /mnt: 临时挂载别的文件系统的,我们可以将光驱挂载在/mnt/上,然后进入该目录就可以查看光驱里的内容了。 临时文件 ...
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 ...
[root@localhost ~]# ./storcli64 /c1/sall stop locate CLI Version = 007.0617.0000.0000 January 29, 2019 Operating system = Linux 3.10.0-693.el7.x86_64 Controller = 1 Status = Success Description = Stop Drive Locate Succeeded Querying RAID Controller Card Configuration Querying Hard Drive Informa...
[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...
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:... ...
A collection of common Linux commands for system navigation, file management, networking, and more. - Nikoo-Asadnejad/Linux-Commands-Cheat-Sheet
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.
TaskAzure CLI commands Create a resource groupaz group create --name myResourceGroup --location eastus Create a Linux VMaz vm create --resource-group myResourceGroup --name myVM --image LinuxImageName Create a Windows VMaz vm create --resource-group myResourceGroup --name myVM --image wi...
RHN tools are deprecated on Red Hat Enterprise Linux 7. rhn_register should be used for Satellite server 5.6 and newer only. For details, see:What's the difference between management services provided by Red Hat Network (RHN) Classic and Red Hat Customer Portal Subscription Management/RHSM?,Tra...