-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBasic System Commands9
66 lines (66 loc) · 4.92 KB
/
Basic System Commands9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/proc$ df
Filesystem 1K-blocks Used Available Use% Mounted on
overlay 1719415016 43586212 1588413612 3% /
tmpfs 65536 0 65536 0% /dev
tmpfs 32926364 0 32926364 0% /sys/fs/cgroup
overlay 2469888 494156 1971448 21% /nix
tmpfs 6585276 18084 6567192 1% /io
/dev/conman/conman-repl-filesystem-volume-2975 2469888 494156 1971448 21% /tmp
/dev/root 25215872 16353916 8845572 65% /mnt/cacache
shm 65536 0 65536 0% /dev/shm
/dev/mapper/docker 1719415016 43586212 1588413612 3% /etc/hosts
/dev/disk/by-id/google-cacache-1670882622791-us-east1-b 16909131676 10643631552 6265483740 63% /mnt/cacache/pip
devtmpfs 32922044 0 32922044 0% /dev/tty
tmpfs 32926364 0 32926364 0% /proc/acpi
tmpfs 32926364 0 32926364 0% /proc/scsi
tmpfs 32926364 0 32926364 0% /sys/firmware
overlay 2469888 494156 1971448 21% /home/runner
overlay 2469888 494156 1971448 21% /home/runner/.cargo/registry
overlay 2469888 494156 1971448 21% /home/runner/.m2/repository
overlay 2469888 494156 1971448 21% /home/runner/.npm
overlay 2469888 494156 1971448 21% /home/runner/.cache/pip
/dev/conman/conman-repl-filesystem-volume-3006 2469888 908 2464696 1% /home/runner/SystemCommands
/proc$ df -h
Filesystem Size Used Avail Use% Mounted on
overlay 1.7T 42G 1.5T 3% /
tmpfs 64M 0 64M 0% /dev
tmpfs 32G 0 32G 0% /sys/fs/cgroup
overlay 2.4G 483M 1.9G 21% /nix
tmpfs 6.3G 18M 6.3G 1% /io
/dev/conman/conman-repl-filesystem-volume-2975 2.4G 483M 1.9G 21% /tmp
/dev/root 25G 16G 8.5G 65% /mnt/cacache
shm 64M 0 64M 0% /dev/shm
/dev/mapper/docker 1.7T 42G 1.5T 3% /etc/hosts
/dev/disk/by-id/google-cacache-1670882622791-us-east1-b 16T 10T 5.9T 63% /mnt/cacache/pip
devtmpfs 32G 0 32G 0% /dev/tty
tmpfs 32G 0 32G 0% /proc/acpi
tmpfs 32G 0 32G 0% /proc/scsi
tmpfs 32G 0 32G 0% /sys/firmware
overlay 2.4G 483M 1.9G 21% /home/runner
overlay 2.4G 483M 1.9G 21% /home/runner/.cargo/registry
overlay 2.4G 483M 1.9G 21% /home/runner/.m2/repository
overlay 2.4G 483M 1.9G 21% /home/runner/.npm
overlay 2.4G 483M 1.9G 21% /home/runner/.cache/pip
/dev/conman/conman-repl-filesystem-volume-3006 2.4G 908K 2.4G 1% /home/runner/SystemCommands
/proc$ cd /
/$ cd /sys
/sys$ ls -l
total 0
drwxr-xr-x 2 nobody nogroup 0 Jan 10 19:15 block
drwxr-xr-x 40 nobody nogroup 0 Jan 10 19:15 bus
drwxr-xr-x 70 nobody nogroup 0 Jan 10 18:22 class
drwxr-xr-x 4 nobody nogroup 0 Jan 10 19:15 dev
drwxr-xr-x 15 nobody nogroup 0 Jan 10 18:22 devices
drwxrwxrwt 2 root root 40 Jan 10 18:18 firmware
drwxr-xr-x 10 nobody nogroup 0 Jan 10 18:18 fs
drwxr-xr-x 2 nobody nogroup 0 Jan 10 19:15 hypervisor
drwxr-xr-x 17 nobody nogroup 0 Jan 10 18:18 kernel
drwxr-xr-x 174 nobody nogroup 0 Jan 10 19:15 module
drwxr-xr-x 3 nobody nogroup 0 Jan 10 19:15 power
/sys$ cd bus
/sys/bus$ cd usb
.../bus/usb$ ls
devices drivers drivers_autoprobe drivers_probe uevent
.../bus/usb$ cd devices
.../usb/devices$ ls -l
total 0