List all files, including hidden files beginning with. List files in the /etc directory (a system directory) Print the current directory (find out which directory you are in)Ĭhanges directory to home directory ( ~ is a short-cut meaning $HOME)Ĭhange to a directory named constant in the current directory The directory one level higher than the current directory is denoted by. The root directory of the entire filing system, including system files is typically denoted by / The current directory you are in is denoted by. The home or top directory on the user’s file system is specified through the HOME environment variable, often /home/ (check by typing echo $HOME). Return the value (denoted by $.) of the FOAM_SRC environment varaibleįrom the terminal, you can navigate around the file system, where files are organised in a tree of directories (folders). List environment variables beginning FOAM_ List all environment variables in the shell (terminal) The short-cut environment variables generally begin FOAM_ whereas the compilation environment variables begin WM_. The OpenFOAM configuration sets environment variables mainly to provide short-cuts in the use of OpenFOAM and to help with compilation of OpenFOAM. Linux uses environment variables that specify a set of values that affect the way the computer runs. as described in the source download page (see Setting Environment Variables). Those commands that refer to OpenFOAM will only function as stated, if they are executed on a machine on which OpenFOAM is installed and the user’s environment variables are set up for OpenFOAM, e.g. they include OpenFOAM Linux environment variables. Commands are written that refer to OpenFOAM, e.g. This guide provides information and example terminal commands for Linux, relevant to users of OpenFOAM.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |