LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Arrrgh!

Posted 03-14-2013 at 06:49 PM by davetesc

Even though I love Linux I have these moments when I think, just as I get somewhere I'm back to the start.
Having got to grips with most of the things I want from my system I now have several scripts set up so I can do things like run rsync backups and the like....
I'm a distro hopper so I usually have 3 different distros on my laptop, ( currently ubuntu studio, debian testing kde and now mint 14 xfce ) suddenly my scripts run into an error because the external drive I use always mounted...
LQ Newbie
Posted in Uncategorized
Views 321 Comments 0 davetesc is offline
Old

A good $PS1 for displaying long paths in the bash prompt

Posted 03-13-2013 at 11:29 PM by the dsc (linux-related notes)
Updated 03-13-2013 at 11:30 PM by the dsc
Tags bash, prompt, ps1

Code:
PS1='${debian_chroot:+($debian_chroot)}\t \u $(if [ ${#PWD} -gt 30 ] ; then myPWD="${PWD:0:12}…/\W" ; myPWD="${myPWD:0:25}…" ; else myPWD=$PWD; fi ; echo $myPWD) $ '
It will display full paths smaller than 30 characters entirely, but for longer paths it will get only the first characters of the whole path, and the fist characters of the last folder in the full path.

The end result is something like:

HH:MM:SS tuxguy /home/tuxguy/mystuf.../xmas...
Member
Posted in Uncategorized
Views 647 Comments 0 the dsc is offline
Old

exGENT (Gentoo) to USB Pen Drive

Posted 03-13-2013 at 12:59 PM by exton (Exton's Blog)

NEWS 130310: exGENT can easily be installed to USB. Please read this INSTRUCTION.
ExTiX Admin
Views 487 Comments 0 exton is offline
Old

Run Slackware (Exton|Defender and Exton-Slack) from a USB stick and save all system changes

Posted 03-13-2013 at 12:56 PM by exton (Exton's Blog)

I have made new versions of Exton-Slack 14.0 version 130217 and Exton|Defender version 121120. The new versions can as before be run from a USB stick. The difference now is that any changes you make to the Systems (including upgrades and new software installations) are automatically saved on the stick. You will thus be quite portable, because the Systems on the stick (of course) can run on any “normal” computer.

I’ve kept the old file names (exton-slack-64bit-kde410-906mb-130217.iso...
ExTiX Admin
Views 406 Comments 0 exton is offline
Old

Run your Slackware 64bit system better with the latest kernel!

Posted 03-13-2013 at 12:52 PM by exton (Exton's Blog)

I have compiled a very useful (as I think) 64bit kernel for Slackware 12.0 – 14.0 and/or all Slackware derivatives. For example Slax, Zenwalk , SlackEX, Exton|Defender and Exton-Slack. The kernel is compiled exactly the same way as Slackware’s latest kernel 3.2.29 huge. “My” kernel 3.8.2-x86_64-exton has even more support for new hardware, etc. Kernel 3.8.2 is the latest stable kernel available from Kernel.org. Released 20130303.

Feature OVERVIEW for the Linux 3.8 kernel
...
ExTiX Admin
Posted in Linux
Views 308 Comments 0 exton is offline

  



All times are GMT -5. The time now is 02:42 AM.

Main Menu
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