Initial commit
This commit is contained in:
6
kapitel11/sidan_188_ex2.sh
Normal file
6
kapitel11/sidan_188_ex2.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
filnamn="/etc/passwd"
|
||||
if [ ! -w $filnamn ]; then
|
||||
echo "Du har INTE skrivrättigheter till passwd-filen"
|
||||
fi
|
Reference in New Issue
Block a user