// 切换到超级用户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/上,然后进入该目录就可以查看光驱里的内容了。 临时文件 ...
DOS commands at the shell prompt. Some of these will actually work, because most distribution companies create command aliases to ease the transition of new commers to linux. alias <DOS command > = '<Linux shell command>' e.g. : alias del='rm'...
This section provides commands for monitoring system performance, processes, CPU, memory, disk I/O, and network activity.General System MonitoringCommandDescription top Real-time view of CPU and memory usage by processes htop Enhanced, interactive version of top with additional features (may require ...
[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...
Common Commands Querying RAID Controller Card Configuration Querying RAID Controller Card and Physical Drive Information Setting a Boot Drive Setting the Status of a Drive UID Indicator Querying RAID Controller Card Configuration Function Query the basic configuration of the Avago SAS3408IT. Syntax storcli...
Network Configuration NCLU to NVUE Common Commands NX-OS to NVUE Common Commands NX-OS to NVUE EVPN Configuration NVUE Fails to Apply Configuration After Upgrade PIM Overview Calculating the Limitation of a Linux Bridge in Traditional Mode Cumulus Linux Derivation of MAC Address f...
Configure system security/etc/selinux/config chcon restorecon semanage setsebool system-config-selinux Report on system securitysealert LDAP, SSSD, Kerberosauthconfig authconfig-tui authconfig-gtkauthselect Network usersgetent Resource management TaskRHEL5RHEL6RHEL7RHEL8 ...
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: ...
Applies to: ✔️ Linux VMs ✔️ Windows VMsIf you want to create a virtual machine, you need to create a virtual network or know about an existing virtual network in which the VM can be added. Typically, when you create a VM, you also need to consider creating the resources ...