Download How can I assign the output of a command to a shell variable? book pdf free download link or read online here in PDF. Read online How can I assign the output of a command to a shell variable? book pdf free download link book now. All books are in clear copy here, and all files are secure so don't worry about it. This site is like a library, you could find million book here by using search box in the header.
A shell assignment is a single word, with no space after the equal sign. So what you wrote assigns an empty value to thefile; furthermore, since the assignment is grouped with a command, it makes thefile an environment variable and the assignment is local to that particular command, i.e. only the call to ls sees the assigned value.
Read : How can I assign the output of a command to a shell variable? pdf book online Select one of servers for direct link: |
---|