Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 87aa7ddb48685dc5e165b362740fed67c5324009 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2004, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/>
<link rel="stylesheet" type="text/css" href="../book.css" />
<title>Working with command shells</title>
</head>

<body id="twrkcmdshl"><a name="twrkcmdshl"></a>
<h1 class="topictitle1">Working with command shells</h1>
<div>
<p>In the Remote Systems view, you can launch a shell to perform commands
in a specific directory or folder of a remote file system.</p>
<div class="p">
To launch a new shell from the Remote Systems view:
<ol>
<li>Expand a connection.</li>
<li>Right-click on a file subsystem that supports shells and select <b>Launch Shell</b>.</li>
<li>Enter shell commands, such as "ls" or "pwd", in the <b>Command</b> field (just beneath the shell itself).</li>
</ol>
</div>
<div class="p">
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 <b>Run in
new shell</b> check box you will get a new shell instead of running the
command in the current shell:
<ol>
<li>Expand the file subsystem until you are at the directory where you want
to run your commands.</li>
<li>Right-click on that directory and select <b>Run Commands</b>.</li>
<li>Enter the command you want to run in the <b>Command</b> field and click <b>OK</b>.</li>
</ol>
</div>
<div class="note">
<span class="notetitle">Note: </span>
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.
</div>
</div>
<div>
<p>
<b class="relconceptshd">Related concepts</b><br/>
<a href="../concepts/crunremcmds.html" title="">Shells and commands in the Remote Systems view</a><br/>
</p>
<p>
<b class="reltaskshd">Related tasks</b><br/>
<a href="truncmdsview.html" title="">Running and viewing commands using the Remote Shell view</a><br/>
</p>
</div>
</body>
</html>

Back to the top