Go Job Hunting at the LQ Job Marketplace
Go Back > Blogs
User Name



clean backgrounding with screen

Posted 07-02-2015 at 06:15 AM by Skaperen
Updated 07-04-2015 at 04:17 AM by Skaperen

i use these scripts a lot to put things in the background via the screen program. advantages include a name scheme and no noisy STDOUT.

to start a program in the background:
laptop2/forums /home/forums 8> screen-bg sleeper sleep 44444
laptop2/forums /home/forums 9> ps awx|fgrep 44444
21424 ?        Ss     0:00 SCREEN -S sleeper -dm sleep 44444
Senior Member
Posted in Uncategorized
Views 271 Comments 0 Skaperen is offline

How I would like to enhance iptables

Posted 12-04-2012 at 04:44 PM by Skaperen

There are cases where I want to change the iptables rapdily and reliably. But these cases don't really change any rule order. They only change just the IP addresses of a rule (or gang of rules).

Here's my idea. Designate some IP addresses for this special purpose, such as 0.1.X.Y where X.Y represents 65536 possible address objects. The address objects are stored in the kernel with a means for root or designated users to access them. There would be a /proc entry for this, with...
Senior Member
Posted in Uncategorized
Views 2700 Comments 1 Skaperen is offline

How I would like to use a desktop switcher

Posted 11-12-2012 at 07:01 PM by Skaperen
Updated 11-14-2012 at 03:51 PM by Skaperen

I currently use the compiz desktop switcher. It's also what is known as a "compositor", but I really don't know what all the functions are that it needs to perform. Clearly among them is switching desktops. So I guess it places windows from some sets of windows (and other GUI objects) on to and off of the screen as needed.

How compiz is working is that is displays some effect on the screen to show how you are doing switching. Some people like the cube effect where when...
Senior Member
Posted in Uncategorized
Views 707 Comments 0 Skaperen is offline

Run cron jobs using screen

Posted 09-28-2012 at 12:02 AM by Skaperen
Updated 11-12-2012 at 06:40 PM by Skaperen

I now run many (and soon to be most) of my cron jobs under the screen program. This is easily done by using the screen options "-dmS" followed by the screen session name to use, followed by the command to be run. This will quickly exit, leaving the command running in the disconnected screen session. This seems to work just fine through cron.

You can do this one of two different ways. The simple way is to specify the screen command in the crontab job file directly. Another...
Senior Member
Posted in Uncategorized
Views 1517 Comments 0 Skaperen is offline

Web sites should stop using email for signups

Posted 09-27-2012 at 11:31 AM by Skaperen

Email is so last century. Sure, many people still use it. I do to communicate with family and friends. But this is really out of place for so much other stuff. It just gets polluted with all the signups people have to do. People are now creating alternate email addresses, usually anonymous, for all these signup sites. This is so the real email, if they even have one, does not get polluted.

What good is it to do signups by email?

1. To make sure people only sign...
Senior Member
Posted in Uncategorized
Views 634 Comments 0 Skaperen is offline


All times are GMT -5. The time now is 11:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration