User Tools

Site Tools


os_cp:intro:solutions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
os_cp:intro:solutions [2023/02/28 00:16]
jkonczak utworzono
os_cp:intro:solutions [2023/03/08 00:20] (current)
jkonczak
Line 1: Line 1:
 <​html><​code></​html>​ <​html><​code></​html>​
  
-|~~#​3~~|# ​naciśnij ​//​Ctrl+At+F2//​ \\ … \\ # naciśnij ​//​Ctrl+At+F7//​|+|~~#​3~~|# ​press //​Ctrl+At+F2//​ \\ … \\ # press //​Ctrl+At+F7//​|
 |~~#5~~|cat --help \\ bat --help | |~~#5~~|cat --help \\ bat --help |
 |~~#~~|man timeout| |~~#~~|man timeout|
 |~~#​~~|whatis time| |~~#​~~|whatis time|
 |~~#~~|man 1 man \\ man 7 man| |~~#~~|man 1 man \\ man 7 man|
-|~~#~~|man bash \\ # będąc w manie: \\ /printf \\ /dirs \\ N \\ N \\ … |+|~~#~~|man bash \\ # inside man: \\ /printf \\ /dirs \\ N \\ N \\ … |
 |~~#13~~|ls /​usr/​share/​zoneinfo/​ \\ ls ../​../​../​../​../​bin| |~~#13~~|ls /​usr/​share/​zoneinfo/​ \\ ls ../​../​../​../​../​bin|
 |~~#~~|ls -a \\ ls -a ~| |~~#~~|ls -a \\ ls -a ~|
Line 19: Line 19:
 |~~#~~|ls /​usr/​share/​zoneinfo/​*/​L*| |~~#~~|ls /​usr/​share/​zoneinfo/​*/​L*|
 |~~#~~|ls /​usr/​share/​zoneinfo/​*/​[FH]*| |~~#~~|ls /​usr/​share/​zoneinfo/​*/​[FH]*|
-|~~#~~|# bash przrobił ​ls* na tekst "ls lsattr lsblk lscpu …" \\ # a następnie wykonał ​"​ls" ​z argumentami  ​"​lsattr lsblk lscpu …"​| +|~~#~~|# bash expanded ​ls* to "ls lsattr lsblk lscpu …" \\ # and then executed ​"​ls" ​with arguments ​"​lsattr lsblk lscpu …"​| 
-|~~#​28~~|mkdir foo \\ mkdir foo/baz \\ … | +<html></code></html>
-|:::| mkdir -p foo/baz/bar foo/bar foobaz/​bar| +
-|~~#​~~|rmdir foo/baz/bar \\ rmdir foo/baz| +
-|~~#~~|echo "​foo"​ > plik1 \\ ln plik1 plik2 \\ echo "​bar"​ > plik2 \\ cat plik1| +
-|~~#~~|cd \\ln -s /tmp TMP \\ cd TMP \\ pwd| +
-|~~#~~|# druga kolumna wyników ls -l| +
-|:::|ln -s /tmp ~/TMP \\ cd ~/TMP \\ pwd| +
-|~~#~~|cd \\ ln -s . loop \\ cd loop \\ cd loop \\ pwd| +
-|~~#~~|ln -s /​sciezka/​ktora/​nie/​istnieje brokenSymlink \\ ls -l| +
-|~~#~~|cp /​etc/​os-release /​etc/​SUSE-brand .| +
-|~~#37~~|cp -a someDir newDir| +
-|~~#~~|mv newDir someDir| +
-|~~#~~|mv someDir anotherDir| +
-|~~#~~|cp -al anotherDir yetAnotherDir \\ echo "​modified"​ > yetAnotherDir/​plik2 \\ tree -D --timefmt=%H:​%M:​%S anotherDir yetAnotherDir \\ # plików anotherDir/​plik2 i yetAnotherDir/​plik2| +
-|~~#~~|cd /tmp \\ touch example \\ scp example student@lab-os-1:​example| +
-|:::|cd /tmp \\ touch example \\ scp example student@lab-os-1:​| +
-|~~#~~|scp /​tmp/​example student@lab-os-1:/​tmp| +
-|~~#~~|cd /tmp \\ sftp student@lab-os-1 \\ <color #​c0c0c0>​sftp></color> cd /tmp \\ <color #​c0c0c0>​sftp></colorput example | +
-|:::|sftp student@lab-os-1 \\ <color #​c0c0c0>​sftp></​color>​ cd /tmp \\ <color #​c0c0c0>​sftp></​color>​ put /​tmp/​example | +
-|:::|sftp student@lab-os-1 \\ <color #​c0c0c0>​sftp></​color>​ cd /tmp \\ <color #​c0c0c0>​sftp></​color>​ lcd /tmp \\ <color #​c0c0c0>​sftp></​color>​ put example | +
-|~~#​~~|touch file_{a..z} \\ rm file_? \\ touch file_{a..z} \\ rm -f file_? \\ … | +
-|~~#~~|rm file_? \\ rm -f file_?| +
-|~~#​~~|mkdir someDir \\ rm -r someDir|+
  
  
- +~~META: 
-<​html></​code></​html>​+language = en 
 +~~
os_cp/intro/solutions.1677539798.txt.gz · Last modified: 2023/02/28 00:16 by jkonczak