[TriLUG] How many character are allowed on the command line?

Russell Harrison rtlm10 at gmail.com
Mon May 29 18:24:54 EDT 2006


On 5/29/06, Shane O'Donnell <shaneodonnell at gmail.com> wrote:
>
> I'm curious as to what sort of task merits a bash "one-liner" versus
> jumping
> out and writing a legit "script".

For my money, just for simple editing reasons, two lines would be my
> breaking point before my one-liner made the jump to "script worthy".


Try a  series of  rpm installs with http locations for the rpm locations.
Those add up in a hurry.  Nothing fancy going on just long arguments.

Curious,
>
> Shane O.
>
> On 5/29/06, Russell Harrison <rtlm10 at gmail.com> wrote:
> >
> > I know I've done bash one liners that wrapped at least a full screen of
> > text.  There had to be a good 1000 chars in that one "line".
> >
> > On 5/29/06, Ralph Blach <rcblach at blach.dnsalias.org> wrote:
> > >
> > > I am taking a class in computer science and the professor seems to
> > > indicate the the maximum number of character one can enter from the
> > > command line is 256 in both Windows command prompt  and the "IX's"
> > > command prompt.
> > >
> > > From long ago, I seem to remember that this was  256 characters was a
> > > limitation of the DOS command prompt in Windows at one time,
> > > but never in  the "IX's" such as AIX, Linux, Solaris, .... .
> > >
> > > Could the knowledgeable Trilug community comment on this?
> > >
> > > Thanks
> > >
> > > Chip
> > >
> > > --
> > > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > >
> > --
> > TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
>
>
>
> --
> Shane O.
> ========
> Shane O'Donnell
> shaneodonnell at gmail.com
> ====================
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list