10 More Discussions You Might Find Interesting
1. Solaris
Hi
Well I would like to know step by step process of adding a mountpoint in HAPLUS resource in SUN cluster as I go the below command to add a mount point but not the step by step process of adding a mount point in existing HA Plus resource.
clrs set -p FileSystemMountPoints+=<new_MP>... (3 Replies)
Discussion started by: amity
3 Replies
2. Red Hat
Hi All,
I am using RHEL 6 linux in my lab server and I am new to RHEL6 features.
lab1:root> uname -a
Linux lab1 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
I am facing a peculiar issue in my lab machine. When I connected via Opsware Global... (0 Replies)
Discussion started by: go2suresh1979
0 Replies
3. Shell Programming and Scripting
Please help me with this question
I have a tantan.sh under /home/mydir which is a caller to another script "tantan.sh" under /home/anotherdir
-----------------------------------------------------------
/home/mydir/tantan.sh
------------------------------------------------------------... (6 Replies)
Discussion started by: guruincredible
6 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am trying to get the position of a repeated string in a line using
grep -b -o "pattern"
In my server I am using GNU grep version 2.14 and the code is working fine. However when I am deploying the same code in a different server which is using GNU grep version 2.5.1 the code is not... (3 Replies)
Discussion started by: Subhamoy
3 Replies
5. UNIX for Dummies Questions & Answers
would like to remove the post (8 Replies)
Discussion started by: vk39221
8 Replies
6. UNIX for Advanced & Expert Users
Hey guys,
I have a file with an ID which I'm using to grep out the original record from another file. Problem is I have special characters in the original file, and grep is returning only a partial record. How can I get around this?
Appreciate your help!
Pete (3 Replies)
Discussion started by: peteroc
3 Replies
7. Shell Programming and Scripting
Can I modify the grep command to show only a process name?
Currently I run ps -efa | grep chk_web to get the following:
mousr 3395 1 0 09:36:06 pts/10 0:00 sh /var/opt/scripts/chk_web.sh
Can this be changed in any way to get only:
/var/opt/scripts/chk_web.sh or chk_web.sh.
I... (3 Replies)
Discussion started by: runnerpaul
3 Replies
8. Shell Programming and Scripting
Hello gurus,
Tired of using $? to view the execution status of the previous command.
how can I get the status directly?
definitely this is not working,
if ]
then
fi (6 Replies)
Discussion started by: biglau
6 Replies
9. UNIX for Advanced & Expert Users
I am looking for all the header files (*.h).. which as per documentation of the UNIX system shouldbe there.
I am using
find / -name *.h -print
But it does't give anything.
My question is under what condition the "find" condition will fail to find the file?
What is the work around.
... (4 Replies)
Discussion started by: rraajjiibb
4 Replies
10. UNIX for Dummies Questions & Answers
I have a file called get_columns.sh that I would like to replace $2 with $3. I have the following sed command written that works
sed s/'$3'/'$2'/g get_columns.sh > output.txt
However, when I try the command below, the file is empty.
sed s/'$3'/'$2'/g get_columns.sh > get_columns.sh
... (2 Replies)
Discussion started by: djschmitt
2 Replies