10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am executing 2 queries and output is saved in file1.txt and file2.txt
example of file1.txt
Testing word Doc.docx,/Lab/Development and Validation/Multitest/MT_010708/Testing,Development and Validation,root,11-Mar-2014,,,,,
Testing Excel _.xlsx,/Lab/Development and... (3 Replies)
Discussion started by: Sunil Mathapati
2. Shell Programming and Scripting
Hello all. This is my first post/question on this site.
I’m a new Systems Analyst with previous experience with BASH. Although now I'm using AIX, and I’m trying to get a feel for the Korn shell (for those of you that don’t know AIX only uses the KORN shell).
I hope I put this into the correct... (10 Replies)
Discussion started by: sydox
3. UNIX for Dummies Questions & Answers
I need to print directories using find command. The directories names contain date in the format YYYYMMDD or the name of directory is only the date format. I want print directories, which doesn't start with this date.
E.g I have dirs like
20120101foo... (1 Reply)
Discussion started by: satin1321
4. Shell Programming and Scripting
I am trying to use regex wtih find command in KSH. For some reason it is not working as expected.
(Basically I want to find all... (6 Replies)
Discussion started by: vinay4889
5. Shell Programming and Scripting
first post here, trying to learn scripting on my own and this forum as been really helpful so far. I made few little scripts working great but I m facing some problems with RE.
I have a bunch of files in many subdirectories called *001.ext *002.ext OR simple *.ext or *01.ext... (7 Replies)
Discussion started by: Sekullos
6. Shell Programming and Scripting
i have a file which has mutiple line in it.
inside that i have a pattern similar to this
i want to fine the pattern starting with "/" and get the first word in between the the symbols "/" i.e. "abc" in this case into a variable.
thanks in advance (13 Replies)
Discussion started by: kichu
7. Shell Programming and Scripting
I'm using bash and brand new to shell script. I would like to do the following.
I have a string which is "UPDATE=1.0". I would like to read the value "1.0" alone in a variable. i.e the things afer "=" How do I do that?
Thanks, (1 Reply)
Discussion started by: scriptfriend
8. Shell Programming and Scripting
I am taking the current time using localtime function in perl. For example if the time is:
$time = "12:3:10";
I have to replace the value 3 (03) i.e second position to be 03.
The output should be:
But if the other string for example:
$str:... (1 Reply)
Discussion started by: vanitham
9. UNIX for Dummies Questions & Answers
I want to find the files available in a directory /var/user/*/*/data/.
I tried using the command "find /var/user/ -path '*/*/data/ -name '*' -type f" it says find: 0652-017 -path is not a valid option and then i tried using "find /var/user/ -name '*/*/data/*' -type f" but its not... (3 Replies)
Discussion started by: vinothbabu12
10. Shell Programming and Scripting
I have following strings in a file
What i need to do is replace the date 20070416 with anoth date which is stored in... (4 Replies)
Discussion started by: divz