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

Notices


Old

bashrc tweak - colors in ssh ession

Posted 09-10-2012 at 01:06 PM by NullTerminator
Updated 09-18-2012 at 09:39 AM by NullTerminator

If you use any of a number of remote ssh clients and want to improve the color selection, here's a how to. Please credit the original authors. I'm just making it easier to find.

excellent ref @ http://ubuntuforums.org/archive/index.php/t-41538.html
Code:
 1. Edit the '.bashrc' file. You need to make a few small changes to the existing bash script.

(optional) Backup the file. Copy your existing '.bashrc' file in case you wish to restore it at a latter time. For
...
LQ Newbie
Posted in Uncategorized
Views 1447 Comments 0 NullTerminator is offline
Old

LFS 7.2 started.

Posted 09-10-2012 at 02:18 AM by ReaperX7
Updated 09-10-2012 at 02:21 AM by ReaperX7

Just got to section 5.8 of the LFS handbook, "Binutils-2.22 Pass 2", and save-stated my Virtual machine. Everything is slowly coming together.

I have a sizable build tomorrow with "GCC-4.7.1 Pass 2" and finishing the rest of the Temporary system, but I should be able to get it all done.

I started off using Slackware64 13.37 as my base platform, which turned out to be a nice platform to start with as all the tools are included by default with the...
LQ Guru
Posted in Uncategorized
Views 1612 Comments 0 ReaperX7 is offline
Old

Recover That Data

Posted 09-09-2012 at 09:50 AM by pierre2
Updated 09-09-2012 at 09:51 AM by pierre2
Tags data, win7, win8

Another day, another laptop that has crashed - gee I just gotta love M$ stuff - it's just so reliable, ain't it ?. Boot a 'nix live_cd and look at those partitions. Gee - what's that? A yellow triangle against the C: drive - that's SDA3 - ain't it? Must be, as that little, boot, partition is SDA1. No that's not right - SDA1 is PQrecovery, SDA2 is boot, SDA3 is C: drive. That's better. No it's not -the live 'nix cd can't read the partition's data - rat's that means that I can't copy out this person's...
Member
Posted in Uncategorized
Views 1374 Comments 0 pierre2 is offline
Old

same-gnome game

Posted 09-08-2012 at 08:00 PM by sundry_50
Tags same-gnome

The only game I play is same-gnome which is a strategy game. It was on my Ubuntu 10.04 but I had to dig around for a method to install it there. When I upgraded to 12.04 same-gnome was gone. Several hours later I decided there was no good way to put it in 12.04 even though I had the .deb. Desperation took over and I decided to download an 8.10 iso where I found same-gnome in the default games. Thank you VirtualBox! It requires running a virtual machine with Ubuntu 8.10 installed but I have...
Member
Posted in Uncategorized
Views 2456 Comments 0 sundry_50 is offline
Old

bash sort using a tab delimiter

Posted 09-07-2012 at 01:49 PM by NullTerminator
Updated 09-07-2012 at 02:49 PM by NullTerminator
Tags bash, sort, tab

There are several ways to sort things when fields are tab separated. The simplest I have found is
Code:
TAB=`echo -e "\t"`
sort -t"$TAB" -k 5,3 scrambledFile.tsv > sorted.tsv
syntax may vary for dos shells, possibly as
Code:
set tab=echo "\t"
sort -t"%tab%" -k5,3 scrambledFile.tsv > sortedFile.tsv
As of this posting, both variations are subject to verification of the syntax.
LQ Newbie
Posted in Uncategorized
Views 1193 Comments 0 NullTerminator is offline

  



All times are GMT -5. The time now is 05:10 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
Open Source Consulting | Domain Registration