10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
fileset='APP11.txt APP12.txt SPACEDB11.txt WEB11.txt WEB12.txt'
Hi there,
Give the fileset, if I can use grep to find all the files.
How do I show:
All Servers:
instead of
APP11.txt:
APP12.txt:
SPACEDB11.txt:
WEB11.txt:
WEB12.txt: (6 Replies)
Discussion started by: alvinoo
6 Replies
2. Red Hat
Hi guys. I want to know the path of a command. I tried "which" command also . But no luck.
Please tell me how to find and update the correct path of the command.
Here I'm unable to find the path of ext2online command
# resize2fs /dev/vg01/lvora_backup
resize2fs 1.39 (29-May-2006)... (3 Replies)
Discussion started by: vamshigvk475
3 Replies
3. Shell Programming and Scripting
When this command is issued from a directory other than where the file is located it works fine:
find /db2/D01/log_archive/ -name "S0002166.LOG" -type f
/db2/D01/log_archive/db2d01/D01/NODE0000/C0000000/S0002166.LOG
When I change -name to -newer, it doesn't work. Find only searches the current... (5 Replies)
Discussion started by: fletchdb2
5 Replies
4. Shell Programming and Scripting
Hi All,
In make file i want to include header files from my local directory and if it did not find in local directory i want to include from network directory. can any help me how i can do this?.
here is the code
INCLUDE=${include}/
this is point to network dir how i can add option that it... (1 Reply)
Discussion started by: goraya430
1 Replies
5. UNIX for Dummies Questions & Answers
i understand by using the pwd command we get the present working directory.
which command is used to find absolute path from home directory to root..
What is absolute path to your and root user's home directory.:confused::confused::confused: (2 Replies)
Discussion started by: shaziafathima
2 Replies
6. UNIX for Advanced & Expert Users
HI ,
I am trying to wite a script that will prompt me saying " what is path that you want to find ?". once i specify the path, the script should put this path in the find command mentioned below and execute the script:
find <path> -ctime +200 -type f -exec ls -l {} \;
for example :
... (7 Replies)
Discussion started by: bsandeep_80
7 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to autogenerate a PATH variable from the output of a find command as follows:
PATH=`find $dir -name "*.jar" | sed 's/$/:/'`
The output looks similar like this if I echo it:
PATH=/path/to/1.jar:
/path/to/2.jar:
/path/to/3.jar:
I want the path to be on one line.
I'm on... (3 Replies)
Discussion started by: rein
3 Replies
8. Shell Programming and Scripting
Hi, I've been looking for a way to make the up arrow show the last command in csh, like how it does in bash/ksh. I've been googling and just can't find anything.....anybody have any ideas? thanks! (5 Replies)
Discussion started by: sayeo
5 Replies
9. UNIX for Dummies Questions & Answers
What is the command to find the path of a file if we know the file name and the root directory where the file resides..
For eg. if a file abc.dat resides in /home/mydir/myfiles/. I am looking for a command which will be fired from / directory, takes abc.dat as input and display the path of... (3 Replies)
Discussion started by: abhilashnair
3 Replies
10. UNIX for Dummies Questions & Answers
Hello all
say i like to find files i do :
find . -name "*.txt"
but if i like to find ( and print out ) only the path's where the files are ( the *.txt files )
what can i add to the find command ? (1 Reply)
Discussion started by: umen
1 Replies