Archive

Archive for the ‘Bash’ Category

Howto: Not have Nouveau kernel module take over nVidia drivers

June 21st, 2010 Quail No comments

Since the last Debian testing kernel (2.6.32.5) update, I have rebooted and found myself being in what seems to be a kernel issue, where by a module “nouveau” by default seized control of the graphics card which prevents the nVidia driver from loading and would not allow me to compile and install the nVidia proprietary driver either. I also didn’t not have “xserver-xorg-video-nouveau” installed.

Here is the work around I used to resolve the problem.

If you use grub2 then edit

/etc/default/grub

then add

nouveau.modeset=0

to the end of the line that reads

GRUB_CMDLINE_LINUX_DEFAULT=”quiet”

(“quiet” seems a typical default option), so that that line now reads

GRUB_CMDLINE_LINUX_DEFAULT=”quiet nouveau.modeset=0″

run

update-grub2

and reboot.

Now go through and install you nVidia drivers as per normal.

Categories: Bash, Debian, Hardware, Howto, Xorg Tags:

Internode Usage meter for Conky

April 8th, 2010 Quail 1 comment

This is a rework of the script from Internet Usage Monitoring – conky style! But the only problem I found is that it not wanted to work with my NodeMobile account. So here is my rewrite of parts of the script to use the other Internode Usage API url.

One thing you need to find out for this script to work is the service number for the account you want to get the usage for. That can be easily obtained by pointing your web browser to https://customer-webtools-api.internode.on.net/api/v1.5/ and logging in.

Read more…

Categories: Bash, Debian, Eye Candy, Howto, Internode, Linux, Ubuntu Tags:

LINK: “INX Is Not X”, Version 1.0.

October 7th, 2008 Quail No comments

INX is a “Live CD” distribution of GNU/Linux, derived from Ubuntu 8.04.1 LTS, but using “ubuntu-minimal” and “ubuntu-standard” as a base. It is console only, without any graphical “X” programs.

INX is intended as a “tutorial” and introduction to the Bash command line, but is a fully capable, portable GNU/Linux system in its own right. It has a collection of easy-to-use menus, colour themes, easy configuration tools, music (and video on the frame buffer), some games, and several surprises for those who are not aware of what can be done in a console/tty.

INX is fun, and not intimidating for console beginners.

INX 1.0 also includes new features; you can now set up wireless with the “Ceni” tool from the INX “Net & Web” menu. You can use your mouse with programs like xlinks2, elinks, mc, and the jed text editor. In addition to the powerful GNU Screen program, INX now sports the “Dvtm” Dynamic Virtual Terminal Manager, a “tiled terminal manager”.

To get further info and download the ISO visit here

Categories: Bash, Ubuntu Tags:

Bash keyboard shortcuts

November 23rd, 2007 Quail No comments

CTRL Key Bound
Ctrl + a – Jump to the start of the line
Ctrl + b – Move back a char
Ctrl + c – Terminate the command
Ctrl + d – Delete from under the cursor
Ctrl + e – Jump to the end of the line
Ctrl + f – Move forward a char
Ctrl + k – Delete to EOL
Ctrl + l – Clear the screen
Ctrl + r – Search the history backwards
Ctrl + R – Search the history backwards with multi occurrence
Ctrl + u – Delete backward from cursor
Ctrl + xx – Move between EOL and current cursor position
Ctrl + x @ – Show possible hostname completions
Ctrl + z – Suspend/ Stop the command

ALT Key Bound
Alt + < – Move to the first line in the history
Alt + > – Move to the last line in the history
Alt + ? – Show current completion list
Alt + * – Insert all possible completions
Alt + / – Attempt to complete filename
Alt + . – Yank last argument to previous command
Alt + b – Move backward
Alt + c – Capitalize the word
Alt + d – Delete word
Alt + f – Move forward
Alt + l – Make word lowercase
Alt + n – Search the history forwards non-incremental
Alt + p – Search the history backwards non-incremental
Alt + r – Recall command
Alt + t – Move words around
Alt + u – Make word uppercase
Alt + backspace – Delete backward from cursor

Special Keybindings
Here “2T” means Press TAB twice

$ 2T – All available commands(common)
$ (string)2T – All available commands starting with (string)
$ /2T – Entire directory structure including Hidden one
$ 2T – Only Sub Dirs inside including Hidden one
$ *2T – Only Sub Dirs inside without Hidden one
$ ~2T – All Present Users on system from “/etc/passwd”
$ $2T – All Sys variables
$ @2T – Entries from “/etc/hosts”
$ =2T – Output like ls or dir

Categories: Bash Tags:

Bash output piped into columns

September 3rd, 2007 Quail No comments

Sometimes, some commands output are not really readable.

Example :

$ mount

Readability can be improved by piping “mount” into the command “column”

$ mount | column -t

Categories: Bash, Linux Tags:
-->

Bad Behavior has blocked 19 access attempts in the last 7 days.