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
mkdir
The mkdir command can create a new directory
$
Copy
Directory path
Set the permission of the new directory (-m)
Create directories recursively (-p)
Display help information (--help)
Display version information (--version)
Generate and copy
Example
Create a directory named
mydir
:
mkdir mydir
Create a directory named
yourdir
and set the directory permissions to
755
:
mkdir -m 755 yourdir
Recursively create a directory named
mydir/yourdir
:
mkdir -p mydir/yourdir