![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| /etc/shells on /etc/passwd | itik | Linux | 2 | 08-18-2009 09:40 PM |
| why we have different shells? | shahnazurs | UNIX for Advanced & Expert Users | 2 | 12-17-2008 12:36 AM |
| pipes and shells | isato | UNIX for Dummies Questions & Answers | 4 | 10-15-2008 12:15 PM |
| Shells | dino_leix | UNIX for Advanced & Expert Users | 3 | 06-08-2005 07:07 AM |
| grep group and passwd file | mozartny | UNIX for Dummies Questions & Answers | 4 | 07-17-2003 11:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
cat /etc/passwd and grep -v on /etc/shells
Hi All,
I'd like to do this cat /etc/passwd and grep -v on the /etc/shells list I'd like to find all shell that doesn't exist on the /etc/passwd. Is there an easy way without doing a egrep -v "/bin/sh|/bin/bash................"? How do I use a file /etc/shells as my list for search entries? Thanks and more power. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|