01-10-2013
Have a look at the find manpage.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a question on how to search for a pattern in a file and return a value if it is present at that particular location.
How to read each line and each character for the pattern in the file of any format.
Eg for the file format:
attached the file (1 Reply)
Discussion started by: sparks
1 Replies
2. Shell Programming and Scripting
Hi all
I need to copy the entire contents of one file into an existing file at a specific location. I know the exact line number where I need to put it. It appears I would use either sed or awk to do this, but I have been unsuccessful so far:
File A
line 1
line 2
line 3
line 4
... (6 Replies)
Discussion started by: gshepherd7
6 Replies
3. Shell Programming and Scripting
Hi Everyone,
I have 1.txt
here
a
b
c' funny"yes";
d
e
The finally output is:
here
a
b
c
d
e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies
4. Shell Programming and Scripting
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies
5. Shell Programming and Scripting
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies
6. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
7. Shell Programming and Scripting
is there any other useful command to go into a specific directory and not go into its subdirectories that operates similar to find.? (it will return the full pathname?) or is there any way to make find not go into the subdirectories of the specified directory? This is on ksh as well. (3 Replies)
Discussion started by: bjhum33
3 Replies
8. UNIX for Dummies Questions & Answers
hi all,
i am new to UNIX environment.
i have a file and directory with same name, i don't know the location
I want to find location of that file and directory.
please suggest a solution. (5 Replies)
Discussion started by: mahesh1987
5 Replies
9. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
10. Shell Programming and Scripting
Dear All,
I need to transfer all files present in one location to another but those files should be of specific extension like.
Find and copy all files of extension .xls, .pdf, .txt from location usr/tmp to location /per/Treat (6 Replies)
Discussion started by: yadavricky
6 Replies
LEARN ABOUT LINUX
undocumented
UNDOCUMENTED(7) Linux Programmer's Manual UNDOCUMENTED(7)
NAME
undocumented - No manpage for this program, utility or function.
DESCRIPTION
This program, utility or function does not have a useful manpage. Before opening a bug to report this, please check with the Debian Bug
Tracking System (BTS) at <http://bugs.debian.org/> if a bug has already been reported. If not, you can submit a wishlist bug if you want.
If you are a competent and accurate writer and are willing to spend the time reading the source code and writing good manpages please write
a better man page than this one. Please contact the package maintainer and copy man-pages@qa.debian.org in order to avoid several people
working on the same manpage.
Even if you are not an accurate writer, your input may be helpful. Writing manual pages is quite easy, the format is described in man(7).
The most important and time-consuming task is to collect the information to be put in the new manpage.
DIAGNOSTICS
It is possible that the man page for the command you specified is installed and that your manual page index caches are out of sync. You
should try running mandb(8).
Try the following options if you want more information:
foo --help, foo -h, foo -?
info foo
whatis foo, apropos foo
dpkg --listfiles foo, dpkg --search foo
locate '*foo*'
find / -name '*foo*'
Additionally, check the directories /usr/share/doc/foo, /usr/lib/foo.
The documentation might be in a package starting with the same name as the package the software belongs to, but ending with -doc or -docs.
If you still didn't find the information you are looking for you might consider posting a call for help to debian-user@lists.debian.org.
SEE ALSO
info(1), whatis(1), apropos(1), dpkg(8), locate(1), find(1), updatedb(1), undocumented(3), man(7), mandb(8), missing(7).
Debian GNU/Linux August 24th, 2003 UNDOCUMENTED(7)