thank you. Maybe my description is not clear. The problem is that I can't find such commands. 1.pwd can only show current directory. I'd like to know .... 2. ls -l * can only show me the files in current directory....

howru (How are you?)
1. When i input Javac, the javac is running. I want to know why I can run Javac.exe not in java folder. If it's in DOS, I can input a PATH to see the route and know: oh, the javac.exe is in PATH, so it can run without in JAVA directory. I need a command similiar with this.

PWD can only show me current directory.
$PATH or CWD don't work.

2. DIR *.TMP/S means: I want to knwo all the file names whose extension name is TMP from current directory. DIR *.TMP/S will show me all the *.TMP file names under the tree.
The real environment is that : I wrote a lot of .tmp when wrote codes. My boss let me delete them all. But I don't know where are they still there. So , i need a statement to show all the *.TMP under my directory.

3. Do you happen to know the equivalent to : PROMPT $P$G in dos. My Linux shows only $. I hope it can show me at least like this:
home/howareyou/TEMP$. When I change the directory, the prompt sign should be changed automatically.

Thank you!
2001-1-22 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: So sorry to ask simple about UNIX. It's emergency, sorry. In UNIX, how to get the same results similar with::1)PATH in DOS. 2)dir *.tmp/s in DOS 3)Special meaning to those which there is a dot before the filename( .tplink.java)?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论