jobs
bg %1
fg %1
kill %1
kill -9 %1
wait %1
disown %1
nohup command &
ps
top, htop, btop
killall
pkill
pgrep
renice
nice
ionice
at
cron
command > file command >> file command < file command 2> file command 2>> file
command1 | command2 command1 | command2 | command3
env set unset VAR export VAR=value PATH=$PATH:/new/path echo $PATH
#!/bin/bash
# Comentário
echo "Hello, World!"
if [ condition ]; then
command
elif [ condition ]; then
command
else
command
fi
for VAR in list; do
command
done
while [ condition ]; do
command
done
case $VAR in
pattern1)
command
;;
pattern2)
command
;;
*)
command
;;
esac
function_name() {
command
}
function_name() {
command
return value
}
find /path -name "file"
grep "pattern" file
tr 'a' 'A' < file
sed 's/pattern/replacement/' file
awk '{print $1}' file
cut -d' ' -f1 file
sort file
uniq file
wc file
head -n5 file
tail -n5 file