I want to know which UNIX command generally uses when we work with SAS. I know some of the commands like CP, NO HUP, but I want to know more which we can use on a daily basis while we work with SAS.
There are literally hundreds of Unix commands and they vary in syntax between Unix flavours. If you have a specific requirement then post what it is but you should also just be able to google and find the command you want anyway.
Just a few off the top of my head
It is very important to understand the piping mechanism, which allows to direct the output of one command to the input of another, e.g.
ls | grep x
displays all directory entries having an x in their name, or
sort < a > b
reads file a, and writes the sorted output to file b.
Also learn the syntax of the shell (most often bash), so you can write scripts with conditions and loops.
Try YT video tutorials:
https://www.youtube.com/results?search_query=basic+unix+commands
and of course: google -> "basic unix commands" , just from the top:
https://www.math.utah.edu/lab/unix/unix-commands.html
or
https://www.geeksforgeeks.org/essential-linuxunix-commands/
or
Bart
P.S. One comment. Remember, SAS allows you to write code which is OS independent. Try to use this functionality as often as possible, to make your programs easily portable without need of changing source code.
Hello @ravi999985
It depends on what you are doing.
1.For any one using SAS EG for using SAS on a UNIX server, a very minimal knowledge of UNIX is sufficient (case sensitivity, file /path conventions etc, may be ssh/scp).
2.For someone using the Unix shell to write and execute SAS code, write/use shell scripts then a good working knowledge of the shell (BASH/KSH whichever that is being used) is needed. Focus on developing a knowledge of shell scripting/programming rather than memorizing a few commands.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.