8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
say I have a big list of something like:
I want to remove the numbers of any line that has letters + 1 to 4 numbers
afg10293 (7 Replies)
Discussion started by: Siwon
2. Shell Programming and Scripting
We have few scripts where we are using grep -w option to do exact matching of the pattern. This works fine on most of our servers.
But I have encounter a very old HP-UX System(HP-UX B.11.00) where grep -w option is not available.
This is causing my scripts to fail. I need to change... (7 Replies)
Discussion started by: veeresh_15
3. UNIX for Dummies Questions & Answers
We used to use the below commands often.
ps -ef|grep bc
ps -ef|grep abc|grep -v grep
Both fairly returns the same result.
For example, the process name is dynamic and we are having the process name in a variable, how we can apply the above trick.
For example "a" is the... (11 Replies)
Discussion started by: pandeesh
4. Shell Programming and Scripting
I am processing a text file which contains only words with few combination of characters (it is a dictionary file).
Is there a way to exclude only 1 to 8 character long words which not include space or special characters : '-`~.. so... (5 Replies)
Discussion started by: alekkz
5. Shell Programming and Scripting
How to find a particular line in a file without using grep? (3 Replies)
Discussion started by: proactiveaditya
6. UNIX for Dummies Questions & Answers
I am looking for a file with 'MCR0000000716214' in it. I tried the following command:
grep MCR0000000716214 *
The problem is that the folder I am searching in has over 87000 files and I am getting the following:
bash: /bin/grep: Arg list too long
Is there any command I can use that can... (6 Replies)
Discussion started by: runnerpaul
7. UNIX for Advanced & Expert Users
I am new to Unix/Linux
I know commands and shell scripts which are useful for my project.
But i need to know the basics and commands and shell scripts in detail and easy guide.
Please refer a book.
Haripatn (6 Replies)
Discussion started by: haripatn
8. Shell Programming and Scripting
I have the following at the end of a service shutdown script used in part of an active-passive failover setup:
# Shutdown all primary Network Interfaces
# associated with failover
# get interface names based on IP's
# and shut them down to simulate loss of
... (1 Reply)
Discussion started by: mikie