9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hey guys, I was wondering. When I enter a command in the terminal -wcl for a word count, where is that program located in the kernel? (7 Replies)
Discussion started by: Circuits
7 Replies
2. Shell Programming and Scripting
Hi, I have a script that seems to run to completion when in the command-line, but when it is run using the cron, it seems to time out.
They both start and run fine, but on the CRON it stops prematurely.
The script hits an API every few seconds and grabs data.
Does anyone have any idea on... (4 Replies)
Discussion started by: phpchick
4 Replies
3. Shell Programming and Scripting
Hi!
First off I'm no bin/bash script writer! :( I can make heads and tales of it from the php experience I have and that's all.
Now I managed to piece this script together to go look at directory and remove files that are +60 days. It's finding the files but its not removing them. I... (11 Replies)
Discussion started by: MrBiggz
11 Replies
4. Shell Programming and Scripting
I have a script like this:
echo "enter filername in lowercase"
read -e filername exec 2>&1
echo "type the start date in format MM/DD/YYYY"
read -e startdate exec 2>&1
echo "enter the end date in format MM/DD/YYYY"
... (2 Replies)
Discussion started by: newbie2010
2 Replies
5. Red Hat
Hi,
I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies
6. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
7. Shell Programming and Scripting
I am running a daemon program that sends texts via a connected mobile phone. I run this daemon via CLI, and it loops a few commands (checking to see if there are any new texts).
It runs perfectly, the problem is, when I leave this to run on my Ubuntu Desktop, and come back to it hours later it... (2 Replies)
Discussion started by: daydreamer
2 Replies
8. Shell Programming and Scripting
When running a ksh script, how would you time how long it took the script ran for?
Is there a command that can capture this? (1 Reply)
Discussion started by: Jazmania
1 Replies
9. Shell Programming and Scripting
I have a script that searches for specific information from log files.
#!/bin/sh
sed -n '/*C/,/END/p' /sn/log/OMlog* > crit.out
sed -n '/REPT INITIALIZATION/,/err:/p' /sn/log/OMlog* > switchcc.out
./start.awk /sn/log/OMlog* > ARs.out
./end.awk /sn/log/OMlog* > ARe.out
cat crit.out... (1 Reply)
Discussion started by: grinds
1 Replies