Customized Terminal

Started by ultra_lazer, January 13, 2012, 10:59:23 AM

Previous topic - Next topic

ultra_lazer

If you want to give your terminal a " Geeky" colorful look !, then do the following:

Open the .bashrc file in your home directory in a text editor and append the following line at the end.

PS1="\a\n\n\e[31;1m\u@\h on \d at \@\n\e[33;1m\w\e[0m\n$ "



;) have fun

techknowmagi



freebird


whoisstupidnow


r083rt

please dont just append that to the end please use export But thanks ultra for the input or should I say ouput  :P


echo 'export PS1="\a\n\n\e[31;1m\u@\h on \d at \@\n\e[33;1m\w\e[0m\n$ "' | sudo tee -a .bashrc



weVeg

nice thread! then, I want past my zsh config and some screenshot, this is my personal plugin inside .oh-my-zsh:

## file di aiuto ##

ALCUNE CONFIGURAZIONI

metasploit > db_connect dbnoyse:backbox@127.0.0.1:5432/metadog
postgresql > utente: dbnoyse psw: *****   db: metadog
openvas > utente: admin psw: *****   http://localhost:9392/
xplico >

-----------------------------------------
ALIAS IN ZSH - NOYSE PLUGIN

#NETWORKING STUFF#
alias ping="ping -c 5"
alias mywall="sudo ~/Bin/./net_tables.sh"
alias net="sudo nano /etc/network/interfaces"
alias pxc="proxychain"
alias mon0="sudo airmon-ng start wlan0"
alias setmon="sudo ~/Bin/./setmon.sh"

#VARIE#
alias -s {png,jpg,JPG,jpeg}=xdg-open
alias -s txt=gedit

alias crypt="sudo truecrypt" #Run truecrypt
alias estraigz="tar -zxvf" #estract tar.gz
alias estraibz="tar -jxvf" #estract tar.bz2
alias pressa="tar -czf" #build tar
alias scrot="scrot -c -d 5"
alias cl="clear" #clear console
alias elimina="rm -rf"
alias l+="ls */**"
alias -g N="2> /dev/null"
alias -g G="|grep "
alias -g C="| ccze -A"

alias helfo="cat ~/Bin/helfo.txt" #print this file plus other config
alias helmod="nano ~/Bin/helfo.txt" #edit my own help file
alias zconoyse="nano ~/.oh-my-zsh/plugins/noyse/noyse.plugin.zsh" #edit this file
alias zsource="source ~/.zshrc" #source zsh config file

#ANON#
alias anon="~/Bin/tor/./start &"

#SEC TOOL#
alias vega="sudo ~/Bin/vega/./Vega"
alias arpwner="sudo python ~/Bin/arpwner/main.py"
alias strip="sudo ~/Bin/./autostrip.sh"
alias karma="sudo ~/Bin/./karmaplay.sh"
alias metpay="sudo ~/Bin/./MetPay.sh"
alias w3af="sudo python ~/Bin/w3af/w3af_gui"


#APT#
alias agd="sudo apt-get update"
alias agg="sudo apt-get upgrade"
alias agi="sudo apt-get -y install"
alias agr="sudo apt-get remove"
alias agar="sudo apt-get autoremove"
alias agc="sudo apt-get clean"
alias agac="sudo apt-get autoclean"
alias acs="sudo apt-cache search"
alias repo="sudo nano /etc/apt/sources.list"
alias instdeb="sudo dpkg -i"

http://imageshack.us/g/27/201211171552261366x768s.png/
una voce libera è sempre liberatrice
under_r00t

r083rt

Nice .. I like some of your aliases   ;D

weVeg

Quote from: r083rt on November 17, 2012, 05:03:45 PM
Nice .. I like some of your aliases   ;D
Install zsh and oh-my-zsh bro! It's very coool shell!!
Power and fast!
una voce libera è sempre liberatrice
under_r00t

r083rt

yea I like zsh its a little faster and some nice and different functionailty over bash shell

Quote
oh-my-zsh

:D ;D I like what you did there !!!!

lister

I use terminator - which kicks ass for multiple terminal windows - https://www.youtube.com/watch?v=_U2Yy5B2ASU