10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, maybe someone could help me optimizing this little script.
It works so far, but when running, reboot does not work. If kill inotifywait reboot from shell works. I think some optimization is required here.
This script starts at the end of the boot process, from an external device and... (3 Replies)
Discussion started by: lowmaster
3 Replies
2. Shell Programming and Scripting
How can i ceck as shellscript, if a other shellscript has been started?
The other script can bee started by a other user.
The task will not run twice (5 Replies)
Discussion started by: Linuxmann
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i need to know, which ksh script are executed on boot (Sun and aix OS).
Where can i find it ? (5 Replies)
Discussion started by: nash83
5 Replies
4. Shell Programming and Scripting
Hi
I want to know if there is anyway I can find out how long it has been since I started my script or total time it has been since my script is executing.
Idea here is I want to check if my script is taking more than 30minutes to execute I want to kill that process.
Thanks in advance. (1 Reply)
Discussion started by: dashing201
1 Replies
5. AIX
How can I from within a script, find out if that script was started using 'sudo' and by a valid soduer ? (1 Reply)
Discussion started by: Browser_ice
1 Replies
6. Shell Programming and Scripting
I try to write a python script, which analyze user logon time with "who" command.
When i start script in bash, i get this result:
USER=mnadmin tty7 2009-04-18 11:37 (:0)
But when i start script in cron, i get result like this:
USER=mnadmin tty7 Apr 18 11:37 (:0)
I see -... (2 Replies)
Discussion started by: jrush
2 Replies
7. UNIX for Dummies Questions & Answers
hi world,
I am trying to learn how to program in c, I've gotten a few books and have been reading them, one even came with bloodshed dev-c compiler, it is not working, every time I build the hello world program it always comes back saying " G__~1.EXE: installation problem, cannot exec `cpp': No... (1 Reply)
Discussion started by: jsayres
1 Replies
8. Shell Programming and Scripting
When I run the following script I get the following error message whcih I would like to suppress when the kill is issued:
./kill.sh: line 13: 31854 Killed nc -l -p 12345
Script:
#!/bin/bash
echo running nc in the background
nc -l -p 12345 &
PID=$!
echo nc pid: $PID
... (1 Reply)
Discussion started by: cmarkle
1 Replies
9. UNIX for Dummies Questions & Answers
Hi im a 15 year old, interested in beggining things like this...my main inpiration came from this article...How To Become A Hacker
according to this my first language shouold be python...but i have ABSOLUTELY NO CLUE about where to dowload/learn it...is there anything else i should do along... (1 Reply)
Discussion started by: SonOfSparta
1 Replies
10. UNIX for Dummies Questions & Answers
Dear all,
I just found out that my company is thinking of installing a unix server and is considering either sun or ibm.
The thing is that i want to learn these two systems before they take a decision and maybe it will be a big career booster.
The problem is that i don't know anything about... (7 Replies)
Discussion started by: patslaiby
7 Replies