Linux Commands
Linux Commands
The Yocto-based OS comes with all the Linux commands that you need. If you want to check all the available ones, just use this command:
compgen -c
The
-c
flag lists all the commands you could run.
If you want to check if the command is available, you can use:
compgen -c | grep <command>
There are hundreds of commands available on a distro. In our custom Linux distro, there are precisely 691 commands. However, there are custom ones and some that may be of your interest to know. This document's main objective is to be a look-up table of some commands that are good to know.
Interfaces
Command | Description |
---|---|
ModemManager | Mobile broadband modem management daemon |
NetworkManager | Network management daemon |
iptables | Administration tool for IPv4 packet filtering and NAT |
iw | Show / manipulate wireless devices and their configuration |
mosquitto | MQTT broker |
mosquitto_passwd | Manage password files for mosquitto |
ofonod | oFono mobile telephony daemon |
openvpn | Secure IP tunnel |
rfkill | Tool for enabling and disabling wireless devices |
ip | Show / manipulate routing, devices, policy routing and tunnels |
dhclient | Dynamic Host Configuration Protocol Client |
bluetoothd | Bluetooth daemon |
btattach | Attach serial devices to BlueZ stack |
btmon | Bluetooth monitor |
lsusb | List USB devices |
usb-devices | Print USB device details |
Command | Description |
---|---|
eeprog | Reads and writes 24Cxx EEPROMs connected to I2C serial bus |
i2cdetect | Detect I2C chips |
i2cdump | Examine I2C registers |
i2cget | Read from I2C/SMBus chip registers |
i2cset | Set I2C registers |
Time
Command | Description |
---|---|
rdate | Get the time via the network |
hwclock | Query and set the hardware clock (RTC) |
time | Get time in seconds |
timedatectl | Control the system time and date |
uptime | Tell how long the system has been running |
Security
Command | Description |
---|---|
logoutd | Enforce login time restrictions |
update-ca-certificates | Update /etc/ssl/certs and ca-certificates.crt |
chage | Change user password expiry information |
md5sum | Compute and check MD5 message digest |
sha1sum | Compute and check SHA1 message digest |
sha256sum | Compute and check SHA256 message digest |
rsaperf | Sign and encrypt data and generate keys |
openssl | OpenSSL command line tool |
Logs
Command | Description |
---|---|
klogd | Kernel Log Daemon |
syslogd | Linux system logging utilities |
dmesg | Print or control the kernel ring buffer |
journalctl | Query the systemd journal |
Vitro
Command | Description |
---|---|
vitrotv-confirm-upgrade | Confirm the OTA upgrade |
vitroio_upgrade_nodes.py | Upgrade a node (e.g., Vitro Shard) |
vitrotv-change-partition | Change the mounted partition |
vitrotv-upgrade | Perform the OTA upgrade |
ecc_toolkit | Vitro Crystal provisioning script |
can-configuration.sh | Script to set up CAN interface |
connect_gsm.sh | Script to set up or connect to GSM |
thermal-log.sh | Script to display the temperature in zone 0 |
The available partitions are mmcblk1p2 or mmcblk1p3. If you want to upgrade mmcblk1p3, but mmcblk1p2 is the default. You can run
vitrotv-change-partition
and thenvitrotv-upgrade
.
Others
Updated about 3 years ago
What’s Next