Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #270143
| From | Keith Bainbridge <keithrbau@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Maximum size .bash_aliases file |
| Date | 2024-06-17 10:30 +0200 |
| Message-ID | <IQfUu-3xza-7@gated-at.bofh.it> (permalink) |
| References | <IPThf-3iGI-5@gated-at.bofh.it> <IPYAh-3m1c-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 16/6/24 23:50, Greg Wooledge wrote: > On Sun, Jun 16, 2024 at 06:13:36PM +1000, Keith Bainbridge wrote: It was late afternoon on 16Jun2024 that I wrote this. Possibly 18:13:36 when I pressed send. I'd reckon it would likely have been 08:13:36 UTC What's wrong with my system clock. I've not really looked at the time on my originals before. I'll try to remember to enter my local time as I press send >> Environment Variables: Bash has a limit on the number of environment >> variables it can store, which is typically around 32,000. If you define too >> many aliases, you may exceed this limit, causing issues with your shell. > > This is not strictly true. There is no limit imposed by bash; but > there is a limit imposed by the *kernel* on the total size of the > environment plus the argv[] argument vector passed to a process. > > <https://www.in-ulm.de/~mascheck/various/argmax/> documents this > extremely thoroughly. > > In most cases, when a problem arises with hitting this limit, it's > because the argument list is too long, not the environment. You seem > to be hitting it from the other direction, though. > > Solution: "don't do that". > >> Shell Scripting: Bash scripts have a limit on the number of commands >> they can execute, which is typically around 64,000. Thanks Greg Your comments on the summary provided by the search engine will make me read them with a bigger grain of salt. > > Well... that sounds like you're filling up the table of exit statuses > that have been reaped internally. I think there might have been some > bugs in older versions of bash concerning this issue as well. Ummm could I be doing this without knowing what it means? > > Some people have reported this issue when they run an infinite loop with > an external command inside it (e.g. sleep). I have 1 sleep line in what is now a function. It was added in an effort to get the USB to unmount after the back-up process and cd to~. I did get a command prompt back, but the USB was still mounted according to df > > I don't recall off the top of my head how to work around this issue, if > you're writing "daemon scripts" that run forever and spawn external > commands within a loop. You might need to Google it. It's a bit > esoteric. And I'd suggest beyond me > >> If you define too many >> aliases, you may exceed this limit, causing issues with your shell scripts. > > Huh? I have no idea what this means. Bash doesn't have a limit on the > number of aliases you can define, as far as I know. This is again part of the search engine synopsis > > Aliases do not work in shell scripts, by default. You would have to turn > them on with a shopt. I recommend not doing that. They're disabled > because they suck. Use functions instead of aliases, when writing scripts. > They're far more sensible and flexible. You are re-enforcing other stuff I read last night. > I hope this and my several other responses find you bright and bubbly on a Monday morning. I'm home from a day of cryptic crossword class, and minding 2 month old grand daughter etc. I hope my responses aren't too short. the time is 17Jun2024@18:25:58 -- All the best Keith Bainbridge keithrbau@gmail.com keith.bainbridge.3216@gmail.com +61 (0)447 667 468 UTC + 10:00
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-16 10:20 +0200
Re: Maximum size .bash_aliases file Richard <rrosner5@gmail.com> - 2024-06-16 15:30 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-17 10:50 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-16 16:00 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-17 10:30 +0200
Re: Maximum size .bash_aliases file gene heskett <gheskett@shentel.net> - 2024-06-17 13:00 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-17 13:30 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-18 10:30 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-18 13:10 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:00 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-17 16:20 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-17 16:30 +0200
Time, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-17 17:40 +0200
Re: Time, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-17 17:50 +0200
Re: Time, was Re: Maximum size .bash_aliases file eben@gmx.us - 2024-06-17 19:30 +0200
Re: Time, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:10 +0200
Re: Time, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:10 +0200
Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-17 18:30 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-17 19:30 +0200
Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-17 19:50 +0200
System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-18 07:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-18 10:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Jeffrey Walton <noloader@gmail.com> - 2024-06-18 10:20 +0200
RTC, was Re: System time/timezone David Wright <deblis@lionunicorn.co.uk> - 2024-06-19 06:10 +0200
Re: RTC, was Re: System time/timezone Nicholas Geovanis <nickgeovanis@gmail.com> - 2024-06-19 21:20 +0200
Re: RTC, was Re: System time/timezone Greg Wooledge <greg@wooledge.org> - 2024-06-19 21:40 +0200
Re: RTC, was Re: System time/timezone Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-20 04:00 +0200
Re: RTC, was Re: System time/timezone Max Nikulin <manikulin@gmail.com> - 2024-06-20 04:00 +0200
Re: RTC, was Re: System time/timezone Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:20 +0200
Re: RTC, was Re: System time/timezone Michael Stone <mstone@debian.org> - 2024-06-20 05:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-19 06:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-19 06:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-18 13:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-19 06:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-19 13:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Jeffrey Walton <noloader@gmail.com> - 2024-06-19 19:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-20 07:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Jeffrey Walton <noloader@gmail.com> - 2024-06-20 07:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file tomas@tuxteam.de - 2024-06-20 08:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Max Nikulin <manikulin@gmail.com> - 2024-06-21 04:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-21 05:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-21 06:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-22 17:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-22 18:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Nicholas Geovanis <nickgeovanis@gmail.com> - 2024-06-23 04:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-23 05:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-23 06:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-23 07:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file gene heskett <gheskett@shentel.net> - 2024-06-23 08:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file eben@gmx.us - 2024-06-23 15:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file gene heskett <gheskett@shentel.net> - 2024-06-23 16:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-26 02:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file eben@gmx.us - 2024-06-26 15:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Curt <curty@free.fr> - 2024-06-24 15:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Curt <curty@free.fr> - 2024-06-24 15:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Bret Busby <bret@busby.net> - 2024-06-24 17:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Heriberto Avelino <heriberto.avelino@gmail.com> - 2024-06-26 00:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Bret Busby <bret@busby.net> - 2024-06-24 17:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file eben@gmx.us - 2024-06-24 18:10 +0200
Re: System time/timezone Felix Miata <mrmazda@earthlink.net> - 2024-06-24 18:20 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file The Wanderer <wanderer@fastmail.fm> - 2024-06-25 00:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file John Hasler <john@sugarbit.com> - 2024-06-25 00:20 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file The Wanderer <wanderer@fastmail.fm> - 2024-06-25 00:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file "Andrew M.A. Cater" <amacater@einval.com> - 2024-06-25 10:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file debian-user@howorth.org.uk - 2024-06-26 12:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file John Hasler <john@sugarbit.com> - 2024-06-26 18:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-26 19:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-28 06:20 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Erwan DAVID <erwan@rail.eu.org> - 2024-06-28 07:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file John Crawley <john@bunsenlabs.org> - 2024-06-28 08:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-28 11:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file John Crawley <john@bunsenlabs.org> - 2024-06-30 03:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-06-25 20:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-25 21:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-26 03:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-26 02:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-26 02:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-23 14:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-24 02:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Curt <curty@free.fr> - 2024-06-23 17:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-26 02:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-21 13:20 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-22 17:00 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-22 18:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-23 06:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Jeffrey Walton <noloader@gmail.com> - 2024-06-23 07:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-21 06:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Max Nikulin <manikulin@gmail.com> - 2024-06-22 05:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-22 07:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-22 17:20 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-23 04:40 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-23 05:10 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file John Hasler <john@sugarbit.com> - 2024-06-23 21:50 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-26 02:30 +0200
Re: System time/timezone, was Re: Maximum size .bash_aliases file Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-20 04:00 +0200
time display was: Re: Maximum size .bash_aliases file debian-user@howorth.org.uk - 2024-06-17 17:00 +0200
Re: time display was: Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-17 17:10 +0200
Re: time display was: Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:20 +0200
Re: time display was: Re: Maximum size .bash_aliases file Default User <hunguponcontent@gmail.com> - 2024-06-22 16:30 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-20 13:10 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-20 13:20 +0200
Re: Maximum size .bash_aliases file The Wanderer <wanderer@fastmail.fm> - 2024-06-20 13:30 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:30 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-22 16:10 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-21 06:30 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-22 10:40 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-22 16:10 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-22 17:00 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-22 18:30 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-23 06:30 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-25 10:40 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-25 13:20 +0200
Re: Maximum size .bash_aliases file debian-user@howorth.org.uk - 2024-06-25 14:30 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-25 15:00 +0200
Australia/Eucla timezone abbreviation (was: Re: Maximum size .bash_aliases file) Max Nikulin <manikulin@gmail.com> - 2024-06-25 17:20 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-22 17:10 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-25 10:50 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-17 06:40 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-17 10:50 +0200
Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-17 11:20 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-17 14:10 +0200
Re: Maximum size .bash_aliases file <tomas@tuxteam.de> - 2024-06-17 14:20 +0200
Re: Maximum size .bash_aliases file Greg Wooledge <greg@wooledge.org> - 2024-06-17 13:30 +0200
Re: Maximum size .bash_aliases file David Wright <deblis@lionunicorn.co.uk> - 2024-06-17 17:50 +0200
Re: Maximum size .bash_aliases file Keith Bainbridge <keithrbau@gmail.com> - 2024-06-17 11:00 +0200
csiph-web