mount
umount
sudo
cp
ls
eject
rm
cd
fdisk
lsblk
cat
ifup
ifdown
mv
cd ..
mkdir
cat
Command to check battery capacity -
:~$cat /sys/class/power_supply/BAT0/capacity
Command to check whether swap is on or off -
:~$sudo swapon <swap partition name e.g. /dev/sda1>
If this shows output as below line -
swapon: /dev/sda5: swapon failed: Device or resource busy
This means swap feature is active in OS.
For more details on swap, kindly visit debian wiki link ->
Command to zip a file -
:~$zip <output file name>.zip <file to be zipped>
Comments
Post a Comment