10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Ok, I should know how to do this...
I want to run crontab -l and pipe it through sed so that only those lines that do not have a # as the first character show on the screen... I know Ive doen this before but its been a decade since I scripted anything
Im working in AIX 7.1 using the crontab... (3 Replies)
Discussion started by: immagikman
3 Replies
2. AIX
I have four AIX 6.1.7.4 systems freshly built and ready for our DBAs to do their work. Of the three one runs into an odd issue while logging in as himself, using Putty with ssh protocols. He logs in successfully, but also gets the following error message:
: 3004-300 You entered an invalid login... (2 Replies)
Discussion started by: Mike Brendan
2 Replies
3. Shell Programming and Scripting
I am tryin to grep some pattern in file and redirecting it in to another file. If the file doesn't exist then it should not throw error.
eg : grep "pattern" "$path1/filename" >> newfile
I have multiple number of grep statement like this. so i cant check each and every is exist or not... ... (1 Reply)
Discussion started by: arukuku
1 Replies
4. OS X (Apple)
Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself.
But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies
5. Shell Programming and Scripting
I'm calling an embedded sql from my shell script file. This sql does simple task of spooling out the contents of the table (see below my sample code) into a spool file that I specify. So far so good, but the problem is that the output is also displayed on screen which I do NOT want.
How can I... (3 Replies)
Discussion started by: MxC
3 Replies
6. Shell Programming and Scripting
Hi gurus
I am stripping lots of email addresses from a file with this
grep "^To" file.log |awk '{print "1,"$2}' > recipients.out
file.log looks something like this:
oasndfoasnosf
To: person@email.co.uk
lsdfjosd
sdlfnmsopdfwer
dtlghodrgn
To: person2@emailsss.com
sldfnsdf
I... (5 Replies)
Discussion started by: terry2009
5 Replies
7. Linux
Hi
I want to get the info about which version of kernel patchs are installed in my system.
I am using susu10.
Rgds,
ashokd009 (1 Reply)
Discussion started by: ashokd009
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a problem I don't understand with fuser.
I launch a simple shell script mysleep.sh:
I launch the command fuser -fu mysleep.sh but fuser doesn't return anything excepted:
mysleep:
Then I modify my script switching from #!/bin/sh to #!/bin/ksh
I launch the command fuser -fu... (4 Replies)
Discussion started by: Peuj
4 Replies
9. Shell Programming and Scripting
Wondering if anybody can help with changing the output of a field. I'm needing to change the output of a field in this file:
User Process ID Time Active Licences Type
ChangeAdmin (Phys-agsdev/19353 212), start Wed 1/21 6:30 (linger: 1800)
u414013 (Phys-agsdev/19353 1491), start Wed 1/21 12:54... (5 Replies)
Discussion started by: Glyn_Mo
5 Replies
10. UNIX for Dummies Questions & Answers
Hi, can anyone tell how can i check kernel memory and paging info etc.. thanks, Mazhar (6 Replies)
Discussion started by: mazhar99
6 Replies