Posted in April 30, 2009 ¬ 3:32 pmh.
irkenInvader
I changed my password today on my Red Hat desktop. In the process, I misspelled the password. I tried to change it with the passwd command, but the system told me I needed more time before I was allowed to change my password. bleh.
So, I logged in as root, ran passwd myusername and typed the [...]
Read the rest of this entry »
Posted in January 6, 2006 ¬ 10:12 amh.
irkenInvader
I just wanted to capture this real quick. I’m sure most UNIX admin types have this cemented in their mind somewhere, but I always forget it:
# find . -ctime +1 -name “*.dbf” -print
I used the above command to find all .dbf ( -name “*.dbf” ) files in the current directory ( . ) that had [...]
Read the rest of this entry »
Posted in January 6, 2006 ¬ 10:02 amh.
irkenInvader
I just figured this thing out.
The client machine needs to have x-forwarding configured. Look in the
/etc/ssh/ssh_config file and make sure the ‘ForwardX11′ variable is set to
‘yes’. Also, the remote machine needs to be set to allow this
forwarding. Look in the /etc/ssh/sshd_config file and make sure the
‘ForwardX11′ variable is also set to ‘yes’. Re-start the sshd [...]
Read the rest of this entry »
Posted in January 5, 2006 ¬ 5:59 pmh.
irkenInvader
This also works on Gnome-Terminals
I found this today.
If you print a string (with the echo command, for example) starting with the ESC character and ending with the BEL character, you can change the title of the xterm you are using. For example:
# echo -ne ‘\033]0; My Terminal – ${USER}@${HOSTNAME}\007′
… will set the xterm’s title to [...]
Read the rest of this entry »
Posted in January 5, 2006 ¬ 5:38 pmh.
irkenInvader
On occasion, a very large file needs to be created for testing. For
example, you need to fill a filesystem quickly, or you want to pass very
large files around for network testing, etc. This is easy to do with
the ‘mkfile’ command:
# mkfile [-nv] size[g | k | b | m] filename
This will create a file of [...]
Read the rest of this entry »