RSS

Tag Archive | "commands"

Howto Add time And Date To Your Bash History

Wednesday, August 12, 2009

0 Comments

This comes in very handy if your trying to track back when you had last run something. To enable it just simply add export HISTTIMEFORMAT="%h/%d - %H:%M:%S " to your .bashrc file echo 'export HISTTIMEFORMAT="%h/%d - %H:%M:%S "' >> ~/.bashrc Then reload your .bashrc source ~/.bashrc Now when you run history you should get a output similar to the one [...]

Continue reading...

Setting Up Arch Linux

Wednesday, June 3, 2009

0 Comments

First of all update your system pacman -Syu Install xorg pacman -S xorg-server If you have a nvidia graphics card then you need to install these pacman -S nvidia nvidia-utils If you have a ati card then you need to install these pacman -S catalyst catalyst-utils Create your system admin user useradd -m -G users,audio,lp,optical,storage,video,wheel,power -s /bin/bash YOUR-USER-NAME-HERE Now we need to set a password [...]

Continue reading...

Pastebin from command line

Thursday, May 28, 2009

0 Comments

Have you ever wanted to show data from your command line but couldn't copy it? there is now a solution the script below will allow you to paste the output of commands into the tuts4tech pastebin just copy the script below and save it in /usr/bin/pastebin then you'll be able to do | pastebin e.g [...]

Continue reading...