Profile
Achievement
webonomic's Recent SnippetsTagged array
- All /
« Prev 1 Next »
This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.
0
991
posted 14 years ago by webonomic
Use the colon : modifier to build an array.
The colon is like a wildcard. In this case, anything that starts with ash.
SAS Arrays hold variable names which can be used during tedious procedures such as conditional loops.
0
1025
posted 15 years ago by webonomic