/l3/users/2-11-2020/NT-Ladm/debian1.net.nt/root :1 :2 :3 :4 :5 |
|
#find . -type d -maxdepth 1
![]() find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. . ./.aptitude ./.lilalo ./d4 ./d2 ./d1 ./.vim |
#find . -type d -maxdepth 1
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. . ./.aptitude ./.lilalo ./d4 ./d2 ./d1 ./.vim |
#find --help
![]() Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] default path is the current directory; default expression is -print expression may consist of: operators, options, tests, and actions: operators (decreasing precedence; -and is implicit where no others are given): ( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2 EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2 positional options (always true): -daystart -follow -regextype normal options (always true, specified before other expressions): -depth --help -maxdepth LEVELS -mindepth LEVELS -mount -noleaf --version -xdev -ignore_readdir_race -noignore_readdir_race ... -readable -writable -executable -wholename PATTERN -size N[bcwkMG] -true -type [bcdpflsD] -uid N -used N -user NAME -xtype [bcdpfls] actions: -delete -print0 -printf FORMAT -fprintf FILE FORMAT -print -fprint0 FILE -fprint FILE -ls -fls FILE -prune -quit -exec COMMAND ; -exec COMMAND {} + -ok COMMAND ; -execdir COMMAND ; -execdir COMMAND {} + -okdir COMMAND ; Report (and track progress on fixing) bugs via the findutils bug-reporting page at http://savannah.gnu.org/ or, if you have no web access, by sending email to <bug-findutils@gnu.org>. |
#find --help
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] default path is the current directory; default expression is -print expression may consist of: operators, options, tests, and actions: operators (decreasing precedence; -and is implicit where no others are given): ( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2 EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2 positional options (always true): -daystart -follow -regextype normal options (always true, specified before other expressions): -depth --help -maxdepth LEVELS -mindepth LEVELS -mount -noleaf --version -xdev -ignore_readdir_race -noignore_readdir_race ... -readable -writable -executable -wholename PATTERN -size N[bcwkMG] -true -type [bcdpflsD] -uid N -used N -user NAME -xtype [bcdpfls] actions: -delete -print0 -printf FORMAT -fprintf FILE FORMAT -print -fprint0 FILE -fprint FILE -ls -fls FILE -prune -quit -exec COMMAND ; -exec COMMAND {} + -ok COMMAND ; -execdir COMMAND ; -execdir COMMAND {} + -okdir COMMAND ; Report (and track progress on fixing) bugs via the findutils bug-reporting page at http://savannah.gnu.org/ or, if you have no web access, by sending email to <bug-findutils@gnu.org>. |
#find -d tree
![]() find: warning: the -d option is deprecated; please use -depth instead, because the latter is a POSIX-compliant feature. find: paths must precede expression: tree Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] |
#find -d tree
![]() find: warning: the -d option is deprecated; please use -depth instead, because the latter is a POSIX-compliant feature. find: paths must precede expression: tree Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] |
#find . -type d -maxdepth 1 | xargs ls -l
![]() find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. .: total 24 drwxr-xr-x 2 root root 4096 Nov 2 11:53 d1 drwxr-xr-x 3 root root 4096 Nov 2 12:49 d2 drwxr-xr-x 3 root root 4096 Nov 2 11:56 d4 -rw-r--r-- 1 root root 0 Nov 2 12:48 f1 -rw-r--r-- 1 root root 5268 Oct 13 2014 install -rw-r--r-- 1 root root 165 Nov 2 11:46 who.txt ./.aptitude: ... total 0 ./d1: total 0 ./d2: total 4 drwxr-xr-x 2 root root 4096 Nov 2 11:54 d3 -rw-r--r-- 1 root root 0 Nov 2 12:49 f2 ./d4: total 4 drwxr-xr-x 2 root root 4096 Nov 2 11:56 d5 |
#find . -type d -maxdepth 1 | xargs ls -l
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. .: total 24 drwxr-xr-x 2 root root 4096 Nov 2 11:53 d1 drwxr-xr-x 3 root root 4096 Nov 2 12:49 d2 drwxr-xr-x 3 root root 4096 Nov 2 11:56 d4 -rw-r--r-- 1 root root 0 Nov 2 12:48 f1 -rw-r--r-- 1 root root 5268 Oct 13 2014 install -rw-r--r-- 1 root root 165 Nov 2 11:46 who.txt ./.aptitude: ... total 0 ./d1: total 0 ./d2: total 4 drwxr-xr-x 2 root root 4096 Nov 2 11:54 d3 -rw-r--r-- 1 root root 0 Nov 2 12:49 f2 ./d4: total 4 drwxr-xr-x 2 root root 4096 Nov 2 11:56 d5 |
#find . -type d -maxdepth 1 | xargs ls
![]() find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. .: d1 d2 d4 f1 install who.txt ./.aptitude: config ./.lilalo: 133518653134476610-1413379473.info 133518653134476610-1413379473.script 143184190977814884-1413212456.info 143184190977814884-1413212456.script ... 2525264871024819419-1403867138.script l3-agent.pid l3bashrc l3prompt ./.vim: ./d1: ./d2: d3 f2 ./d4: d5 |
#find . -type d -maxdepth 1 | xargs ls
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. .: d1 d2 d4 f1 install who.txt ./.aptitude: config ./.lilalo: 133518653134476610-1413379473.info 133518653134476610-1413379473.script 143184190977814884-1413212456.info 143184190977814884-1413212456.script ... 2525264871024819419-1403867138.script l3-agent.pid l3bashrc l3prompt ./.vim: ./d1: ./d2: d3 f2 ./d4: d5 |
#find . -type d -maxdepth 1 | xargs ls
![]() find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. .: d1 d2 d4 f1 install who.txt ./.aptitude: config ./.lilalo: 133518653134476610-1413379473.info 133518653134476610-1413379473.script 143184190977814884-1413212456.info 143184190977814884-1413212456.script ... 2525264871024819419-1403867138.script l3-agent.pid l3bashrc l3prompt ./.vim: ./d1: ./d2: d3 f2 ./d4: d5 |
#find . -type d -maxdepth 1 | xargs ls
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. .: d1 d2 d4 f1 install who.txt ./.aptitude: config ./.lilalo: 133518653134476610-1413379473.info 133518653134476610-1413379473.script 143184190977814884-1413212456.info 143184190977814884-1413212456.script ... 2525264871024819419-1403867138.script l3-agent.pid l3bashrc l3prompt ./.vim: ./d1: ./d2: d3 f2 ./d4: d5 |
#find . -type d -a -name "d*" -maxdepth 1 | xargs ls
![]() find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. ./d1: ./d2: d3 f2 ./d4: d5 |
#find . -type d -a -name "d*" -maxdepth 1 | xargs ls
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. ./d1: ./d2: d3 f2 ./d4: d5 |
#cp --help
![]() Usage: cp [OPTION]... [-T] SOURCE DEST or: cp [OPTION]... SOURCE... DIRECTORY or: cp [OPTION]... -t DIRECTORY SOURCE... Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Mandatory arguments to long options are mandatory for short options too. -a, --archive same as -dR --preserve=all --attributes-only don't copy the file data, just the attributes --backup[=CONTROL] make a backup of each existing destination file -b like --backup but does not accept an argument --copy-contents copy contents of special files when recursive ... existing, nil numbered if numbered backups exist, simple otherwise simple, never always make simple backups As a special case, cp makes a backup of SOURCE when the force and backup options are given and SOURCE and DEST are the same name for an existing, regular file. Report cp bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report cp translation bugs to <http://translationproject.org/team/> For complete documentation, run: info coreutils 'cp invocation' |
#cp --help
Usage: cp [OPTION]... [-T] SOURCE DEST or: cp [OPTION]... SOURCE... DIRECTORY or: cp [OPTION]... -t DIRECTORY SOURCE... Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Mandatory arguments to long options are mandatory for short options too. -a, --archive same as -dR --preserve=all --attributes-only don't copy the file data, just the attributes --backup[=CONTROL] make a backup of each existing destination file -b like --backup but does not accept an argument --copy-contents copy contents of special files when recursive ... existing, nil numbered if numbered backups exist, simple otherwise simple, never always make simple backups As a special case, cp makes a backup of SOURCE when the force and backup options are given and SOURCE and DEST are the same name for an existing, regular file. Report cp bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report cp translation bugs to <http://translationproject.org/team/> For complete documentation, run: info coreutils 'cp invocation' |
#find . -maxdepth 2 -type d -a -name "d*" | xargs ls
![]() ./d1: d2 ./d1/d2: d3 f2 ./d2: d3 f2 ./d2/d3: ./d4: d5 f2 ./d4/d5: |
#find . -maxdepth 2 -type d -a -name "d*" | xargs ls
./d1: d2 ./d1/d2: d3 f2 ./d2: d3 f2 ./d2/d3: ./d4: d5 f2 ./d4/d5: |
#cat who.txt
![]() root pts/0 2020-11-02 09:10 (192.168.15.11) petr pts/3 2020-11-02 09:51 (192.168.15.11) ivan pts/4 2020-11-02 09:51 (192.168.15.11) |
#cat who.txt
root pts/0 2020-11-02 09:10 (192.168.15.11) petr pts/3 2020-11-02 09:51 (192.168.15.11) ivan pts/4 2020-11-02 09:51 (192.168.15.11) |
#cat who.txt
![]() bØYUÞâ`Óß̪wdÀ¨¯zNõ þí{Îñ+¢c&Wë aɹ¥Nb~g`x<ÚµÊzs@õäþ?h²<< ;òafÆÍøïCúäw+ô¨Xhó²ç¥½ÿÿÓÁØzìMææ- N QÛÒÑ>Aè'è[Bôöñפë¬ÛÉóå|;¯Lý_á«IKëÆJÔ÷q³¦Ñúpnó@þl)ª.ó²½4XìÈÕ¼ÒÒÊØÅÁ!5F8*«¸E~ÅJNEOÂ?º%oíä6øFÒÔÄt¶æèp¿ÇAº~ãñG«B$wþòhFSêÔJiô¦ a%Ó©iéí±=.E .çëß,4dyh[QöÂhÖ&ÃeÜFÐt£¿l»³J÷&:ýãK#¶g«Î4£½±<îcyÕoWÖ´ñMKνÁþú¦°ð¦ÉéqÛ ãÇÞb»5X®'«*ËÙL¬LÁÒÈZ zLؤWþ ñ·B¸:êB}aAOe³&/Fï»âE Bí?°V z°c[Áìsö¥Çj÷¬hgB¯ôHx×ñ>mXƨ4Yç7{£L ±·Y.BPoäºz¥éì½-nÀÊ[úÃ¾ä¸ Zí.\EGeÈêô/m|Éq|¥µj¦5Dt¡z¹ ¾^¾ |u ... Máë0-ZJ=¬+þ& Ì£8_Æ-à+£!ü!Àg´(vç¦M w:囹váÓúª»« û=p¼±ñÞ^æ3Xô ¤6Á°móùÁûç> d& ÅýÇtѶÚxÓ³HB' )Wë}D 4©ó¸V;§]uùVÀÉLûýº4¼5ÃYc¬;3^¼7OÓï2r¡ ÷XÚ`©7ê¸ÏjåÌ@§Õ´Ø][¤¹ÒD÷OÒR o ÇÒªK£ÐÙrÿȲ¾jýC TF°òùÍÞ xæ<V,ÔþîÄG£\P»ìü*¸~0C±°¨E¶|'s O vG*.¶ñ 0Àñá çù¶Ã#FÄøÃ+ýíµa_âÒXyÇÍp_K ©ïiÑáuÒùEAGëýÏVfáÓûÖæhòP»Ók¯.±VzaX0î¢Æ®=_í=w_Aæiôúãß E© pÏrÚ{»5"Ë4Ôa /Z¼%ݶf`gWÀ¡«úÿVVØ4¶> ¸h ºiËmökóIç ª¶Ï/Ô¤³¦à;Ô¿ |
#cat who.txt
bØYUÞâ`Óß̪wdÀ¨¯zNõ þí{Îñ+¢c&Wë aɹ¥Nb~g`x<ÚµÊzs@õäþ?h²<< ;òafÆÍøïCúäw+ô¨Xhó²ç¥½ÿÿÓÁØzìMææ- N QÛÒÑ>Aè'è[Bôöñפë¬ÛÉóå|;¯Lý_á«IKëÆJÔ÷q³¦Ñúpnó@þl)ª.ó²½4XìÈÕ¼ÒÒÊØÅÁ!5F8*«¸E~ÅJNEOÂ?º%oíä6øFÒÔÄt¶æèp¿ÇAº~ãñG«B$wþòhFSêÔJiô¦ a%Ó©iéí±=.E .çëß,4dyh[QöÂhÖ&ÃeÜFÐt£¿l»³J÷&:ýãK#¶g«Î4£½±<îcyÕoWÖ´ñMKνÁþú¦°ð¦ÉéqÛ ãÇÞb»5X®'«*ËÙL¬LÁÒÈZ zLؤWþ ñ·B¸:êB}aAOe³&/Fï»âE Bí?°V z°c[Áìsö¥Çj÷¬hgB¯ôHx×ñ>mXƨ4Yç7{£L ±·Y.BPoäºz¥éì½-nÀÊ[úÃ¾ä¸ Zí.\EGeÈêô/m|Éq|¥µj¦5Dt¡z¹ ¾^¾ |u ... Máë0-ZJ=¬+þ& Ì£8_Æ-à+£!ü!Àg´(vç¦M w:囹váÓúª»« û=p¼±ñÞ^æ3Xô ¤6Á°móùÁûç> d& ÅýÇtѶÚxÓ³HB' )Wë}D 4©ó¸V;§]uùVÀÉLûýº4¼5ÃYc¬;3^¼7OÓï2r¡ ÷XÚ`©7ê¸ÏjåÌ@§Õ´Ø][¤¹ÒD÷OÒR o ÇÒªK£ÐÙrÿȲ¾jýC TF°òùÍÞ xæ<V,ÔþîÄG£\P»ìü*¸~0C±°¨E¶|'s O vG*.¶ñ 0Àñá çù¶Ã#FÄøÃ+ýíµa_âÒXyÇÍp_K ©ïiÑáuÒùEAGëýÏVfáÓûÖæhòP»Ók¯.±VzaX0î¢Æ®=_í=w_Aæiôúãß E© pÏrÚ{»5"Ë4Ôa /Z¼%ݶf`gWÀ¡«úÿVVØ4¶> ¸h ºiËmökóIç ª¶Ï/Ô¤³¦à;Ô¿ |
#ls -l
![]() total 20 drwxr-xr-x 3 root root 4096 Nov 2 13:16 d1 drwxr-xr-x 3 root root 4096 Nov 2 12:49 d2 -rw-r--r-- 1 root root 0 Nov 2 12:48 f1 -rw-r--r-- 1 root root 5268 Oct 13 2014 install -rw-r--r-- 1 root root 4096 Nov 2 13:22 who.txt |
#ls -l
total 20 drwxr-xr-x 3 root root 4096 Nov 2 13:16 d1 drwxr-xr-x 3 root root 4096 Nov 2 12:49 d2 -rw-r--r-- 1 root root 0 Nov 2 12:48 f1 -rw-r--r-- 1 root root 5268 Oct 13 2014 install -rw-r--r-- 1 root root 4096 Nov 2 13:22 who.txt |
#ls -l
![]() total 16 drwxr-xr-x 3 root root 4096 Nov 2 13:16 d1 drwxr-xr-x 3 root root 4096 Nov 2 12:49 d2 -rw-r--r-- 1 root root 0 Nov 2 12:48 f1 -rw-r--r-- 1 root root 5268 Oct 13 2014 install |
#ls -l
total 16 drwxr-xr-x 3 root root 4096 Nov 2 13:16 d1 drwxr-xr-x 3 root root 4096 Nov 2 12:49 d2 -rw-r--r-- 1 root root 0 Nov 2 12:48 f1 -rw-r--r-- 1 root root 5268 Oct 13 2014 install |
#ls /usr/bin/vi -li
![]() 137306 lrwxrwxrwx 1 root root 20 Jun 27 2014 /usr/bin/vi -> /etc/alternatives/vi |
#ls /usr/bin/vi -li
137306 lrwxrwxrwx 1 root root 20 Jun 27 2014 /usr/bin/vi -> /etc/alternatives/vi |