We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a485e commit 178aef3Copy full SHA for 178aef3
example/example.hacker
@@ -1,16 +1,4 @@
1
-! Example Hacker Lang script
2
-// sudo ! For privileged commands
3
-// apt ! Package manager
4
-@USER=admin ! Set USER
5
-@LOG_DIR=/var/log/hacker
6
-=3 > echo "Run by $USER" ! Loop 3 times
7
-? [ -d /tmp ] > echo "Temp exists" ! Conditional
8
-# util ! Include util library
9
-> sudo apt update ! Update packages
10
-> mkdir -p $LOG_DIR
11
-> echo "Updated at $(date)" >> $LOG_DIR/update.log
12
-[
13
-Configuration
14
-Author: HackerOS Team
15
-Purpose: System update
16
-]
+// sudo
+// apt
+> sudo apt update
+> echo "Update Done"
0 commit comments