To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

 

backquotes ( en )

Last modification : 2013/01/26 19:16

With backquote it is possible to feed the command-line with the result of an external command. For example here is a way to print the content of directory
msh> for file in `ls -1` ; do print $file ; done
file1.txt
file2.txt
It is used also to set a variable
msh> set DATE=`date`
msh> print $DATE
Sun Sep 20 19:08:57 GMT 2009