10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have requirement like find the directories in unix after my my deployment is done.
generally my requirement as follows.
/data/common/scripts is folder and it has multiple scripts in this path.
I have taken the back up of scripts folder as below
/data/common/0816_scripts... (4 Replies)
Discussion started by: victory
2. Shell Programming and Scripting
I have dir structure like this :
I am trying to use wildcard ( for dirs abc,def,ghi) ..something like this :
cp xyz.txt ... (1 Reply)
Discussion started by: talashil
3. Shell Programming and Scripting
Can somebody help me with the following syntax? I want to find all
files that end with *.arc
find /tmp -name "\*$SUFFIX" -print 2>/dev/null
---------- Post updated at 03:45 PM ---------- Previous update was at 03:41 PM ----------
got it thanks
-name... (0 Replies)
Discussion started by: BeefStu
4. Shell Programming and Scripting
I am having a file (file1) having following contents
" xet B - All Divers/All Rivers - - ns - "
Now when i use
cat file1 | grep 'RF'
it doesn't returns anything.
But on using
cat file1 | grep 'RF*'
shows me... (6 Replies)
Discussion started by: sarbjit
5. Shell Programming and Scripting
I am trying to send a string as an input parameter to a function which contains a wild card character - *
However the function is taking it as:
PS: The directory - '/path/to/my/dir/' has 3 files:
However I want to disable this wild... (2 Replies)
Discussion started by: paragkalra
6. Shell Programming and Scripting
I am using RHEL5.
I have following if condition.
In the above condition, if the value of a contains word WARNING, it should match. i.e., WARNING_MESSAGE, CRITICAL WARNING, WARNING ALERT etc. it should match.
For b, alert error, ALERT ERROR, ERROR IMMEDIATE ACTION REQUIRED, etc... (2 Replies)
Discussion started by: user7509
I want to monitor my filesystem capacity and I want to df with grep wildcard for all 9*%.
Is this possible? I want to replaced all the existing complicated scripts I have in the system.
Itik (2 Replies)
Discussion started by: itik
8. Shell Programming and Scripting
Is there a way to use find command to list the directories for certain permissions. I know we can use find . -type d -perm nnn, where nnn is the permission number . However I wold like to know if I wanna search for wild card permissions i.e 75* / 7* / 55* , as i do not know the actual... (1 Reply)
Discussion started by: braindrain
9. UNIX for Dummies Questions & Answers
I would like to pass a wild card as part of an argument. But when I do it the script views the wild card as text.
sort $sFile > $sFile.sorted
What I get is MG1A*.sorted
The problem is I am passed a series of files where the first few characters like "MG1A"... (2 Replies)
Discussion started by: eja
10. UNIX for Dummies Questions & Answers
Please help me.
Suppose I have a file which contains files like:
My file :/tmp/rooh_20020518.lst
ASI00390228095244KER08 ... (1 Reply)
Discussion started by: rooh