Update linux.sh

This commit is contained in:
Aleksandr Zaitsev 2024-07-21 17:27:22 +02:00
parent 1879575761
commit f1841f9d0f

View File

@ -17,9 +17,18 @@ sudo useradd -M testuser
# 5. Create a directory named testdir in your home directory # 5. Create a directory named testdir in your home directory
cd ~ cd ~
mkdir testdir mkdir testdir
# or
mkdir ~/testdir
# or if need create parent dir
mkdir -p ~/testdir
# 6. Change permissions of testdir # 6. Change permissions of testdir
cd ~
chmod 700 testdir chmod 700 testdir
# or if need recursive mode
chmod -R 700 ~/testdir
# or you can create folder with permissions
mkdir -r 700 -p ~/testdir
# 7. Display the current network configuration # 7. Display the current network configuration
ifconfig ifconfig