# Working with command shells

In the Remote Systems view, you can launch a shell to perform commands in a specific directory or folder of a remote file system.

To launch a new shell from the Remote Systems view:

1. Expand a connection.
2. Right-click on a file subsystem that supports shells and select Launch Shell.
3. Enter shell commands, such as "ls" or "pwd", in the Command field (just beneath the shell itself).

You can also run commands from locations further down in the remote file system tree, so that you do not need to navigate there from your home directory each time. This option takes the default shell, sets the current directory to the folder that was selected, and invokes a command in that directory. If you check the Run in new shell check box you will get a new shell instead of running the command in the current shell:

1. Expand the file subsystem until you are at the directory where you want to run your commands.
2. Right-click on that directory and select Run Commands.
3. Enter the command you want to run in the Command field and click OK.

Note: Each new shell shows up in a separate tab. If more than one shell is running on the same connection, each subsequent shell has a number appended to the connection name.

Related concepts
Shells and commands in the Remote Systems view

Related tasks
Running and viewing commands using the Remote Shell view