Account Management

Disk Quota

"fs quota"

This command is helpful in watching how much disk quota space you are currently using. This will help you monitor your Mosaic account disk quota and prevent the system from locking you out from logging into Mosaic. Simply pull up a terminal command console and type "fs quota" and a percentage will show of how much disk quota you have used.

fsquota

"fs lq"

This command is helpful in watching how much disk quota space you are using in a tabular form showing how much space you have versus how much you have used and including the percent along with it. Please note that the numbers shown are in kilobytes, not Megabytes or Gigabytes. To run the "fs lq" command, simply type "fs lq" in a Mosaic Linux terminal command console.

fslq

Linux Environment

Determining What Shell You Are In

To determine which shell you are in, type "echo $SHELL" in a terminal console window. This will print out what shell you are in. In the figure below, we are in the BASH shell.

Shell

Shell Environment

When applications and programs run in Linux, they are called processes. Processes can run constantly or can be killed or suspended. When you start a program, a new process is started. When a new process starts, it runs in an environment. This environment can have some characteristics in which the program/process may interact with. Every program runs in its own environment. You can adjust the parameters of the environment so that a process creates the desired outcome. Setting environment variables is as easy as typing VARIABLE=value. The parameter would be set by the name Variable with the value that you provide.

Determining Current Environment Variables

To see what your current environment variables are, simply type "env". This will display in your terminal command console the default environment values.

env

You can modify these values to suit your needs. For example, you can change the HOME variable by typing "HOME=/some directory/some directory". This is useful if you need to set a different home directory and/or wish to change where the "cd" command takes you by default. These changes are only in effect until you log off. This is not a good practice and should be avoided. If you need to change environment variables, please, use aliases.

home

env2

Linux Password

"kpasswd"

This command allows you to change your Mosaic password from a Mosaic Linux terminal. This can be done by typing "kpasswd" in the terminal command console and then typing in your current password (please note the no characters will show even though you are typing. Just type your password and press enter), then type your new desired password and press enter. Finally, confirm the password change by retyping the new password and press enter. This process will only affect your Mosaic password.

kpasswd