src/**/*
du -cms .[^.]*/ */ | sort -rn | head
ps ax
find $dir -type f -name '*.txt'
sudo tar xzvf archive-name.tar.gz
cd archive-name
./configure
make
sudo make install
stow -t ~/ *
sudo ln -s /usr/bin/chromium /usr/bin/google-chrome
urxvt --help 2>&1 | grep font
2>
redirects stderr to an (unspecified) file, appending &1
redirects stderr to stdout
-
Depackage
sudo dpkg -i /path/to/deb/file
When dpkg install a package and package dependency is not satisfied, it leaves the package in unconfigured state and that package is considered as broken.
-
Install
sudo apt-get install -f
sudo apt-get install -f
command tries to fix this broken package by installing the missing dependency.
cd -
ctrl + p
ctrl + n
alt + b
alt + f
ctrl + d
ctrl + h
ctrl + u / ctrl + k
ctrl + w
ctrl + y
tail -f /var/log/httpd/access_log.2020-03-0*
cut -d: -f1 /etc/passwd
apt install net-tools
netstat -plant | grep 443
lsof -i :80
nproc
lscpu
ulimit -n
sudo apt install apache2-utils -y
ab -n 100 -c 10 http://ip-address/