Sponsored Content
Top Forums UNIX for Dummies Questions & Answers i dont know how to solve this error Post 302579013 by vistastar on Saturday 3rd of December 2011 09:22:16 PM
Old 12-03-2011
Of course. In bash try
Code:
$help while

example:
Code:
i=4; while [ $i -gt 0 ]; do echo $i; let i--; done;


Last edited by vistastar; 12-03-2011 at 10:58 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

how to solve error : Bind: Address Already in Use

hi i have created socket program with proper IP address and port no client side port no 1085 and 1086 gateway side port no 1086 and 1085 and port no 1087 and 1088 receiver side port no 1088 and 1087 well it works fine on client and gateway side not on receiver and gateway side... (2 Replies)
Discussion started by: bhakti
2 Replies

2. Solaris

Where/What/Howto solve warning/error msg about Kernel patch level?

required Solaris 5.10 Kernel patch 137111-03 required Solaris 5.10 Fibre Channel Device Driver patch 125184-08 I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies

3. Shell Programming and Scripting

Test argument error, unable to solve

Here is an awk statement i am using to sum a series of numbers.. awk -F"," '{ for (i=1; i<=NF ; ++i) sum += $i;} # if (i > max) max=i } END { s=""; for (i=1; i<=max; ++i) { printf "%s%s", s, sum; s=","; } printf "\n" }' filename.csv It works fine for the summing part. But since my series... (19 Replies)
Discussion started by: pravsripad
19 Replies

4. Shell Programming and Scripting

What is this error log = hda: irq timeout: error=0x00 and how to solve?

what is this error log = hda: irq timeout: error=0x00 and how to solve? every day upon checking the logs i see this error. hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies

5. Shell Programming and Scripting

How to solve awk: line 1: runaway string constant error?

Hi All ! I am just trying to print bash variable in awk statement as string here is my script n=1 for file in `ls *.tk |sort -t"-" -k2n,2`; do ak=`(awk 'FNR=='$n'{print $0}' res.dat)` awk '{print "'$ak'",$0}' OFS="\t" $file n=$((n+1)) unset ak doneI am getting following error awk:... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies

6. Solaris

Howto solve this disk error in Solaris in single user mode

Hi all, OS is Solaros 10 Sparc While doing Netbackup upgradation to 7.5 , the server was asked to reboot. But then it came up in single user mode, and after I typed format command it showed some disk error. bash-3.00# format Searching for disks...WARNING:... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

7. Solaris

Can't solve the "Too many open files" error

I keep getting "Too many open files" in /var/adm/messages that I do not know how to fix. I've searched for solution on this forum and have increased the file descriptors limit but the problem persists. The problem is happening in a solaris zone.... /var/adm/messages log example May... (8 Replies)
Discussion started by: JT-KGY
8 Replies

8. Solaris

How to solve this Error. I/O Error.?

Hi Guys, I just got this error:- Your "cron" job on server2 /usr/5bin/ssh sysmgr@server1 /usr/local/bin/sudo /opt/local/pdm/bin/mount_pdmprod produced the following output: ** /dev/rdsk/c1t5006016C446023DEd0s2 ** /dev/rdsk/c1t5006016C446023DEd1s2 ** /dev/rdsk/c1t5006016C446023DEd2s2... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

9. Shell Programming and Scripting

How to solve ambigious redirect error?

hi all, i had the below script filename = /osa/data1/output.txt printf '%27s%53s\n' ' CURRENT DATE' 26-08-2014 >> $filename iam getting the ambigiuos redirect error in the 2nd line of the code...please guide me regards, vasa saikumar (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies

10. UNIX for Beginners Questions & Answers

Bad substituion error : Dont understand why

Hi Folks - I'm getting the following error message when executing my script: $ chmod +x Winexe_Admin.sh $ ./Winexe_Admin.sh Script Name: Winexe_Admin.sh Script Name without EXT: Winexe_Admin ./Winexe_Admin.sh: line 43: ${_MAINPATH}${_LOGPATH}${LOGPATH$}${_YEAR}_${_MONTH}${_DAY}: bad... (2 Replies)
Discussion started by: SIMMS7400
2 Replies
SVN-DO(1)							 Command reference							 SVN-DO(1)

NAME
svn-do - export a source and run a command inside the source. SYNOPSIS
svn-do COMMAND DESCRIPTION
svn-do will use svn-buildpackage to export a source, run a command inside the exported source and, if the command succeeds, copy back the debian/ tree EXAMPLES
clean the tree (useful if this requires the full source tree) $ svn-do debclean I: Exporting source tree via svn-buildpackage... [...] I: Running command: debclean [...] I: Copying back the debian/ tree... 'debian/control' -> 'path/package/debian/control' use quilt to refresh a patch $ QUILT_PATCHES=debian/patches svn-do sh -c "quilt push 002_static-linking-dont-build-perf.patch; quilt refresh" [...] I: Copying back the debian/ tree... [...] 'debian/patches/002_static-linking-dont-build-perf.patch' -> '/path/package/debian/patches/002_static-linking-dont-build-perf.patch' Start a source editing session and decide later not to copy back the debian/ tree $ svn-do $SHELL [...] I: Running command: /bin/zsh % exit 1 E: command exited with 1; not copying back the debian/ tree. edit a patch in a CDBS' simple-patchsys based package $ svn-do cdbs-edit-patch 02_pmount.patch [...] SEE ALSO
/usr/share/doc/svn-buildpackage/() The svn-buildpackage HOWTO manual svn-inject(1) puts a Debian source package into Subversion repository svn-upgrade(1) upgrade source package from a new upstream revision svn(1) Subversion command line client tool dpkg-buildpackage(1) Debian source package tools lintian(1) Debian package checker AUTHORS
Eduard Bloch This manual page was written by Eduard Bloch in roff. Goneri Le Bouder Converted manpages to SGML. Neil Williams Converted manpages to DocBook XML and current Debian maintainer COPYRIGHT
Copyright (C) 2009 Eduard Bloch Release: 0.8.2 May 2009 SVN-DO(1)
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy