iceni60
May 24th, 2007, 06:10 PM
here are some nice linux tips -
Gursor Maker can import CursorXP cursor themes then export and save them in a format X can use.
http://gursormaker.sourceforge.net/
here are some cursors -
http://www.wincustomize.com/skins.aspx?libid=25
here are some useful aliases, they go in your .bashrc file which is in your home directory, you can put them at the end of the file if you want them. to run the first one run cpuu in a terminal, then it will run ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d' for you -
anything written after a # is ignored for the rest of the line. cpuu and memu below show cpu and memory usage.
# system
alias cpuu="ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'"
alias memu='ps -e -o rss=,args= | sort -b -k1,1n | pr -TW$COLUMNS'
alias pg='ps aux | grep' #requires an argument, e.g. pg opera or pg firefox
# Directory navigation aliases
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
# interactive
alias cp='cp -vi'
alias mv='mv -vi'
alias rm='mv --target-directory=$HOME/.Trash/'
# network
alias net0='sudo lsof -i'
alias net1='watch --interval=2 "sudo netstat -ano -l -A inet"'
alias net2='watch --interval=2 "sudo netstat -tulpan"'
alias ping='ping -c 10'
# chmod commands
alias mx='chmod a+x'
alias 000='chmod 000'
alias 644='chmod 644'
alias 755='chmod 755'
alias google='lynx http://google.co.uk'
that last one is useful if your GUI is broken and you need to use the internet to help fix it. (you have to have lynx installed, it's a texted based browser.)
it would be good if someone else can add some more linux tips and tricks!
Gursor Maker can import CursorXP cursor themes then export and save them in a format X can use.
http://gursormaker.sourceforge.net/
here are some cursors -
http://www.wincustomize.com/skins.aspx?libid=25
here are some useful aliases, they go in your .bashrc file which is in your home directory, you can put them at the end of the file if you want them. to run the first one run cpuu in a terminal, then it will run ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d' for you -
anything written after a # is ignored for the rest of the line. cpuu and memu below show cpu and memory usage.
# system
alias cpuu="ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'"
alias memu='ps -e -o rss=,args= | sort -b -k1,1n | pr -TW$COLUMNS'
alias pg='ps aux | grep' #requires an argument, e.g. pg opera or pg firefox
# Directory navigation aliases
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
# interactive
alias cp='cp -vi'
alias mv='mv -vi'
alias rm='mv --target-directory=$HOME/.Trash/'
# network
alias net0='sudo lsof -i'
alias net1='watch --interval=2 "sudo netstat -ano -l -A inet"'
alias net2='watch --interval=2 "sudo netstat -tulpan"'
alias ping='ping -c 10'
# chmod commands
alias mx='chmod a+x'
alias 000='chmod 000'
alias 644='chmod 644'
alias 755='chmod 755'
alias google='lynx http://google.co.uk'
that last one is useful if your GUI is broken and you need to use the internet to help fix it. (you have to have lynx installed, it's a texted based browser.)
it would be good if someone else can add some more linux tips and tricks!