If you are running ANSYS Fluent Meshing on a LINUX operating system, all characters following the ! up to the next newline character will be executed in a subshell. Any further input related to these system commands must be entered in the window in which you started the program, and any screen output will also appear in that window.
If you start ANSYS Fluent Meshing remotely, this input and output will be in the window in which you start Cortex.
>!rm junk.*>!vi script.rp
The ls and pwd aliases invoke the LINUX ls and pwd commands in the working directory. The cd alias changes the current working directory of the program. The !ls and !pwd commands will execute the LINUX commands in the directory in which Cortex was started. The screen output will appear in the window in which you started ANSYS Fluent Meshing, unless you started it remotely, in which case the output will appear in the window in which you started Cortex.
Note: The command !cd executes in a subshell, so it will not change the working directory either for ANSYS Fluent Meshing or for Cortex, and it is therefore not useful.
Typing cd with no arguments will move you to your home directory in the console. Examples of system commands entered in the console are as follows:
>!pwd>!ls valve.*
Example output (in the window in which ANSYS Fluent Meshing–or Cortex, if you started the program remotely–was started):
/home/cfd/run/valve valve1.cas valve1.msh valve2.cas valve2.msh