Thread
:
Permission denied
View Single Post
#
8
(View Single Post)
24th May 2008
Carpetsmoker
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Yes, you can use
%
pwd
to check which directory you're in:
Code:
% cd /usr/ports/ % pwd /usr/ports
You can add this to your
~/.tcshrc
to show the current directory in the prompt:
Code:
set prompt = "[%~]%% " # Show current dir.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Carpetsmoker
View Public Profile
Visit Carpetsmoker's homepage!
Find all posts by Carpetsmoker