[ Linux Command ]
pwd : Show Present Directory
hostname
hostname -I : IP Address
ls
cd ~/ : Change Directory to Home Directory
Command + Tab
touch : Generate Blank File
ls -l
ls -a : Display Hidden File
chmod
Permission : user group guest : RWX 4+2+1
cp a b : copy a to b
rm : Delete File
rm -R : Delete Directory
grep "xxxxxxx"
find -name "xxxxx"
cat filename
sudo chown
sudo su : root -> Exit
sudo useradd xxxxx
/var/log/messages
tail -f /var/log/messages : Ctrl + c
head filename
Ctrl + c : Quit Execution
Ctrl + z : Hault Execution : fg
mount
ps ax
cal
date
/home/pi/.bashrc
# Alias
function ftsz(){
neofetch;
scrsize;
}
alias fs=ftsz
alias ug='sudo apt-get update && sudo apt-get upgrade'
alias rg='ranger'
alias ft='neofetch'
alias ll='ls -al'
alias sz='scrsize'
alias sd='sudo shutdown -h now'
export LINES
export COLUMNS
export EDITOR=vi
source ~/.bashrc
. ~/.bashrc
/home/pi/.vimrc
set number
seq -s " " 1 1 $COLUMNS
locate xxxxx
apropos ooooooo
whatis xxxxx