Questions tagged as ['ls']
so strange, is ls multi-threaded somehow? what could
ls possibly need libpthread for?
ldd /bin/ls linux-vdso.so.1 (0x00007ffff7fce000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007ffff7f57000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffff7d65000) libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007ffff7cd2000) libdl.so.2 => / ...
I found that command
ls .* shows all files and folders in upper directory. It is the same like I do
cd .. ls *
But how this achieved with one command
ls .*? What is the meaning of
* in this combination?
How to display the filenames with 4 or more characters using the ls command
ls -la commands below brings file information gcc-8 that looks strange for me. I suppose it is not link. I know there are different GCC packages with different GCC versions and it looks like I have package with GCC version 8.
How to know gcc-8 is package and not link? Where this package is located? Why other binaries does not show its packages?
ls -la /usr/bin/gcc
lrwxrwxrwx 1 root root 5 ...
I have a directory named
ls -l in the terminal at its parent directory level yields (among numerous other lines)
drwxr-xr-x 16 robin robin 4096 Oct 31 08:02 IT-documentation
Now I say
cd IT-documentation, then repeat
ls -l. Among the numerous other lines this yields is
drwxr-xr-x 2 robin robin 4096 Nov 1 10:00 'How Tos'
On November 1 a file was in fact added to the subdir ...
I want to list all ASCII files that are without extensions(.txt) in my present working directory(home).
I started with the
ls command in the terminal but i don't know what i should put in the options as i want to list files that have no extensions but only a name.
How do i do it?
As you can see on the joined picture.
1 - When I type : sudo mkdir nordvpn in /run I can create a folder "nordvpn". I type once "ls"; I can see the folder, I type a second times "ls" and the folder has disapeared.
2- When I type : sudo mkdir a in /run I can create a folder "a". I type once "ls"; I can see the folder, I type a second times "ls" and the folder is still there.
When I run
ls -1 filename, it just lists the filename, instead of permissions with filename. However, according to online resources, the output should also have permissions details of the file. I used
stat and that worked.
A few days ago I was trying to see a few files in a directory after trying the
ls command, and noticed some of them were missing. After retrying the command all files showed up. However this same issue happened again
anti_pd1_pt9.sam, showing up on the second
ls, but not in the first, last line)
It apparently knows there is something there (because of the size of the directory is the same in all li ...
I tried the command "ls -l" and "ls -lt" in the same directory, But it shows me the same output. Do they have any difference?
In order to take a look at the sizes of my VM disk images, I tried
ls -lh (as it was suggested here). And here is what it returned:
leo@ubuntu:~$ sudo ls -lh /var/lib/libvirt/images total 65G -rw------- 1 root root 26G Jul 21 15:20 a.qcow2 -rw------- 1 root root 801G Jul 21 10:44 b.qcow2 -rw------- 1 root root 401G Jul 21 11:42 c.qcow2
I found the output surprizing for two reasons:
- It appears t ...
Like it says in the heading, I don't get why the "correct" usage of
ls -d should add
*/ in order for
ls to find the directories in my current dir, where adding the trivial
. isn't helpful
This is how my
ls command looks like now in
Also, when I try to run
libreoffice) I get running
stegsolve app that I can't reinstall (even found
$ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.2 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubu ...