Define ROOTDIR , /
Hi,
I would like to open a terminal like xterm or mintty and establish the root directory for that session of ksh or bash. Such that "/" or root can be defined to be of your choosing, .ie "/" = C: or C:/somedir. How do I do this. cygwin does this but I don't see how it's done. Thanks, Keith |
If(!) this is actually on Linux, then it doesn't work that way.
*nix does not use C:, D: etc.. All dirs are in one dir tree which subsumes all disks... Perhaps you could explain a bit more exactly what you you want to do and why - there is probably a better more Unixy way. There is such a thing as chroot, but its a bit non-trivial and possibly not what you need. |
For mate-terminal, the command you want may be:
Code:
mate-terminal --working-directory=<dirname> Code:
man <your-terminal-program> |
A symbolic link sounds like the solution here.
|
All times are GMT -5. The time now is 06:57 PM. |