Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

SAS can run Unix/Linux commands everywhere using

x command;

For exampel, to create a directory named “abc” in your home directory.

x mkdir ~/abc;

It can even run user-defined shell scripts, which is great. even though you can use unix/linux command in sas, it seems that it is not robust and it is often hard to test whether the command has run successfully. It is suggested that you avoid using unix/linux commands in sas.