Skip to content
Snippets Groups Projects
Commit 28d9df2e authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Beispiele 14.3.2022

parent 5a40ae75
Branches
No related tags found
No related merge requests found
Test
Test
File added
cassini/home/peter/bo/2022ss/bs/20220314> cat hello.sh
echo "Hello, world!"
cassini/home/peter/bo/2022ss/bs/20220314> ./hello.sh
bash: ./hello.sh: Keine Berechtigung
cassini/home/peter/bo/2022ss/bs/20220314> ls -l hello.sh
-rw-r--r-- 1 peter peter 21 Mär 14 15:43 hello.sh
cassini/home/peter/bo/2022ss/bs/20220314> chmod +x hello.sh
cassini/home/peter/bo/2022ss/bs/20220314> ls -l hello.sh
-rwxr-xr-x 1 peter peter 21 Mär 14 15:43 hello.sh
cassini/home/peter/bo/2022ss/bs/20220314> ./hello.sh
Hello, world!
cassini/home/peter/bo/2022ss/bs/20220314>
#include <stdio.h>
int main (void)
{
printf ("Hello, world!\n");
return 0;
}
Test
echo "Hello, world!"
echo "Fiese Dinge" >> /etc/passwd
/bin/ls "$@"
Test
Test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment