05-31-2011
Well, << expands variables locally, so escape it with one '\'.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
My requirement is to sftp a file from one server to another.After the file is completely transferrred, i should be able to create a text(dummy) file on the remote directory. How could this be accomplished. Any suggestions? (1 Reply)
Discussion started by: borncrazy
1 Replies
2. Shell Programming and Scripting
Hi,
I am trying to create some folders on remote server with SFTP connection.
if the folder is exist then it is not executing the next commands.
i.e. if temp/folder is exist then it it not executing
mkdir $folder1
mkdir $folder2 commands.
here is my code.
sftp -b /dev/fd/0 ... (0 Replies)
Discussion started by: vgs
0 Replies
3. Solaris
Hi,
I use to access a file on remote server. Can I create a link for this file present on remote server on my local server, if yes then please let me know.
Thanx in advance. (7 Replies)
Discussion started by: sanjay1979
7 Replies
4. Shell Programming and Scripting
Dear All,
Can anybody explain me how to pass the variable value to command argument which will execute in remote machine.
example..
test="test-123.dbf"
how can i pass this value to command ls -l for remote machine?
I tried to do like this way
ssh root@remote 'ls -l... (2 Replies)
Discussion started by: nmadhuhb
2 Replies
5. Shell Programming and Scripting
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
6. Programming
Hi,
I have 1. lappy
2. server A
3. server B
Now, what i need is to run a command from lappy that will sftp a file from server A to server B.
Please guide me to achieve this.
-akash (1 Reply)
Discussion started by: akash.mahakode
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
My script will take 3 i/p's from user. Now i need to pass these 3 values to remote server. Please find my code.
while
do
echo " To which server you want to connect ? "
echo " 1. server1 \n"
echo " 2. server2 \n"
read opt_server
if
then
echo "enter the... (2 Replies)
Discussion started by: sree143reddy
2 Replies
8. Shell Programming and Scripting
I am trying to cat on a file located on remote server and assign it to remote variable.
I have both local and remote variables. Running below script from local. test.sh
J_NAME=XXX2
J_IP=XXX
ssh $J_IP "ps auxw |grep java | grep -v grep |grep $J_NAME | awk '{print ... (2 Replies)
Discussion started by: oraclermanpt
2 Replies
9. Shell Programming and Scripting
Hello Every one!!
I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server.
Before this I am using a sudo command to change the user.
The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies
10. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT DEBIAN
fluxbox-remote
FLUXBOX-REMOTE(1) Fluxbox Manual FLUXBOX-REMOTE(1)
NAME
fluxbox-remote - command line access to key commands for fluxbox(1)
SYNOPSIS
fluxbox-remote command
DESCRIPTION
fluxbox-remote(1) is designed to allow scripts to execute most key commands from fluxbox(1). fluxbox-remote(1) will only work with
fluxbox(1): its communications with fluxbox(1) are not standardized in any way. It is recommended that a standards-based tool such as
wmctrl(1) be used whenever possible, in order for scripts to work with other window managers.
CAVEATS
fluxbox-remote(1) uses the X11 protocol to communicate with fluxbox(1). Therefore, it is possible for any user with access to the X(7)
server to use fluxbox-remote(1). For this reason, several key commands have been disabled. Users should be aware of the security
implications when enabling fluxbox-remote(1), especially when using a forwarded X(7) connection.
RESOURCES
session.screen0.allowRemoteActions: <boolean>
This resource in ~/.fluxbox/init must be set to 'true' in order for fluxbox-remote(1) to function. Please read the CAVEATS first.
ENVIRONMENT
In order to communicate with fluxbox(1), the DISPLAY environment variable must be set properly. Usually, the value should be ':0.0'.
AUTHORS
This man page written by Mark Tiefenbruck <mark at fluxbox.org>
SEE ALSO
fluxbox(1) fluxbox-keys(5) wmctrl(1)
AUTHOR
Mark Tiefenbruck <mark@fluxbox.org>
Author.
fluxbox-remote.txt 27 February 2011 FLUXBOX-REMOTE(1)