Basic Photon OS Commands, Part II
Greetings. Today, we will try to follow up on the previous post related to usable commands in the Photon OS operating system.
Useful basic Photon OS Commands, Part I
We will show simple commands for “perhaps” advanced users.
We will prepare a virtual machine with the Photon OS operating system for a simple demonstration. For me, it’s a local VM with VMware Fusion on Mac OS X, but of course, your environment will be up to you.
Get Lubomir Tobek’s stories in your inbox
Join Medium for free to get updates from this writer.
Make a config backup copy
root@photon [ ~ ]# cp /etc/tdnf/tdnf.conf /etc/tdnf/tdnf.conf.origCheck the services running on Photon OS
root@photon [ ~ ]# systemctl status
● photon
State: running
Units: 249 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 0 units
Since: Mon 2023-11-27 10:59:28 UTC; 1h 25min ago
systemd: v253.12-3.ph5Check the operating system’s log files
root@photon [ ~ ]# journalctl
Nov 24 18:53:09 photon kernel: Linux version 6.1.10-11.ph5 (root@photon) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #1-pho>
Nov 24 18:53:09 photon kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.10-11.ph5 root=PARTUUID=b679f8df-7b62-de3f-cafe-082e>View all services according to the order in which they were started
root@photon [ ~ ]# systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
multi-user.target @4.433s
└─docker.service @3.670s +761ms
└─network-online.target @3.641s
└─cloud-init.service @3.200s +439ms
└─systemd-networkd-wait-online.service @2.013s +1.168s
└─systemd-networkd.service @1.905s +92ms
└─network-pre.target @1.887s
└─cloud-init-local.service @1.126s +761ms
└─vmtoolsd.service @1.124s
└─dbus.service @1.071s +38ms
└─basic.target @1.070s
└─sockets.target @1.070s
└─docker.socket @1.056s +12ms
└─sysinit.target @1.055s
└─systemd-resolved.service @972ms +82ms
└─systemd-tmpfiles-setup.service @929ms +28ms
└─local-fs.target @922ms
└─boot-efi.mount @904ms +18ms
└─dev-sda2.device @584542y 2w 2d 20h 1min 49.270s +1.170sResetting a Lost Root Password
#Restart virtual machine running Photon OS. When the Photon OS splash screen appears as it restarts, type the letter "e" to go to the GNU GRUB edit menu. Be quick about it: Because Photon OS reboots so quickly, you won't have much time to type "e".
#In the GNU GRUB edit menu, go to the end of the line that starts with linux, add a space, and then add the following code exactly: rw init=/bin/bash
Now type F10
#At the command prompt, type passwd and then type (and re-enter) a new root password that conforms to the password complexity rules of Photon OS
#Next, type the following command
umount /
#You must include the -f option to force a reboot; otherwise, the kernel enters a state of panic.
reboot -f
#After the Photon OS reboots, log in with the new root password.Fix Permissions on Network Config Files
#You might see the following error message: could not load configuration files. permission denied
#You create a network configuration file with a .network extension, you must run the "chmod" command to set the new file's mode bits to "644".
root@photon [ ~ ]# chmod 644 99-dhcp-en.network
root@photon [ ~ ]# systemctl restart systemd-networkdTop tool to monitor system resources, workloads, and performance
root@photon [ ~ ]# top
top - 12:37:31 up 1:38, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 179 total, 1 running, 178 sleeping, 0 stopped, 0 zombie
%Cpu0 : 0.0/0.7 1[ ] %Cpu1 : 0.0/0.0 0[ ]
GiB Mem : 12.0/3.8 [ ] GiB Swap: 0.0/0.0 [ ]
PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
1 root 20 0 163.2m 11.6m 0.0 0.3 0:01.15 S /usr/lib/systemd/systemd --switched-root --system --deseriali+
541 root 20 0 32.0m 14.6m 0.0 0.4 0:00.12 S `- /usr/lib/systemd/systemd-journaldNetstat command can identify bottlenecks causing performance issues
root@photon [ ~ ]# netstat --statistics
Ip:
Forwarding: 1
1071 total packets received
0 forwarded
0 incoming packets discarded
825 incoming packets delivered
567 requests sent out
20 outgoing packets dropped
Icmp:
42 ICMP messages received
0 input ICMP message failed
ICMP input histogram:
destination unreachable: 40
echo requests: 1
echo replies: 1
43 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 40
echo requests: 2
echo replies: 1root@photon [ ~ ]# netstat --listening
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 ipv6-localhost:41423 0.0.0.0:* LISTEN
tcp 0 0 _localdnsstub:domain 0.0.0.0:* LISTEN
tcp 0 0 _localdnsproxy:domain 0.0.0.0:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 0.0.0.0:mdns 0.0.0.0:*
udp 0 0 _localdnsproxy:domain 0.0.0.0:*
udp 0 0 _localdnsstub:domain 0.0.0.0:*
udp 0 0 photon:bootpc 0.0.0.0:*
udp6 0 0 [::]:mdns [::]:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 26460 /run/user/0/systemd/private
unix 2 [ ACC ] STREAM LISTENING 21330 /run/systemd/userdb/io.systemd.DynamicUser
unix 2 [ ACC ] STREAM LISTENING 21331 /run/systemd/io.system.ManagedOOM
unix 2 [ ACC ] STREAM LISTENING 21342 /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 20348 /var/run/vmware/guestServicePipe
unix 2 [ ACC ] STREAM LISTENING 24408 /run/containerd/containerd.sock.ttrpc
unix 2 [ ACC ] STREAM LISTENING 24410 /run/containerd/containerd.sock
unix 2 [ ACC ] STREAM LISTENING 25702 /var/run/docker/metrics.sock
unix 2 [ ACC ] STREAM LISTENING 22311 /run/systemd/private
unix 2 [ ACC ] SEQPACKET LISTENING 22324 /run/systemd/coredump
unix 2 [ ACC ] SEQPACKET LISTENING 22326 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 22329 /run/systemd/userdb/io.systemd.Multiplexer
unix 2 [ ACC ] STREAM LISTENING 20229 /run/systemd/resolve/io.systemd.Resolve
unix 2 [ ACC ] STREAM LISTENING 20230 /run/systemd/resolve/io.systemd.Resolve.Monitor
unix 2 [ ACC ] STREAM LISTENING 22860 /run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 22862 /run/docker.sock
unix 2 [ ACC ] STREAM LISTENING 25965 /var/run/docker/libnetwork/24aa82f1367e.sock
unix 2 [ ACC ] STREAM LISTENING 19945 /run/systemd/journal/io.systemd.journalFind command lists the files in the root directory that have changed in the past 7 days
root@photon [ ~ ]# find / -mtime -7Locate to quickly find a file
root@photon [ ~ ]# locate .network
/etc/systemd/network/50-dhcp-en.network
/etc/systemd/network/99-dhcp-en.network
/etc/systemd/system/dbus-org.freedesktop.network1.service
/usr/lib/systemd/network/80-6rd-tunnel.network
/usr/lib/systemd/network/80-container-host0.network
/usr/lib/systemd/network/80-container-vb.network
/usr/lib/systemd/network/80-container-ve.network
/usr/lib/systemd/network/80-container-vz.network
/usr/lib/systemd/network/80-ethernet.network.example
/usr/lib/systemd/network/80-vm-vt.network
/usr/lib/systemd/network/80-wifi-adhoc.network
/usr/lib/systemd/network/80-wifi-ap.network.example
/usr/lib/systemd/network/80-wifi-station.network.example
/usr/share/dbus-1/interfaces/org.freedesktop.network1.DHCPServer.xml
/usr/share/dbus-1/interfaces/org.freedesktop.network1.Link.xml
/usr/share/dbus-1/interfaces/org.freedesktop.network1.Manager.xml
/usr/share/dbus-1/interfaces/org.freedesktop.network1.Network.xml
/usr/share/dbus-1/system-services/org.freedesktop.network1.service
/usr/share/dbus-1/system.d/org.freedesktop.network1.conf
/usr/share/polkit-1/actions/org.freedesktop.network1.policyNetwork tools is not installed by default
root@photon [ ~ ]# tdnf install traceroute
Installing:
traceroute x86_64 2.1.3-1.ph5 photon-updates 103.30k 55.20kroot@photon [ ~ ]# traceroute -4 192.168.1.109
traceroute to 192.168.1.109 (192.168.1.109), 30 hops max, 60 byte packets
1 photon (192.168.1.109) 0.281 ms 0.256 ms 0.242 msroot@photon [ ~ ]# tdnf install dstat
Installing:
python3-curses x86_64 3.11.0-10.ph5 photon-updates 165.37k 59.41k
dool x86_64 1.2.0-1.ph5 photon-updates 370.61k 69.53k
root@photon [ ~ ]# dstat
3Using default plugins: cpu, disk, net, load
┄┄total┄cpu┄usage┄┄┬┄dsk/total┄┬┄net/total┄┬┄┄┄load┄avg┄┄┄┬┄┄┄┄┄system┄┄┄┄
usr sys idl wai stl│ read writ│ recv send│ 1m 5m 15m │ time
0 0 100 0 0│ 362K 29K│ 0 0 │0.09 0.03 0.01│Nov-27 12:50:04
0 0 100 0 0│ 0 0 │ 560B 8432B│0.09 0.03 0.01│Nov-27 12:50:05
0 0 100 0 0│ 0 0 │ 560B 3056B│0.09 0.03 0.01│Nov-27 12:50:06
0 0 100 0 0│ 0 33K│ 560B 3056B│0.08 0.03 0.01│Nov-27 12:50:07
0 0 100 0 0│ 0 0 │1072B 3520B│0.08 0.03 0.01│Nov-27 12:50:08
0 0 100 0 0│ 0 0 │ 560B 3056B│0.08 0.03 0.01│Nov-27 12:50:09
# And other tools: net-tools, ltrace, nfs-utils, pcstat, sysstat, systemtapCommand reports the disk space
root@photon [ ~ ]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
devtmpfs 493653 369 493284 1% /dev
tmpfs 496466 1 496465 1% /dev/shm
tmpfs 819200 669 818531 1% /run
/dev/sda3 1310720 42661 1268059 4% /
tmpfs 1048576 12 1048564 1% /tmp
/dev/sda2 0 0 0 - /boot/efi
tmpfs 99293 13 99280 1% /run/user/0
root@photon [ ~ ]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 776M 992K 775M 1% /run
/dev/sda3 20G 1.6G 17G 9% /
tmpfs 1.9G 0 1.9G 0% /tmp
/dev/sda2 10M 2.2M 7.9M 22% /boot/efi
tmpfs 388M 0 388M 0% /run/user/0Strace utility follows system calls and signals as they are executed
root@photon [ ~ ]# tdnf install strace
root@photon [ ~ ]# strace ls -al
root@photon [ ~ ]# strace -o output.txt ls -al
root@photon [ ~ ]# strace -eopen sshd
root@photon [ ~ ]# ps -ef | grep apache
root@photon [ ~ ]# strace -f -o output.txt systemctl start httpd
root@photon [ ~ ]# strace -o output.txt systemctl restart systemd-networkd
grep exit output.txt
root@photon [ ~ ]# strace -f -o output.txt systemctl restart systemd-resolvedFile command determines the file type
root@photon [ ~ ]# file /usr/sbin/sshd
/usr/sbin/sshd: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=e7c7775e365c2992720d3b64ab72e8244536e153, for GNU/Linux 3.2.0, strippedStat command can help troubleshoot problems with files or the file system
root@photon [ ~ ]# stat /dev/sda1
File: /dev/sda1
Size: 0 Blocks: 0 IO Block: 4096 block special file
Device: 0,5 Inode: 272 Links: 1 Device type: 8,1
Access: (0660/brw-rw----) Uid: ( 0/ root) Gid: ( 8/ disk)
Access: 2023-11-27 10:59:30.339999963 +0000
Modify: 2023-11-27 10:59:29.463999971 +0000
Change: 2023-11-27 10:59:29.463999971 +0000
Birth: 2023-11-27 10:59:28.267999983 +0000Stat is handy to show permissions for a file or directory
root@photon [ ~ ]# chmod 777 output.txt
root@photon [ ~ ]# stat output.txt
File: output.txt
Size: 15569 Blocks: 32 IO Block: 4096 regular file
Device: 8,3 Inode: 786448 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-11-27 12:56:00.193267068 +0000
Modify: 2023-11-27 12:56:00.221267158 +0000
Change: 2023-11-27 12:59:00.078749101 +0000
Birth: 2023-11-27 12:56:00.193267068 +0000Watch utility runs a command at regular intervals so you can observe how its output changes over time
root@photon [ ~ ]# watch -n0 --differences ss
root@photon [ ~ ]# watch -n1 --differences ip route
root@photon [ ~ ]# watch -n1 --differences ip -s link show upVmstat tool displays statistics about virtual memory, processes, block input-output, disks, and CPU activity
root@photon [ ~ ]# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
2 0 0 3269480 33604 412648 0 0 20 2 58 107 0 0 100 0 0root@photon [ ~ ]# vmstat -d
disk- ------------reads------------ ------------writes----------- -----IO------
total merged sectors ms total merged sectors ms cur sec
loop0 0 0 0 0 0 0 0 0 0 0
loop1 0 0 0 0 0 0 0 0 0 0
loop2 0 0 0 0 0 0 0 0 0 0
loop3 0 0 0 0 0 0 0 0 0 0
loop4 0 0 0 0 0 0 0 0 0 0
loop5 0 0 0 0 0 0 0 0 0 0
loop6 0 0 0 0 0 0 0 0 0 0
loop7 0 0 0 0 0 0 0 0 0 0
sr0 145 0 10480 19 0 0 0 0 0 0
sda 12188 3044 580836 1823 2678 1074 56067 2039 0 5root@photon [ ~ ]# vmstat -D
10 disks
3 partitions
12333 total reads
3044 merged reads
591316 read sectors
1842 milli reading
2678 writes
1074 merged writes
56067 written sectors
2039 milli writing
0 inprogress IO
5 milli spent IO
3 milli weighted IOGet statistics about a partition
root@photon [ ~ ]# fdisk -l
GPT PMBR size mismatch (41943039 != 52428799) will be corrected by write.
Disk /dev/sda: 25 GiB, 26843545600 bytes, 52428800 sectors
Disk model: VMware Virtual S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8A063A6D-F9C6-0189-69C2-4ED73EF4B018
Device Start End Sectors Size Type
/dev/sda1 2048 10239 8192 4M BIOS boot
/dev/sda2 10240 30719 20480 10M EFI System
/dev/sda3 30720 41943006 41912287 20G Linux filesystem
root@photon [ ~ ]# vmstat -p /dev/sda1
sda1 reads read sectors writes requested writes
216 1728 0 0List information about vCPU
root@photon [ ~ ]# lscpu | less
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 45 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
BIOS Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
BIOS Model name: Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
BIOS CPU family: 2
CPU family: 6
Model: 158
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
Stepping: 10
BogoMIPS: 6384.00List information about RAM
root@photon [ ~ ]# free -h
total used free shared buff/cache available
Mem: 9.7Gi 1.4Gi 3.9Gi 36Mi 4.8Gi 8.3Gi
Swap: 0B 0B 0BDe-activate swap
root@photon [ ~ ]# swapoff -aCreate User and adds the user to sudo group
root@photon [ ~ ]# useradd -m -G sudo user01
#This creates user01, -m adds home directory and -G sudo adds the user to sudo group
root@photon [ ~ ]# passwd user01
root@photon [ ~ ]# su user01Lsof command lists open files
root@photon [ ~ ]# tdnf install lsof
root@photon [ ~ ]# lsof /root
root@photon [ ~ ]# lsof -u apache
root@photon [ ~ ]# lsof -i
root@photon [ ~ ]# lsof -i TCP:1-80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 18u IPv6 24994 0t0 TCP photon:ssh->192.168.1.102:56804 (ESTABLISHED)
systemd 1 root 56u IPv6 20240 0t0 TCP *:ssh (LISTEN)
systemd-r 595 systemd-resolve 15u IPv4 20226 0t0 TCP _localdnsstub:domain (LISTEN)
systemd-r 595 systemd-resolve 17u IPv4 20228 0t0 TCP _localdnsproxy:domain (LISTEN)
sshd 938 root 3u IPv6 24994 0t0 TCP photon:ssh->192.168.1.102:56804 (ESTABLISHED)
sshd 938 root 4u IPv6 24994 0t0 TCP photon:ssh->192.168.1.102:56804 (ESTABLISHED)Viewing Services
root@photon [ ~ ]# systemctl
root@photon [ ~ ]# systemctl --all
root@photon [ ~ ]# systemctl list-unit-files
root@photon [ ~ ]# systemctl list-unit-files | grep network
dbus-org.freedesktop.network1.service alias -
systemd-network-generator.service enabled enabled
systemd-networkd-wait-online.service enabled enabled
systemd-networkd-wait-online@.service disabled enabled
systemd-networkd.service enabled enabled
systemd-networkd.socket enabled enabled
network-online.target static -
network-pre.target static -
network.target static -Systemd Commands Instead of Init.d
root@photon [ ~ ]# systemctl list-unit-files --type=service
root@photon [ ~ ]# systemctl is-enabled sshd
root@photon [ ~ ]# ls /etc/systemd/system/*.wants
root@photon [ ~ ]# systemctl list-unit-files --type=serviceAnalyzing System Logs
root@photon [ ~ ]# journalctl -r
root@photon [ ~ ]# journalctl -b
root@photon [ ~ ]# journalctl -u auditd
root@photon [ ~ ]# journalctl -u systemd
root@photon [ ~ ]# journalctl -u systemd-networkd
Nov 24 18:53:15 photon systemd[1]: Starting Network Configuration...
Nov 24 18:53:15 photon systemd-networkd[694]: lo: Link UP
Nov 24 18:53:15 photon systemd-networkd[694]: lo: Gained carrier
Nov 24 18:53:15 photon systemd-networkd[694]: Enumeration completed
Nov 24 18:53:15 photon systemd[1]: Started Network Configuration.
Nov 24 18:53:15 photon systemd-networkd[694]: eth0: found matching network '/etc/systemd/network/50-dhcp-en.network', based on>
Nov 24 18:53:15 photon systemd-networkd[694]: eth0: Configuring with /etc/systemd/network/50-dhcp-en.network.
Nov 24 18:53:15 photon systemd-networkd[694]: eth0: Link UP
Nov 24 18:53:15 photon systemd-networkd[694]: eth0: Gained carrierVMware recommends that you use the ip or ss commands
USE THIS IPROUTE COMMAND INSTEAD OF THIS NET-TOOL COMMAND
ip addr ifconfig -a
ss netstat
ip route route
ip maddr netstat -g
ip link set eth0 up ifconfig eth0 up
ip -s neigh arp -v
ip link set eth0 mtu 9000 ifconfig eth0 mtu 9000root@photon [ ~ ]# ip route
default via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.109 metric 1024
128.138.141.172 via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.109 metric 1024
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.109 metric 1024
192.168.1.1 dev eth0 proto dhcp scope link src 192.168.1.109 metric 1024
208.67.220.220 via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.109 metric 1024
208.67.222.222 via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.109 metric 1024Inspecting the Status of Network Links
root@photon [ ~ ]# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configured
3 docker0 bridge no-carrier unmanaged
3 links listed.root@photon [ ~ ]# networkctl status
● State: routable
Online state: online
Address: 192.168.1.109 on eth0
172.17.0.1 on docker0
fe80::20c:29ff:fe7c:2a95 on eth0
Gateway: 192.168.1.1 on eth0
DNS: 208.67.222.222
208.67.220.220
NTP: 128.138.141.172root@photon [ ~ ]# networkctl status eth0
● 2: eth0
Link File: /usr/lib/systemd/network/99-default.link
Network File: /etc/systemd/network/50-dhcp-en.network
State: routable (configured)
Online state: online
Type: ether
Path: pci-0000:03:00.0
Driver: vmxnet3
Vendor: VMware
Model: VMXNET3 Ethernet Controllerroot@photon [ ~ ]# networkctl status docker0
● 3: docker0
Link File: /usr/lib/systemd/network/99-default.link
Network File: n/a
State: no-carrier (unmanaged)
Online state: unknown
Type: bridge
Kind: bridge
Driver: bridge
Hardware Address: 02:42:a0:a0:41:7aInstalling the Packages for tcpdump and netcat with tdnf
root@photon [ ~ ]# tdnf install tcpdump
root@photon [ ~ ]# tdnf install netcatSee the processes listening on ports
root@photon [ ~ ]# lsof -i -P -n
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 18u IPv6 24994 0t0 TCP 192.168.1.109:22->192.168.1.102:56804 (ESTABLISHED)
systemd 1 root 56u IPv6 20240 0t0 TCP *:22 (LISTEN)
systemd-r 595 systemd-resolve 10u IPv4 20220 0t0 UDP *:5353
systemd-r 595 systemd-resolve 11u IPv6 20222 0t0 UDP *:5353
systemd-r 595 systemd-resolve 14u IPv4 20225 0t0 UDP 127.0.0.53:53
systemd-r 595 systemd-resolve 15u IPv4 20226 0t0 TCP 127.0.0.53:53 (LISTEN)
systemd-r 595 systemd-resolve 16u IPv4 20227 0t0 UDP 127.0.0.54:53
systemd-r 595 systemd-resolve 17u IPv4 20228 0t0 TCP 127.0.0.54:53 (LISTEN)
systemd-n 707 systemd-network 17u IPv4 20464 0t0 UDP 192.168.1.109:68
container 715 root 13u IPv4 20462 0t0 TCP 127.0.0.1:41423 (LISTEN)
sshd 938 root 3u IPv6 24994 0t0 TCP 192.168.1.109:22->192.168.1.102:56804 (ESTABLISHED)
sshd 938 root 4u IPv6 24994 0t0 TCP 192.168.1.109:22->192.168.1.102:56804 (ESTABLISHED)A brief overview of more complex commands for Photon OS. Of course, I’ve only selected a few.
For information on how to install and manage Photon OS, see the Photon OS Administration Guide.










