Did you mean ls -1? ls -l is long listing, does not start with filename, Example can't work as written
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bash in Ubuntu. https://bugs.launchpad.net/bugs/1817052 Title: bug with ls command, doesn't list only a single directory. Status in bash package in Ubuntu: New Bug description: If is the only one which starts with an specified letter, won't show it with grep. Example: if there is only a directory starting with 'w', ls -l | grep ^[w] won't show it. With ls -l w* happens the same problem. I think you should check. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: bash 4.4.18-2ubuntu1 ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18 Uname: Linux 4.15.0-43-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Thu Feb 21 12:37:04 2019 ExecutablePath: /bin/bash InstallationDate: Installed on 2019-01-13 (38 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) ProcEnviron: LANG=es_ES.UTF-8 SHELL=/bin/bash TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> SourcePackage: bash UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1817052/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp