10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i have some problems with regular expressions in a awk search pattern.
what i want to do:
i want to calculate the mean-value in the time from 00:00 to 06:00
how my data looks like:
....
04/01/13-01:40 670992 54802 80711 116460 156177
04/01/13-01:50 703725 60150 85498 ... (3 Replies)
Discussion started by: IMPe
3 Replies
2. Shell Programming and Scripting
Hi,
Im using the below command to search a file for multiple expressions if the 4th expression doesnt exist the command simply lists what it can find and ignores what it cant. Is there any way to get the command to output an error or a message if it cant find the 4th expression to a file?
... (16 Replies)
Discussion started by: 02JayJay02
16 Replies
3. Shell Programming and Scripting
Hi all,
is there anyone good at bash who will help me?
I need to use syntax ${string/pattern/replacement}
The problematic part where I am stuck is:
#!bin/bash
text="A cat is on a mat."
exp="cat"
newexp="SOMECODEcatSOMECODE"
newtext=${${text}/${exp}/${newexp}}
== > ERROR "wrong... (4 Replies)
Discussion started by: JohnnyM77
4 Replies
4. Shell Programming and Scripting
Hi,
I would like to grep for a string within a tag, can someone provide some assistance in how to do it? So I would like to use the grep command to find a string like:
<tag>sometext<tag>
because the sometext can be any number of characters or an type of number or lettering, what expression... (1 Reply)
Discussion started by: cyberfrog
1 Replies
5. Shell Programming and Scripting
Hi All,
I am using egrep command to search one pattern. Following is the command i am using
egrep -i "ACL*" filename
but its also giving me the records which do not contain ACL.
any help would be appreciated.
Regards,
Sam (3 Replies)
Discussion started by: sam25
3 Replies
6. Solaris
Hi,
Am trying to send mail from solaris host to my mailbox, but while executing mailx command am getting the follow error.Is this syntax corect?
#mailx -s "subject" <myid>
The flags you gave are used only when sending mail. (1 Reply)
Discussion started by: rogerben
1 Replies
7. Solaris
Hi,
Can anyone explain me what is RSS time in the prstat output.
In the below example 93M is total process size(correct me if am wrong ) what abt 58M?
1693 root 93M 58M cpu1 0 10 4:11:02 0.8% java/35 (2 Replies)
Discussion started by: rogerben
2 Replies
8. UNIX for Dummies Questions & Answers
Hi frnds,
i need ur help reg getdents command which is used to read the directory entries. I need to know the exact usage of the command and any sample code reg the usage of getdents command
-------------
deep :confused: (1 Reply)
Discussion started by: deep
1 Replies
9. UNIX for Dummies Questions & Answers
hi frnds,
i need all ur help guys..
I am facing problem when i give script < file name> command
whenever i give this command,i get an error message indicating
"Openpty failed.
Terminated"
:confused:
can u help me out...
with regds,
Deep (7 Replies)
Discussion started by: deep
7 Replies
10. UNIX for Advanced & Expert Users
Hi there,
I'm investigating migrating a system currently running Scos osr5 to Linux (eg RH 7.2) but there are a lot of in house scripts, some of which are probably using "Sco specific" constructs etc. One I have come across is as follows,
if ????? ]
then ....etc.etc
fi
The regular... (2 Replies)
Discussion started by: pcs7088
2 Replies