Commands used to query system information When you use Linux instances, you can run the uname command to query system information. uname Command The uname command is used to display system information. Common
Commands used to manage users In Linux, you can run commands, such as useradd, wheel, passwd, and userdel, to manage system users and the permissions of the users. useradd Command The useradd command is used to create users. This command is similar to the adduser command. After you ...
// 切换到超级用户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/上,然后进入该目录就可以查看光驱里的内容了。 临时文件 ...
Linux Common commands for viewing logs 1. Common commands for viewing logs tail: -n Is the line number displayed ; amount to nl command ; Examples are as follows : tail -100f test.log Real time monitoring 100 Line log tail -n 10 test.log Query log tail last 10 Log of lines ; tail...
[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
Windows Subsystem for Linux Virtualization enabled in the BIOSNote that many Windows devices already have virtualization enabled, so this may not apply. Hypervisor enabled at Windows startup It must be possible to run WSL 2 commands without error, for example: ...