ls -la .
will show this in it:
insgesamt 1312
drwxrwxr-x 6 ruben rubo77 4096 Feb 23 06:20 .
drwxrwxr-x 23 ruben rubo77 4096 Feb 6 21:48 ..
...
But it will show the whole content of the folder too.
I could narrow the output with head
and tail
:
ls -la .|head -n 2|tail -n 1
But isn't there an option in ls
to show only the current directory you are in?
No argument to ls
necessary, the -d
option alone together with -l
will do
ls -ld
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments