LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Bash variables storing the output of commands run them at each variable statement, not just at some eventual invocation

Posted 08-10-2016 at 04:30 PM by the dsc (linux-related notes)
Updated 08-10-2016 at 04:33 PM by the dsc
Tags bash

Meaning that a script line such as:

nowstatus=`mpc | grep '#' | cut -d '/' -f1`

Is running mpc, grep and cut at its very statement, not only from an eventual "echo $nowstatus".

Therefore, in scripts that parse differently the same output of a given command, it may be preferable to first store this output in a temporary file, and then parse this file rather than running the same command several times. Such as in the lines added below their equivalent...
Member
Posted in Uncategorized
Views 154 Comments 0 the dsc is offline
Old

ExLight is very popular!

Posted 08-10-2016 at 07:51 AM by exton (Exton's Blog)
Updated 08-11-2016 at 04:59 AM by exton (More INFO)

ExLight Linux Live DVD has been downloaded about 2000 times per week the last two months. I have therefore made a new upgraded version of ExLight today (160810). I have also created a new special WordPress site for ExLight.

WHAT’S NEW IN VERSION 160810?
1. ExLight is now based on Ubuntu 16.04.1 (alias Xenial Xerus) and Debian 8.5 Jessie.
2. I have upgraded the Desktop environment Enlightenment (Beauty at your fingertips) to version 0.20.99.0 (from 0.19.12).
3. I have...
ExTiX Admin
Views 162 Comments 0 exton is offline
Old

Upgrades

Posted 08-09-2016 at 03:43 PM by zaivala

OK, the Lenovo ThinkPad X130e ran much better than the ASUS EeePC 1015PEM. But my eyes just weren't getting any younger, so I upgraded to a Lenovo ThinkPad T430. All these machines were purchased through eBay, and the unused two are now for sale there. Nobody wants to buy them BECAUSE of Linux -- if they had Windoze on them, they'd be sold already.

I do love the T430. I'm getting moved into my new home. An old online girlfriend has decided to get serious, but we have a border in the...
Member
Posted in Uncategorized
Views 133 Comments 0 zaivala is offline
Old

Run your Slackware installation with the latest kernel – 4.7.1!

Posted 08-06-2016 at 08:25 AM by exton (Exton's Blog)
Updated 08-17-2016 at 11:02 AM by exton (New INFO)

NEWS 160817
Kernel 4.7.1-x86_64-exton is my newest Slackware kernel. Kernel 4.7.1 was released yesterday (160816).

I have compiled a very useful (as I think) 64 bit kernel for Slackware Current (14.2) and/or all Slackware derivatives. For example Slax, Zenwalk and SlackEX. The kernel is compiled exactly the same way as Slackware’s latest kernel huge. “My” kernel 4.7.1-x86_64-exton has even more support for new hardware, etc. Kernel 4.7 is the latest kernel available from Kernel.org....
ExTiX Admin
Posted in Uncategorized
Views 95 Comments 0 exton is offline
Old

Hot And gettting hotter!

Posted 08-01-2016 at 04:36 PM by onebuck
Updated 08-01-2016 at 04:38 PM by onebuck (typo)

Hi,

Summer days of July/Aug in Central Illinois are miserable at times with heat index in triple figures. I play in the senior summer league and we tee off at noon. Shows how smart we are in old age. Sure it's nice in early spring or late fall but when the heat index gets high then things can get dangerous. I drink at least 4-6 bottles of water per round and everyone teases me for drinking so much water. Still I can have some problems, at times I sweat so bad that I cannot stand...
Moderator
Posted in Uncategorized
Views 278 Comments 2 onebuck is online now

  



All times are GMT -5. The time now is 07:14 PM.

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