Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

5

Linux - , ls.

    Linux

, dotfiles Unix, - , . , : .bashrc, , .bash_logout, , bash.

. , Linux.


Linux ls

Linux - ls -a, all.

$ ls -a [path]
ls

, , . , -A Linux. A (, .)

$ ls -al ~

total 356
drwxr-xr-x  14 schkn schkn   4096 Oct 26 06:08 .      ---    -A
drwxr-xr-x   3 root  root    4096 Jan  5  2019 ..     ---    -A
-rw-------   1 schkn schkn  43436 Oct 26 06:08 .bash_history
-rw-r--r--   1 schkn schkn    220 Apr  4  2018 .bash_logout
-rw-r--r--   1 schkn schkn   3771 Apr  4  2018 .bashrc
drwx------   2 schkn schkn   4096 Jan  5  2019 .cache

$ ls -A ~

total 348
-rw-------   1 schkn schkn  43436 Oct 26 06:08 .bash_history
-rw-r--r--   1 schkn schkn    220 Apr  4  2018 .bash_logout
-rw-r--r--   1 schkn schkn   3771 Apr  4  2018 .bashrc
drwx------   2 schkn schkn   4096 Jan  5  2019 .cache

bash_history, bash_logout, bashrc .


ls

, . Linux, ls .

$ ls -dl .[^.]* [path]

, , , .

$ ls -dl .[^.]* ~

-rw-------   1 schkn schkn 43436 Oct 26 06:08 .bash_history
-rw-r--r--   1 schkn schkn   220 Apr  4  2018 .bash_logout
-rw-r--r--   1 schkn schkn  3771 Apr  4  2018 .bashrc
drwx------   2 schkn schkn  4096 Jan  5  2019 .cache
drwx------   5 schkn schkn  4096 Jan  5  2019 .config

Linux, find

- find.

, find name.

$ find / -name ".*" 2> /dev/null

, /dev/null, , .

/dev/null - UNIX, " ", . .

, find maxdepth.

$ find . -name ".*" -maxdepth 1 2> /dev/null

find

, , find d.

$ find . -name ".*" -maxdepth 1 -type d 2> /dev/null
find

Linux, dir

dir - , ls Linux: .

ls, .

, dir -a -A.

$ dir -a [path]

$ dir -A [path]

, , :

$ dir -A ~

.bash_history            .dbshell         .mongorc.js                .viminfo          scripts

, dir , , .

ls, , .

$ dir -dl .[^.]* [path]

, :

$ dir -dl .[^.]* ~
-rw-------   1 schkn schkn 43436 Oct 26 06:08 .bash_history
-rw-r--r--   1 schkn schkn   220 Apr  4  2018 .bash_logout
-rw-r--r--   1 schkn schkn  3771 Apr  4  2018 .bashrc
drwx------   2 schkn schkn  4096 Jan  5  2019 .cache

GNOME

, , GNOME, , .

GNOME

GNOME, , .

(Show Hidden Files).

Show Hidden Files

, .


Linux: ls, find dir. GNOME, .