I need to remove files from a SCO Unix system that has files inside of it. What is the command to do this? When I use rmdir, it tells me that the directories have files and cannot be removed.
Except that setting the prompt to show current location is highly shell-dependant. I'm partial to Korn shell so I use:
Code:
PS1=`uname -n`' - root $PWD => '
I have several 5.0.6 boxen that I telnet into, hence the 'uname -n'. "root" lets me know I'm in the system as GOD. "$PWD" returns the current directory location. This produces a very informative prompt:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.