09-12-2013
Quote:
Originally Posted by
rlopes
I know I can use the -i option...
...suggests that you did not.
If you have a loop in a script, you may need to use the shell's
sleep command. Although why would you not use the
-i option?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When telneting to a SUN box and incorrectly spelling your password, there is a delay of approx. 5 seconds. Is there any way to shorten this time?
OS solaris 7 (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
2. UNIX for Dummies Questions & Answers
Working on AIX 4.3
I have an active exe that accepts files for processing on our RS6000. Day to day i store these files in a secure place and at the end of the day I mv them one by one. After some reading and ofcourse trial and error i figured out that this helps...
mv `ls -l |head -l | awk... (2 Replies)
Discussion started by: buRst
2 Replies
3. Programming
Hi,
I have a doubt in introducing a delay in the programs.
We know that we do have a sleep() function/api using which
we can bring a delay in terms of seconds.
A minimum delay can be atleast 1 second.
Now I'm bothered about how to introduce a delay that is just
less than a second. Like... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies
4. Programming
How to delay a process.
I need to to delay a process from 3sec.
At that 3sec other back ground processes also should stop.
(just sit 3sec for idle & then starts execution as normally)
I use sleep(3)-But it not stop the bg processes
I try to use loop but it not gurantee to wait 3sec.
... (2 Replies)
Discussion started by: ugp
2 Replies
5. Shell Programming and Scripting
Dear all,
if we want to run a command every 5 mins to check if the process is working fine or not...
like in c, we can use a simple while loop with a delay for 5 mins...
how can we accomplish this is solaris 8/9
thanks
br/asad (5 Replies)
Discussion started by: asadlone
5 Replies
6. Shell Programming and Scripting
I have an awk script, and want to introduce a time delay. How can I do this? (3 Replies)
Discussion started by: kristinu
3 Replies
7. IP Networking
hello,
i am searching a way to delay the incoming packets before it goes out of the system may i know how can i approach to this problem? (3 Replies)
Discussion started by: sameer kulkarni
3 Replies
8. Shell Programming and Scripting
Hi,
I am trying to understand what would happen if ther is a loop without any delay like sleep statement, I feel that would add a lot of load onto the CPU. Trying to understand how the load is reduced by the introduction of sleep().
Thanks and regards
Zulfi (3 Replies)
Discussion started by: zulfi123786
3 Replies
9. UNIX for Advanced & Expert Users
Heyas
As you know me, i have scripts for about almost every aspect of my IT life.
This time, i'm having issues to figure out why my script to connect to my wifi spots takes so long when started as service.
The service file (the after:local-fs.target is for 'home installations'):
cat... (3 Replies)
Discussion started by: sea
3 Replies
10. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
LEARN ABOUT DEBIAN
urlscan
URLSCAN(1) General Commands Manual URLSCAN(1)
NAME
urlscan - browse the URLs in an email message from a terminal
SYNOPSIS
urlscan [options] < message
urlscan [options] message
DESCRIPTION
urlscan accepts a single email message on standard input, then displays a terminal-based list of the URLs in the given message. Selecting
a URL will invoke sensible-browser(1) on it (and hence any browser specified in the BROWSER environment variable).
urlscan is primarily intended to be used with the mutt (1) mailreader, but it should work well with any terminal-based mail program.
urlscan is similar to urlview(1), but has the following additional features:
1. Support for more message encodings, such as quoted-printable and base64.
2. Extraction and display of the context surrounding each URL.
OPTIONS
-b, --background
Run the Web browser in the background, so you can select another URL without closing it (this will not work with terminal-based Web
browsers such as lynx, links, or w3m).
-c, --compact
Display a simple list of the extracted URLs, instead of showing the context of each URL.
MUTT INTEGRATION
To integrate urlscan with mutt, include the following two commands in ~/.muttrc:
macro index,pager cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
macro attach,compose cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"
Once these lines are in your mutt configuration file, pressing Control-b will allow you to browse and open the URLs in the currently
selected message.
SEE ALSO
/usr/share/doc/urlscan/README, sensible-browser(1), urlview(1), mutt(1)
AUTHOR
This manual page was written by Daniel Burrows <dburrows@debian.org>.
December 10, 2006 URLSCAN(1)