Đào Mỹ Linh
Member
What does set do in Unix?
Answer
set is a shell builtin, used
to set and unset shell options and positional parameters. Without arguments, set will print all shell variables (both environment variables and variables in current session) sorted in current locale. You can also read bash documentation.
Answer
set is a shell builtin, used
to set and unset shell options and positional parameters. Without arguments, set will print all shell variables (both environment variables and variables in current session) sorted in current locale. You can also read bash documentation.