diff --git a/linux.sh b/linux.sh index 271a0bc..fb34f95 100644 --- a/linux.sh +++ b/linux.sh @@ -17,9 +17,18 @@ sudo useradd -M testuser # 5. Create a directory named testdir in your home directory cd ~ mkdir testdir +# or +mkdir ~/testdir +# or if need create parent dir +mkdir -p ~/testdir # 6. Change permissions of testdir +cd ~ 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 ifconfig