Re: Usage of grep - Was: no .bash_hostory file was found in user home folder

2013-10-20 Thread Ralf Mardorf
On Sun, 2013-10-20 at 03:13 +0200, Markus Falb wrote: I find myself doing this on occasion. Sometimes it seems quicker to add the pipe to the previous command than to modify the whole thing. I agree with this! _But_ unfortunately many people are not aware how to use some commands better and

Usage of grep - Was: no .bash_hostory file was found in user home folder

2013-10-19 Thread Ralf Mardorf
On Sun, 2013-10-20 at 03:42 +0500, Muhammad Yousuf Khan wrote: cat /etc/passwd | grep ykhan ykhan:x:19000:19000:ykhan,,,:/home/ykhan:/bin/bash [rocketmouse@archlinux ~]$ grep rocketmouse /etc/passwd rocketmouse:x:1000:1000::/home/rocketmouse:/bin/bash IOW if you use grep,

Re: Usage of grep - Was: no .bash_hostory file was found in user home folder

2013-10-19 Thread Markus Falb
On 20.Okt.2013, at 00:51, Ralf Mardorf wrote: On Sun, 2013-10-20 at 03:42 +0500, Muhammad Yousuf Khan wrote: cat /etc/passwd | grep ykhan ykhan:x:19000:19000:ykhan,,,:/home/ykhan:/bin/bash [rocketmouse@archlinux ~]$ grep rocketmouse /etc/passwd