puppy_linux_commands_fixed
puppy_linux_commands_fixed
System Information
Check Puppy Linux version:
cat /etc/os-release
Check kernel version:
uname -r
Show system uptime:
uptime
Display CPU information:
cat /proc/cpuinfo
Show memory usage:
free -m
File Management
List files and directories:
ls -l
Change directory:
cd <directory>
Create a new directory:
mkdir <directory-name>
Copy files:
cp <source> <destination>
Move or rename files:
mv <source> <destination>
Delete files:
rm <file>
Delete an empty directory:
rmdir <directory-name>
Delete a directory and its contents:
rm -r <directory-name>
Process Management
List running processes:
ps aux
Find a specific process:
ps aux | grep <process-name>
Kill a process:
kill <PID>
Kill a process by name:
pkill <process-name>
Show system resource usage:
top
Networking
Check IP address:
ifconfig
Show network connections:
netstat -tulnp
Test internet connection:
ping google.com
Download a file:
wget <URL>
Connect to Wi-Fi:
wpa_cli scan
wpa_cli scan_results
wpa_cli connect <network_id>
User Management
Show current user:
whoami
List all users:
cat /etc/passwd
Change user password:
passwd
Switch to another user:
su - <username>
System Control
Reboot the system:
reboot
Shut down the system:
poweroff
Log out from the session:
logout