Portál AbcLinuxu, 11. května 2025 15:15
Řešení dotazu:
find $PWD -maxdepth 1 -type f -iname '*.txt'Pro aktualni adresar rekurzivne:
find $PWD -type f -iname '*.txt'
find "$PWD" -maxdepth 1 -type f -iname '*.txt'
ls -1 $PWD/*.txt
, nebo ls -1 `pwd`/*.txt
(ale je to asi dost prasarna)
ls -1 "$PWD"/*.txt
. V PWD moze byt kadejaky znak.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.