Sponsored Content
Full Discussion: to copy and repeat
Top Forums Shell Programming and Scripting to copy and repeat Post 302135201 by younggun on Thursday 6th of September 2007 11:09:00 PM
Old 09-07-2007
use 'sleep n'
--------------------------
Usage: sleep NUMBER[SUFFIX]...
or: sleep OPTION
Pause for NUMBER seconds. SUFFIX may be `s' for seconds (the default),
`m' for minutes, `h' for hours or `d' for days. Unlike most implementations
that require NUMBER be an integer, here NUMBER may be an arbitrary floating
point number.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

any idea to repeat a action in VI

Any idea to repeat an action to all the lines in vi... suppose i want to delete the first word from all the lines in VI .. how would i do it ? in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
Discussion started by: myelvis
6 Replies

2. UNIX for Advanced & Expert Users

Keyboard repeat speed

I would like to increase the speed that characters repeat when a key is held. My older machines had a BIOS setting to control speed. I am using SCO Openserver. (1 Reply)
Discussion started by: tecss
1 Replies

3. UNIX for Dummies Questions & Answers

Repeat Commands

On my system I use Escape "k" to go back in commands. I read on tutorials that it is ctrl p, but that does not work on my system. Anyone know what the command to go foward is? (6 Replies)
Discussion started by: dereckbc
6 Replies

4. Shell Programming and Scripting

repeat pattern without using excel

I have a file that I need to reiterate all the lines. This is a text file with pipe delimeters, four fields and 133 lines. file1.txt ----- 0 | 0 | 1 | random TEXT1 | 0 | 0 | 2 | random TEXT2 | 0 | 0 | 3 | random TEXT3 | ... 0 | 0 | 133 | random TEXT133 | ----- Now, I need all 133... (3 Replies)
Discussion started by: ajp7701
3 Replies

5. UNIX for Dummies Questions & Answers

repeat each record n times

I have: aa01 aa02 aa03 aa04 ab01 ab02 ab03 ab04 I would like each record printed 5 times: aa01 aa01 aa01 aa01 aa01 aa02 aa02 (6 Replies)
Discussion started by: kenneth.mcbride
6 Replies

6. UNIX for Dummies Questions & Answers

Efficiently Repeat Text

Hi, Often when I use echo statements in scripts I echo a line of #'s above and below. For example: echo ##### echo hello world echo ##### However, I generally have a series of about 75 #'s. For example: echo #(x 75) echo hello world echo #(X 75) While this helps to delineate... (7 Replies)
Discussion started by: msb65
7 Replies

7. Shell Programming and Scripting

Repeat using for loop

I have a file like this 2011-10-10 10:46:00,1-1-13-1-1,151510,ALCLA0A84D2C 2011-10-10 10:46:00,1-1-13-1-1,151520,65537 2011-10-10 10:46:00,1-1-13-1-1,151515,46932 2011-10-10 10:46:00,1-1-13-1-1,151521,32769 2011-10-10 10:46:00,1-1-13-1-1,151522,32769 2011-10-10... (4 Replies)
Discussion started by: LavanyaP
4 Replies

8. Shell Programming and Scripting

Ping and repeat ?

How do i write a loop ping to see if it get timeout or hang ? it should loop every 30 second to ping a server ? ping -c 5 -t 15 www.google.com if ]; then date '+%Y-%m-%d %H:%M:%S Connection Unavailable' >> /home/sabercats/checkconnection.log else date '+%Y-%m-%d %H:%M:%S Connection... (3 Replies)
Discussion started by: sabercats
3 Replies

9. Shell Programming and Scripting

Repeat for different variable

Hey, I've created following script: var1=test1 setA=testA if ... touch $setA/$var1 ... fi I would like now the repeat the command touch (in this example) for different variables. So below, the varX should run 3 times (var1, var2, var4). Var3 is skipped in this example... (4 Replies)
Discussion started by: brononius
4 Replies

10. UNIX for Dummies Questions & Answers

How to Repeat history command?

Assume i have typed 4 commands in the past like vi `ls -t |head -n 1` tail -2 test.txt ls -lrt | grep "/etc/profile.d" pwd Now if i type r p it should execute the command "pwd" likewise r t should execute tail -2 test.txt. Note: esc k and using up arrow and down arrow will get this work... (3 Replies)
Discussion started by: Ramanareddygv
3 Replies
PING6(1)                                                           User Commands                                                          PING6(1)

NAME
ping6 - Packets to network hosts SYNOPSIS
ping6 [OPTION...] HOST ... DESCRIPTION
Send ICMP ECHO_REQUEST packets to network hosts. Options valid for all request types: -c, --count=NUMBER stop after sending NUMBER packets -d, --debug set the SO_DEBUG option -i, --interval=NUMBER wait NUMBER seconds between sending each packet -n, --numeric do not resolve host addresses -r, --ignore-routing send directly to a host on an attached network -w, --timeout=N stop after N seconds Options valid for --echo requests: -f, --flood flood ping (root only) -l, --preload=NUMBER send NUMBER packets as fast as possible before falling into normal mode of behavior (root only) -p, --pattern=PATTERN fill ICMP packet with given pattern (hex) -q, --quiet quiet output -s, --size=NUMBER send NUMBER data octets -?, --help give this help list --usage give a short usage message -V, --version print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Options marked with (root only) are available only to superuser. AUTHOR
Written by Jeroen Dekkers. REPORTING BUGS
Report bugs to <bug-inetutils@gnu.org>. COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for ping6 is maintained as a Texinfo manual. If the info and ping6 programs are properly installed at your site, the command info ping6 should give you access to the complete manual. GNU inetutils 1.9 December 2011 PING6(1)
All times are GMT -4. The time now is 07:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy