Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Count no. of words of variable
Name: ahteck Date: June 30, 2003 at 02:43:55 Pacific OS: AIX UNIX CPU/Ram: 512
Summary: Wow, that was way easier. /sigh, time to go look over my Regular Expressions guides again. One last question, since you've already been so helpful: So let's say I have the line: 65 Mount Point: / ...
Summary: I am writing a script that checks to see if a process is running, i am using this command. ps -ef|grep -c PROCESS I have it in an if statemnt whereby if 2 or more lines are present then i echo PASS, e...
Summary: I am running a command that finds a number of files: find / -type f -name "core" -print 2> /dev/null I then want to count the number of lines or files that are returned so that i can later do an if st...