Copied to clipboard
CMD Generator
Command generator online
Quick Access:
a
adduser
alias
apt-get
apt
at
awk
b
blkid
c
cat
cd
chgrp
chmod
chown
cp
crontab
curl
cut
d
dd
df
diff
dig
du
e
echo
emacs
export
f
fdisk
ffmpeg
find
firewalld
free
g
getenforce
grep
groupadd
groupmod
gunzip
gzip
h
halt
head
history
i
ifconfig
info
iptables
j
journalctl
k
kill
l
less
ln
locate
ls
lsblk
m
man
mkdir
mkfs
more
mount
mv
n
nano
netstat
nslookup
nuxi
p
passwd
patch
ping
pkill
poweroff
ps
pwd
r
reboot
rm
rmdir
route
rsync
rsyslogd
s
scp
sed
semanage
setenforce
shutdown
sort
source
ssh-keygen
ssh
su
sudo
systemctl
t
tail
tar
tee
top
touch
traceroute
u
ufw
umount
uniq
unzip
updatedb
uptime
usermod
v
vi
vim
vmstat
w
wc
wget
whereis
which
whois
y
yum
z
zip
halt
`halt` command line is used to immediately stop (shutdown) the computer, where all running programs and services are terminated.
$
Copy
Specify the shutdown time (-d)
Forcefully close all applications and shutdown immediately (-f)
Display help (-h)
Display shutdown message (-i)
Turn off power (only for computers that support this function) (-p)
Shutdown computer and turn off immediately (-s)
Specify the time to wait before shutdown (in seconds) (-t)
Generate and copy
Example
Shutdown computer immediately:
halt -p
Shutdown computer and turn off after 1 minute:
halt -s -t 60
Shutdown computer and forcefully close all applications:
halt -f