![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hpux vg accessible but device files missing! | mariusp | Filesystems, Disks and Memory | 1 | 02-10-2007 03:18 PM |
| checking missing files in side a folder | Nayanajith | UNIX for Dummies Questions & Answers | 4 | 06-26-2006 07:05 AM |
| Missing init files for zsh and bash | maag | SUN Solaris | 2 | 05-04-2006 05:37 PM |
| Missing Library Files | jays337 | UNIX for Dummies Questions & Answers | 5 | 08-18-2005 09:23 PM |
| files missing | cubicle^dweller | UNIX for Dummies Questions & Answers | 4 | 09-22-2003 04:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ksh: Code:
for ((i=1; i<=50; ++i)) do echo $i bottles of beer on the wall done Also the Perl script up there should work just fine. Code:
perl -le 'for $i (1..50) { print $i }'
... or the yes | head | nl thing. Or dd if=/dev/zero count=1 bs=50 | tr '\000' '\012' | nl -ba or ... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|