Ok so I am working on a command that is going to do a Dig @ a certain IP address which is enclosed in a variable.
Now I thought I had this figure out because it works. The problem is that it does not ALWAYS work.
the variable is IP=192.168.1.1
the commands I have tried are
I simply do not get it. All of these seem to work but not all the time. I'll go into one person box and it works fine and then the next one will not like it. Seems that the ones who do not like it are 1 version update behind the ones that do. But, I can't tell whats different. The bash version is the same and the freebsd version is the same. So somewhere somehow its not liking my formatting.
If I take the variable away and just do the command with the IP in there typed by hand it works fine.
Do you guys know what format would be the most universally accepted and least likely to be problematic?
I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Hi, I've created a script in csh that takes a file and checks it for mispelled words. Im almost done but I need to do two more things but I need help.
First, when displaying an incorrect word to the user, I need to show the line of the input file that contains the word.
Second,if the user... (0 Replies)
I'm using a PERL cgi script that uses rrdtool to make graphs. I can't get the syntax correct to use a degree sign (alt+0176 like this °) and also using a variable.
If I use single quotes, I can't call the variable. If I use double quotes, there is an extra symbol (Â) before the ° which goes... (2 Replies)
Hi everyone,
Is there anywhere I can find a complete table of all characters that must be escaped by the various UNIX shells and scripting languages?
It seems every command/shell/scripting language has different rules about what characters must be escaped.
I do a lot of searching and... (3 Replies)
Please excuse my indulgence.
Thank you MG Siegler and Steve Jurvetson. But most importantly, thank you Steve Jobs.
8rwsuXHA7RA
The world has lost a genius. (1 Reply)
I have a variable $max = -3;
It can be $max = +3;
I need to check if this variable is a positive/negative value.
if its positive, should print "positive" if not "negative"
How can this be done?
Thanks in advance (2 Replies)
Hello there,
first of all: I do not want to become a hacker. you cannot do that. you cannot learn that from a book.
Don't think I'm some kind of a script-kiddie.
now that's settled let's start.
I've been trying around with a lot of OS lately.
I have backtrack5 installed on my notebook,... (10 Replies)
I have a script which is reading value from property file and doing replacement in source location which contains multiple files.
property file has values
abc=xyz; yux=1;version=3.0;
bcd=123;apple==mango
when my script does search and reads value from property file.
its replacing value... (1 Reply)
Hello,
Below script works fine when I manually enter required information for each file. When it comes to shell in auto mode, it gives various errors.
I am under ubuntu 14.04 / trusty.
manual_run.sh:
#!/bin/bash
/usr/bin/ffmpeg -start_at_zero -copyts -i nicki.mp4 -c:v mpeg2video \
-b:v 500k... (3 Replies)
Discussion started by: baris35
3 Replies
LEARN ABOUT V7
clock
CLOCK(1) General Commands Manual CLOCK(1)NAME
clock - display the time in an icon or window
SYNOPSIS
clock
AVAILABILITY
This command is available with the OpenWindows environment. For information about installing OpenWindows, refer to the OpenWindows Instal-
lation and Start-Up Guide.
DESCRIPTION
clock is an OpenWindows XView utility that displays the current time in a window or icon. When the window is open, clock can display the
time in either analog or digital format. The clock window is scalable in either format.
USAGE
When the clock window is open, it has a floating menu from which you can bring up a property window. From this property sheet, you can
modify the display of the tool by selecting either the Analog or Digital choice box.
Seconds:
On the analog version, this selection starts a second hand on the face of the clock. On the digital version, it adds two dig-
its to the digital readout.
Date:
Turns on a date display for both analog and digital versions of clock.
BUGS
If you reset the system time, clock will not reflect the new time until you change its window state from open to icon, or vice versa. To
reset the system time, see date (1V).
The date display does not go well with the round clock face.
Occasionally, when clock is uncovered, the face will be visually corrupted. Use the Refresh button from the frame menu to repair.
11 June 1990 CLOCK(1)