Useful Commands
The following commands are essential in an AFS environment.
Useful Commands
When you obtain a LIONS account you will receive an account with a directory in AFS space. In most cases, these directories function just like any other UNIX file system. You use standard UNIX commands to create subdirectories and to move, copy and delete files. You will, however, need to familiarize yourself with a few special AFS commands:
- fs listacl
The fs listacl or fs la command displays the access control list (ACL) associated with each specified file, directory, or symbolic link.
- fs setacl
Thefs setacl or fs sa command adds the access control list (ACL) entries specified with the -acl argument to the ACL of each directory named by the -dir argument.
- fs listquota
Thefs listacl or fs lq command displays information about the volume containing each specified directory or file (its name, quota, and amount of disk space used), along with an indicator of the percentage of space used on the host partition.
- kpasswd
The kpasswd command changes the password recorded in an Authentication Database entry.
- afs_login
The command afs_login renews tickets and tokens for the LIONS environment.
- mkpublic_html
The command mkpublic_html ceates a web directory in your home directory.

