Skip to content

Commit 0acaeba

Browse files
authored
Update how-to-use
1 parent 0946b00 commit 0acaeba

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

how-to-use

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
1+
@USER = $(whoami)
2+
#not-scripting
3+
{
4+
let user = "$USER"; // Użycie zmiennej z .hacker
5+
if user == "root" {
6+
print "Jesteś administratorem!";
7+
> whoami
8+
} else {
9+
print "Zwykły użytkownik: {}", user;
10+
> id -un
11+
}
12+
}

0 commit comments

Comments
 (0)