Linux Terminal Commands
Saturday, March 9, 2019
17:23
lscpu
list cpu
lshw
list hw
cp
copy
sudo su -
sudo -i
grep
touch
ex. touch filename (create a file)
tree
mkdir
create director
rm -d
delete directory
[link]
rm * -dr
recursive delete folders
rm
delete file
mv
move file
mv
mv originalfilename newfilename
du
disk used
[link]
du -sh
sum human readable
du -ch
count human
df
disk filesystem
luc@sirserver:/$ sudo lxc stop container
luc@sirserver:/$ sudo lxc delete container
luc@sirserver:/$ sudo lxc list
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
luc@sirserver:/$