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, then you don't need to use cat first.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1382223110.705.37.camel@archlinux

Reply via email to