S-commands
S-commands provide command line access to SRB. These binaries are already compiled on all SDSC resources (to install these binaries on non-SDSC resources, download and compile the tarfile for your server version). Scommand features include:
- Command line interface and capability for scripting (perl wrappers, batch jobs, etc...)
- Available for all of the most popular UNIX flavors and DOS
- S-commands are the most flexible and powerful of the clients
- They are the fastest and most reliable means of utilizing SRB
- They are multithreaded for large gains in data flow
Best Practices for S-command uploads and downloads
Low Latency
Just upload, or recursive –r option
High Latency
If it’s one big file, use Sput or Sget with –M option
If it’s a directory with lots of small files, use –b option
Common S-commands
For more details on these commands view the man page for each command
(man [Scommand]). Please note that the "S" in each command should be capitalized when entered.
| Command Name | Details |
| Shelp | Gives list of commands with brief summary |
| Sinit | establishes a session |
| Senv | displays connection information |
| Spwd | display current working directory |
| Sls | |
| Scd | |
| Sget | |
| Sput | |
| Ssh | |
| Scp | |
| Smv (logical) | |
| Sphymove (physical) | |
| Srm | |
| Smkdir | |
| Srmdir | |
| Serror | |
| Schmod | |
| Sexit | ends session |




