0 Members and 2 Guests are viewing this topic.
thomasd ~ echo $PS1\[\] thomasd \[\] \[\]~ \[\] \[\] thomasd ~
alias del="rm -r"
#compile and execute a program easilyfunction run { gcc -o $1 $1.c; $1; }
gcc -o HelloWorld Helloworld.c./Helloworld
run HelloWorld
alias cls="clear"alias type="cat"
history
history 3
!381
# set command prompt to Windows DOS stylePS1='$(pwd)>'
# set PATH so that user can avoid typing ./ before running executablesPATH=.:$PATH
# use / as Amiga style cd .. command. alias doesn't allow / so use functionfunction / { cd '..'; }