You are not logged in.
Pages: 1
Trying a simple grep piping like:
$ glxinfo | grep Rendering
Yields:
ls: cannot access 'Rendering': No such file or directory
Or:
$ps aux | grep vlc
Which yields:
ls: cannot access 'vlc': No such file or directory
Same for finding in file like:
grep Rank /mnt/data/personal/configs/pacman
Yields:
ls: cannot access 'Rank': No such file or directory
-------------
$ uname -a
Linux darkBit 4.15.7-1-ARCH #1 SMP PREEMPT Wed Feb 28 19:01:57 UTC 2018 x86_64 GNU/Linux
$ ls -lh /usr/bin/grep
-rwxr-xr-x 1 root root 156K Jul 3 2017 /usr/bin/grep
What's going on with grep?
Last edited by ninioArg (2018-03-13 05:53:53)
Offline
What does `type grep` give you?
Offline
Good catch, Scimmia! Some how it was aliased as "ls". I've changed the alias in the .bashrc file and that solved the problem.
Thanks!
Last edited by ninioArg (2018-03-13 05:54:57)
Offline
Pages: 1