|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
Any interesting snippets?
Do any of you have any snippets or scripts you're working on?
Here's some quickies... fav is the last one, acts as a toggle - launches xorg if not currently running, else exits an xterm. Code:
alias ~ 'cd ~' alias - 'cd -' alias .. 'cd ..' alias x '[ $?DISPLAY -eq 0 ] && xinit || exit'
__________________
www.tacoshack.xyz |
Tags |
alias, csh, script, shell, tcsh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
NixOS - an interesting Linux distro. | TerryP | Off-Topic | 2 | 21st February 2011 07:44 PM |
Interesting disscussion on: Solaris vs HP-UX vs AIX | vermaden | Other BSD and UNIX/UNIX-like | 2 | 19th May 2010 09:33 AM |
Other Interesting "Security" Issue on GRUB 2 | vermaden | News | 2 | 10th November 2009 01:19 PM |
An interesting benchmark (kqueue vs. epoll) | mdh | Programming | 0 | 9th October 2008 09:49 PM |