10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I am a newbie here. I have this requirement to find a file based on a pattern then return the filename if found.
I created a script based on online tutorials. Though, I am stuck & really appreciate if anyone can have a quick look & point me to the right direction?
#Script starts... (10 Replies)
Discussion started by: buster_t
10 Replies
2. Shell Programming and Scripting
Hi,
We've a list of files that gets created on a weekly basis and it has got a date and time embedded to it. Below are the examples. I want to find out how to get the latest files get the date and time stamp out of it.
Files are
PQR123.PLL.M989898.201308012254.gpg... (1 Reply)
Discussion started by: rudoraj
1 Replies
3. Shell Programming and Scripting
Hi,
I am working in solaris.I am using below script to copy the files from /usr/tmp to /usr/gm
But while running this it is not considering the files list after the filename having space in them.
Example:-
compile_custom_pll.sh
conv_data_sqlload.sh
conv_sqlload.sh
Copy of... (5 Replies)
Discussion started by: millan
5 Replies
4. Shell Programming and Scripting
Hi All
When we use find command command in Unix we get the result as
/home/user/folder/filename1
/home/user/folder/filename2
/home/user/folder/filename3
Is it possible that i only get the file name
The expected output when using find command is
filename1
filename2
filename3
I am... (13 Replies)
Discussion started by: parthmittal2007
13 Replies
5. Shell Programming and Scripting
Hi every body!
I would like to get only filename in the result of find command in Linux but I don't know howto. Tks so much for your helps. (5 Replies)
Discussion started by: nguyendu0102
5 Replies
6. Shell Programming and Scripting
Hi i would like to ask on how to accomplish the FF:
I want to execute a find command recursively and only get the filename something like i want only the last field set if is used ever the fieldvset as an redirection from the output of the find command
For example:
dir1/dir2/filename1... (2 Replies)
Discussion started by: jao_madn
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I want to find out function name based on word.
Here i ll give u one example
I have several files based on below format. file will start and ends with same name only
EX: file1.txt
public function calculate1()
{
----
----
call Global Function1()
----
----
} END... (9 Replies)
Discussion started by: spc432
9 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am currently using the following command:
files=(ls enuCPU??.????.exp ntuCPU??.????.exp)
I need to now change the commmand to store the file names of files that have been modified before datetime equal to say '02/16/2008 20:30:00'
What could I use? (2 Replies)
Discussion started by: edisonantus
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am writing a script where i need to list all the files that have a scecific timestamp. I get this time stamp from another file. Is it possible to do this with 'find' command?
Please let me know your valuable inputs.
Thanks
Sunny. (1 Reply)
Discussion started by: sunny_03
1 Replies
10. UNIX for Dummies Questions & Answers
:confused: There is a flat file on my system which contains email addreses of people in my company. This file is utilized when sending notifications for various things. However nobody knows where this file is located or what it is named. The only thing we know is the email address of a user who... (4 Replies)
Discussion started by: kollerj
4 Replies