|
| From: | Bob Proulx |
| Subject: | Re: find help about 'read' built-in command |
| Date: | Tue, 13 Nov 2007 21:51:54 -0700 |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
龙海涛 wrote: > i want to store the current working dir to a variable, i write The most common way to save the present working directory to a variable would be to use the $(...) form. test=$(pwd) echo $test Try that. Bob
| [Prev in Thread] | Current Thread | [Next in Thread] |