Dydaktyka:
FeedbackTo jest stara wersja strony!
3 | # naciśnij Ctrl+At+F2 … # naciśnij Ctrl+At+F7 |
5 | cat --help bat --help |
6 | man timeout |
7 | whatis time |
8 | man 1 man man 7 man |
9 | man bash # będąc w manie: /printf /dirs N N … |
13 | ls /usr/share/zoneinfo/ ls ../../../../../bin |
14 | ls -a ls -a ~ |
16 | pwd |
17 | cd .config ls |
18 | cd /var/log |
20 | cd /usr/bin ls *cat |
21 | ls /usr/bin/*cat |
22 | ls /usr/bin/?? cd /usr/bin/ ls ?? |
23 | ls /usr/share/zoneinfo/* |
24 | ls /usr/share/zoneinfo/*/UTC |
25 | ls /usr/share/zoneinfo/*/L* |
26 | ls /usr/share/zoneinfo/*/[FH]* |
27 | # bash przrobił ls* na tekst "ls lsattr lsblk lscpu …" # a następnie wykonał "ls" z argumentami "lsattr lsblk lscpu …" |
28 | mkdir foo mkdir foo/baz … |
mkdir -p foo/baz/bar foo/bar foobaz/bar | |
29 | rmdir foo/baz/bar rmdir foo/baz |
30 | echo "foo" > plik1 ln plik1 plik2 echo "bar" > plik2 cat plik1 |
31 | cd \\ln -s /tmp TMP cd TMP pwd |
32 | # druga kolumna wyników ls -l |
ln -s /tmp ~/TMP cd ~/TMP pwd |
|
33 | cd ln -s . loop cd loop cd loop pwd |
34 | ln -s /sciezka/ktora/nie/istnieje brokenSymlink ls -l |
35 | cp /etc/os-release /etc/SUSE-brand . |
37 | cp -a someDir newDir |
38 | mv newDir someDir |
39 | mv someDir anotherDir |
40 | cp -al anotherDir yetAnotherDir echo "modified" > yetAnotherDir/plik2 tree -D --timefmt=%H:%M:%S anotherDir yetAnotherDir # plików anotherDir/plik2 i yetAnotherDir/plik2 |
41 | cd /tmp touch example scp example student@lab-os-1:example |
cd /tmp touch example scp example student@lab-os-1: |
|
42 | scp /tmp/example student@lab-os-1:/tmp |
43 | cd /tmp sftp student@lab-os-1 sftp> cd /tmp sftp> put example |
sftp student@lab-os-1 sftp> cd /tmp sftp> put /tmp/example |
|
sftp student@lab-os-1 sftp> cd /tmp sftp> lcd /tmp sftp> put example |
|
44 | touch file_{a..z} rm file_? touch file_{a..z} rm -f file_? … |
45 | rm file_? rm -f file_? |
46 | mkdir someDir rm -r someDir |