Archive for the 'GNU/Linux' Category

Changing Your IP Address to Static on Ubuntu Server

Friday, July 11th, 2008

sudo nano /etc/network/interfaces
update the file to look like the following (of course change to your network info)
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
sudo /etc/init.d/networking restart
References
http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/

Location of “Trash” in Ubuntu 8.04

Thursday, May 15th, 2008

Not sure when the happened, but the location of “Trash” has moved from “~/.Trash” to “~/.local/share/Trash”.  There is also a new structure for the trash folder.  It has a directory named “files” for the deleted files. There is an additional directory named “info” which contains when the files were deleted & where they were deleted [...]

How to Install Fonts in Ubuntu 8.04

Saturday, May 10th, 2008

The way to install fonts in Ubuntu 8.04 has changed a little, and in my option it is a bit easier.

open the “.fonts” folder in your home directory

You probably have to create it first
make sure you can view hidden files

copy your font files to this folder
next time you open your application, the fonts should be [...]

Ubuntu/Firefox 3 Huge CSS Font Fix

Wednesday, May 7th, 2008

Recently after upgrading to Ubuntu 8.04/Firefox 3, all of my CSS fonts have been HUGE! I didn’t have the opportunity to look for a solution, so I have been using Opera as my primary browser. After finally getting a little time to dig, I found a quick fix using the following steps.

Type “about:config” in the [...]

Dell Knows Linux

Monday, May 5th, 2008

Seems that Dell is a pretty good judge of Linux character
First major company to factory install Red Hat Linux corporate systems.
http://www.redhat.com/about/news/prarchive/1999/press_linuxsuccess.html
First to install ubuntu in 2007
http://www.ubuntu.com/news/dell-to-offer-ubuntu

Screen Shortcuts

Tuesday, March 4th, 2008

start “screen”
create new window “ctrl-a c”
switch to next window “ctrl-a n”
switch to previous window “ctrl-a p”
switch to list of windows “ctrl-a “”
switch to a particular window “ctrl-a <number>”
detach sreen “ctrl-a d”
reattach sreen “screen -r”
kill a window “ctrl-a k”
rename a window “ctrl-a A”
Move between split sections of the screen “ctrl-a <TAB>”
Split the current window in two [...]

Find (and delete) Duplicate Files On Linux

Friday, February 29th, 2008

fdupes is a program for identifying/deleting duplicate files residing within specified directories.
How I typically use it to find duplicate files
fdupes -r -n -1 -S /path/of/directory/to/search/for/dups
How I typically use it to delete duplicate files. It will prompt you for which file to delete. You can preserve multiple files by using a comma separated list of values. [...]

How to Determine the Version of Your Linux Kernel

Friday, February 8th, 2008

type “uname -r” into a terminal window

How To Clear A Terminal Screen on Linux

Monday, February 4th, 2008

Type “clear”
References
http://linux.die.net/man/1/clear

Using grep To Search For Files Containing Certian Text

Monday, February 4th, 2008

grep -lir “some text” *
-l switch outputs only the names of files in which the text occurs (instead of each line containing the text)
-i switch ignores the case
-r descends into subdirectories
References
http://www.itexpert.cz/linux-find-files-text/