This commit is contained in:
szabomarton
2025-02-18 10:48:41 +01:00
commit 6106ebb7c1
23 changed files with 228 additions and 0 deletions

BIN
25_01_28/feladat.zip Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,56 @@
//1.
mkdir potlas_konyvtar
//2
cd potlas_konyvtar
touch fajlletrehozas
//3
echo "touch fajlletrehozas" > fajlletrehozas
//4
mkdir alkonyvtar
cd alkonyvtar
//5
cp ../fajlletrehozas masoltfajl
//6
echo "cp ../fajlletrehozas masoltfajl" > masoltfajl
//7
mkdir athelyezendokonyvtar
cd ath*
//8
touch athelyezendofajl
//9
cd ..
//10
mv athelyezendokonyvtar/ ../
//11
echo "mv athelyezendokonyvtar/ ../" > ../athelyezendokonyvtar/athelyezendofajl
//12
mkdir torlendokonyvtar
//13
touch valaszok
//a
rm -i torlendokonyvtar
//b
locate -c filename
//c
ls f*.txt
echo "rm - i torlendokonyvtar\nlocate -c filename\nls f*.txt" > valaszok
//14
a 7
6
k 5
p 5
e 4
t 4
i 3
o 2
F 1
b 1
g 1
ö 1
v 1
é 1
n 1
! 1