Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell save variable

$ b=$(pwd)
$ echo $b
/home/user1

or

$ a=`pwd`
$ echo $a
/home/user1
 
PREVIOUS NEXT
Tagged: #shell #save #variable
ADD COMMENT
Topic
Name
5+7 =