Skip to content

Oliver.net.au

Linux, life and programming

Menu
  • Home
  • About

Category: Linux

Linux related posts

Posted onFebruary 16, 2011Computers

Use xmllint and vim to format xml documents

by mattLeave a comment on Use xmllint and vim to format xml documents

If you want vim to nicely format an XML file (and a xena file in this example, 2nd line) then add this to your ~/.vimrc file: ” Format *.xml and *.xena files by sending them to xmllint au FileType xml exe “:silent 1,$!xmllint –format –recover – 2>/dev/null” au FileType xena…

Read More
Posted onFebruary 10, 2011Computers

Debian 6 GNU/KFreeBSD Grub problems on VirtualBox

by mattLeave a comment on Debian 6 GNU/KFreeBSD Grub problems on VirtualBox

Debian 6 was released the other day, with this release they not only released a Linux kernel version but they now support a FreeBSD version as well! So I decided to install it under VirtualBox and check it out… The install process went smoothly until I got to the end…

Read More
Posted onJanuary 5, 2011January 5, 2011IT

Fedora preupgrade from local mirror

by matt1 Comment on Fedora preupgrade from local mirror

If you have a local mirror and want to use it as the mirror for preupgrade then follow the these normal steps EXCEPT do the following BEFORE you run the preupgrade(-cli) command: Download the releases.txt file used: wget http://mirrors.fedoraproject.org/releases.txt Modify the releases.txt file, I changed the Fedora 14 (what I’m…

Read More
Posted onJanuary 4, 2011Computers

Bind the bash history methods

by matt3 Comments on Bind the bash history methods

Bash is an awesome shell and also very configurable. Some of bash’s build-in functions are not binded to keys, some of which REALLY should be! Bash has two very useful functions used for searching your bash history: history-search-backward history-search-forward So the question is how do we bind them. I bound…

Read More
Posted onNovember 3, 2010November 3, 2010Computers

Git remote ssh syntax

by mattLeave a comment on Git remote ssh syntax

Git makes it easy to add remote repositories to push to, best part is you can use ssh. The ‘git remote add’ command takes in a html URL like parameter for even SSH like: ssh://<user>@<host>/<path to git repo>/ NOT the standard ssh scp syntax: ssh://<user>@<host>:<path to repo>/ Which allows you…

Read More
Posted onOctober 28, 2010October 28, 2010Computers

Git clean

by mattLeave a comment on Git clean

Sometimes I find myself saying WTF, why isn’t something behaving the way I expect it do, and then get frustrated. “This is not how I’d have designed it, if I was writing it”, I guess you can call this the mantra of the OSS developer 😛 But as normal, when…

Read More
Posted onSeptember 17, 2010September 17, 2010Computers

Fedora + akmod = WIN!

by mattLeave a comment on Fedora + akmod = WIN!

Fedora is an awesome Linux distro.  Chris just informed me of an awesome feature so I thought I’d blog for everyone else’s benefit and also my own 😉 When installing a kernel module through yum, instead of installing the kmod-<module> package install the akmod-<module> version e.g: sudo yum install kmod-nvidia…

Read More
Posted onJune 1, 2010Computers

Fedora 13 upgrade woes, another problem with nvidia.

by matt2 Comments on Fedora 13 upgrade woes, another problem with nvidia.

I just upgraded to Fedora 13, all went smoothly.. or so I thought. When it finally became time login to my new system I got a error saying ksmserver wouldn’t start, and my session would then close and throw me back to the login screen. Turning to a console I…

Read More
Posted onMay 11, 2010May 18, 2010Computers

Fedora upgrade broke Xorg… SOLVED!

by matt2 Comments on Fedora upgrade broke Xorg… SOLVED!

A few of us here at work are using Fedora 12, two of the guys upgraded Fedora to find X not starting, seemingly a broken nvidia driver. Because they had issues I was careful about updates. But the inevitable happened.. I updated killing my Xorg. I decided I’d do a…

Read More
Posted onFebruary 25, 2010Computers

Use iptables to monitor network usage.

by matt2 Comments on Use iptables to monitor network usage.

Iptables is a powerful firewall/packet filtering framework inside Linux, and obviously used for firewalls on desktop, servers, and even embedded Linux devices such as most home internet routers. I was asked to write a script that could monitor and report network usage on one of our machines at work. I…

Read More

Posts pagination

Previous Page Page 1 Page 2 Page 3 Page 4 Page 5 Next Page
Amphibious Theme by TemplatePocket ⋅ Powered by WordPress