LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Ugly script to sleep "accordingly" to CPU temperature, on loops

Posted 03-28-2014 at 09:40 PM by the dsc (linux-related notes)

Sometimes you have a script or one-liner loop thing that may put quite a heavy load on the CPU, that can be at least bothersome due to the noise of the fan, or somewhat worrisome if the temperature approaches or goes beyond what the processor specifications recommend, and yet the system doesn't do anything by itself to avoid it.

One could simply add some arbitrary, constant sleep time within the loop, but that will likely make the whole thing slower than it needs to be. If within...
Member
Posted in Uncategorized
Views 231 Comments 0 the dsc is offline
Old

converting all Lower chareacters to Upper and vice versa using sed

Posted 03-27-2014 at 06:30 AM by dinakumar12

sed -i 's/\(.*\)/\U\1/' samplefile #This converts the contents of samplefile (filename) from Lower to upper


sed -i 's/\(.*\)/\L\1/' samplefile #This converts the contents of samplefile (filename) from Upper to Lower
Member
Posted in Uncategorized
Views 244 Comments 0 dinakumar12 is offline
Old

SlackEX 14.1 :: build 140326

Posted 03-26-2014 at 03:35 PM by exton (Exton's Blog)
Updated 03-27-2014 at 03:15 AM by exton

New features in version 140326 of SlackEX
SlackEX build 140326 comes as a ZIP-file for direct installation to an USB stick. I have replaced kernel 3.12.6-x86_64-exton with kernel 3.13.7-x86_64-exton with support for “everything”. All packages are upgraded to the latest version by now (140326). Study the full package LIST.

Install SlackEX to hard drive
Use this INSTRUCTION . You can (if you want) use Grub2 (new GRUB) as boot loader. (Slackware original still uses LILO)....
ExTiX Admin
Posted in Uncategorized
Views 297 Comments 0 exton is offline
Old

CruxEX 3.0 64 bit :: build 140321

Posted 03-22-2014 at 04:08 AM by exton (Exton's Blog)
Updated 03-22-2014 at 09:03 AM by exton

CruxEX 3.0 2014 64bit Linux Live USB is based on CRUX 3.0 (latest version, released 130119), which is all Linux enthusiasts/nerds favorite OS. (CRUX 3.0 is a lightweight Linux distribution for the x86-64 architecture targeted at experienced Linux users). CruxEX 3.0 2014 uses the LXDE Desktop environment. I have replaced the original CRUX kernel 3.6.11 with “my” special kernel 3.13.6-cruxex, with support for “extra everything”.

Software etc
Kernel 3.13.6 is the latest available...
ExTiX Admin
Views 359 Comments 0 exton is offline
Old

Corrupt zsh history

Posted 03-21-2014 at 08:23 PM by redd9

I recently had an issue with my zsh history being corrupt. It was actually the first problem I've had with zsh. Actually, it was pretty easy to fix:

Code:
cd ~ 
mv .zsh_history .zsh_history_bad
fc -R .zsh_history
And I rebooted, and it worked great. If you're a bash user who's wondering what I'm talking about, you should check out zsh. It has great tab completion, better than bash's, and is absurdly customizable. Learn more here: http://zsh.sourceforge.net/FAQ/
Member
Posted in Uncategorized
Views 1186 Comments 0 redd9 is offline

  



All times are GMT -5. The time now is 07:33 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration