Connecting Tech Pros Worldwide Forums | Help | Site Map

new to unix

Member
 
Join Date: Oct 2006
Location: California, USA
Posts: 45
#1: Nov 7 '06
HI everyone, im really new to unix and im having problems solving these comands:

1- Use the command find to recursively list the names of all header files in /usr/include (e.g. eparse.h ) which begin with a vowel and then email the list to yourself (use mail command)

2- Count how many file owned by root
- i id this, but im not sure if its correct : wc -f /

3- Search through the file system ("/") for the file named "gcc". If it finds the file, it prints the location to the screen.

4- Use the command find to recursively list the names of all header files in /usr/include (e.g. eparse.h ) which begin with a vowel and then email the list to yourself (use mail command).

Im really having problems with them, i'd really hope if you guys would be able to give me tips and some help.

thanx

sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Nov 7 '06

re: new to unix


outofmymind-

It looks like everything you want there has to do with the 'find' command. In any Linux box you can type in 'man ***' and get the manual (hence 'man') page for that command (substituting the command - such as find - for the ***). That should answer most, if not all, your questions.
Reply


Similar Unix / Linux / BSD bytes