![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem while execution of second set of commands | ran16 | Shell Programming and Scripting | 0 | 06-15-2008 11:46 AM |
| Running UNIX commands remotely in Windows box from Unix box – avoid entering password | D.kalpana | UNIX for Dummies Questions & Answers | 1 | 04-20-2007 06:24 AM |
| use two unix commands to solve the following problem | vicky20000 | UNIX for Advanced & Expert Users | 3 | 01-20-2007 06:35 PM |
| Problem running plsql & unix commands in 1 script | siog | UNIX for Dummies Questions & Answers | 5 | 10-05-2006 11:46 AM |
| Maingrame to UNIX sending UNIX commands | skammer | UNIX for Dummies Questions & Answers | 2 | 06-27-2002 01:19 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
A problem with a few UNIX commands
Hi guys ,
I'm new in UNIX and Linux ,and would appreciate your help (very) with the following questions . 1. how can I display all the files in the /home subdirectory tree usnig find and file . I'm supposed to do this in TWO different ways 2.using grep ,I need to isolate the line int /etc/passwd that contains my loign details . how can I do that ? I've tried to use cat /etc/passwd to display its content and I can see that it has some lines containing the word "USER" but I can't figure out a way to use grep in order to isolate the lines . any hint ? 3.using find and grep and sort , I need to display a sorted list of all the files int /home subdirectory tree that contain the word hello inside them . I tried something like : grep hello 'find "*.txt" -print' ,but it doesn't work. thanks in advance guys . |
|
|||||
|
Homework is not permitted at The UNIX and Linux Forums.
Please read the rules, which you agreed to when you registered, if you have not already done so. More-than-likely, posting homework has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on. Thank You. The UNIX and Linux Forums. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|