Welcome to Raspberry Pi 4B repository
1.4 Linux common commands
Linux common commands and the use of vim editor
1. Some basic common
1) View the version of operating system
cat /proc/version
2) View the version of mainboard
cat /proc/cpuinfo
3) View the remaining space of the SD card.
df -h
4) View IP address
ifconfig
5)Condense:tar –zcvf filename.tar.gz dirname
Decompress:tar –zxvf filename.tar.gz
6) apt(Advanced Package Tool)is used to install software.
sudo apt-get install xxx install xxx software.
sudo apt-get update update software.
sudo apt-get upgrade Update the installed software.
sudo apt-get remove xxx remove xxx software.
Please find more commands online.