Recent Articles

GoboLinux - A Breath Of Fresh Air?
My very first reaction to GoboLinux was negative. The underlying idea of taming the Unix/Linux file system hierarchy with symbolic links isn't new: heck, SCO did that way back with their 3.2v4.0 release, and for exactly...

The Influence Of Unix On NT
For several years now I've been looking for something Bill Gates said. Unfortunately I had misremembered the actual words, and every time I found someone who thought they remembered it, they had the wrong words too and I'd come up dry yet again. Finally this week...

More Reasons To Love Unix/Linux
I did a lot of clean-up work at this website over the long Thanksgiving weekend. This was all due to radically changing the layout. Some of that was quick and simple do do, but for older pages I needed to do some...

The 15 Commands Essential for Unix
Learning UNIX is a seemingly daunting task, there are thousands of commands out there, each with hundreds of options. But in reality you only need to know a few of them. I use unix quite a bit, usually either on one...

Reconsidering The Value Of OSS Indemnification
With Microsoft agreeing not to sue Novell SLES Support Subscription customers for patent infringement issues, maybe it's time to reconsider the value of OSS indemnification? I've stated previously that...

Vi in a Nutshell
The unix text editor vi probably has more features than Microsoft Word yet I've only been using about 5 of them. Recently I've been learning a bit more about it. I now know some of the more handy features thanks to...

01.11.07


Background Tasks (Why?)

By A.P. Lawrence

A comp.unix.shell newsgroup post asked a neophyte question about how to run a script in the background.

The terse answer was, of course,

script &

While perfectly correct, that leaves out so much. I started to write what I thought would be a more complete response, but quickly realized that there is an awful lot to cover, and some of it is pretty complicated.

The new Unix user actually has a lot to learn about this.

There's the matter of controlling the output, the job priority, and interrupts. For more complex situations, process groups could be important. Job control is a whole subject by itself. It gets deep fast.

And to what purpose? Nowadays it is unusual for the average user to have any need of background processing: we just open another window. If we need to reduce priority (which is also pretty rare today), we "nice" the process in that window. Interrupts, process groups, job control: who cares?

Low Rate eCommerce & Retail Plans

I looked up "background process group" in Stevens "Advanced Programming in the Unix Environment" and took a trip down memory lane.. I haven't even thought about most of that in many years.

Probably only a few people have any need to know anything about this, and most of those only need it to pass a beginner computer science course.

A very few tech people stuck doing support for ancient systems that only provide modem access may need to remember some of this now and then, but for the rest of us, it's almost completely dead.

When was the last time you needed shell background processing and why?

I don't even own any modems anymore, but now and then I'll leave something running with "nohup" on some customer system.. but since everything runs so fast nowadays, that's pretty unusual too.

*Originally published at APLawrence.com

About UnixProNews
UnixProNews is a collection of news and commentary designed to keep you in step with the ever evolving landscape of Unix environments. News and Advice for Unix Professionals

UnixProNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITCertificationNews.com


-- UnixProNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc. All Rights Reserved Privacy Policy Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


News and Advice for Unix Professionals UnixProNews News Archives About Us Feedback UnixProNews Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact