06-19-2013
Well, ls is not a windows command. Try dir instead.
Robin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
i have script that connects to a unix server. however, i want to add condition that if it cannot connects in 10 attemps, it will send email to me.
while -a ${COUNT} -lt 10]
./connect to server.
if status <> 0 then
email to me.
fi
Thanks a lot. (0 Replies)
Discussion started by: tungaw2004
0 Replies
2. Shell Programming and Scripting
i want to connect to a remote server through ssh.
i have to also provide password within that script.
after connecting to the remote server i want to do some operations like grep,cd etc
can u pls help me to wite a script.
Thanks (1 Reply)
Discussion started by: millan
1 Replies
3. Windows & DOS: Issues & Discussions
Hi
i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation".
I am able to connect to this unix... (4 Replies)
Discussion started by: vidzz911
4 Replies
4. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
5. Red Hat
I am able to connect a RHEL server from my Windows machine using Putty (via ssh). My question is what is the advantage of using Xming instead of Putty? Is it that Xming would enable a graphical connect from the Windows machine to RHEL server?
I hope my question is clear that what is the... (9 Replies)
Discussion started by: RHCE
9 Replies
6. Windows & DOS: Issues & Discussions
Hi,
We are running Linux server and are required to connect to Windows server and fetch the files from windows server.
How can i connect to Windows server from Linux? I have to do this with a automated shell script on Linux
I appreciate your response. (4 Replies)
Discussion started by: reachmexyz
4 Replies
7. Shell Programming and Scripting
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies
8. HP-UX
I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it.
I want sftp can read a password define in script or from file, so it can... (1 Reply)
Discussion started by: ketanraut
1 Replies
9. Linux
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
Discussion started by: manjusharma128
0 Replies
10. Windows & DOS: Issues & Discussions
Hi,
I am a newbie and has been given a task to connect to a windows server from a linux server (using putty of course; for file transfer) that too passwordless.
Searching through google I found "ssh-keygen" but this also couldn't work because as I tried ssh <username>@<windowsServerIP>, it says... (5 Replies)
Discussion started by: pratria
5 Replies
LEARN ABOUT DEBIAN
wincommand
WinCommand(1x) AfterStep X11 window manager WinCommand(1x)
NAME
WinCommand - AfterStep module for choosing and manipulating windows based on patterns
CONFIGURATION OPTIONS
DESCRIPTION
WinCommand is a command line tool which allows you to select windows based on their name and to then manipulate them in various ways.
Actions currently supported are: "center", "center jump", "iconify", "jump", "kill", "move", "resize" and "sendtodesk".
DEFAULTS
The default pattern is "", meaning all windows will be selected.
All other default-values depend on the action you would like WinCommand to take. If more than one action is specified, default-values are
set depending on the last action specified.
ACTIONS
center
Place matching windows into the center of the screen.
center jump:
Places first window that matches into the center of the screen and jumps to it.
iconify:
Iconifies matching windows.
jump:
Jumps to the first window which matches.
kill:
Kills all matching windows.
move:
Moves all matching windows to x/y. x and y are specified using the -x and -y flags.
resize:
Resize all matching windows. The two parameters width and height are specified using the -width and -height flags.
send_to_desk:
Send all matching windows to desk specified with the -new_desk flag.
OPTIONS
-all
Operate on all windows which match the given pattern. This is set by default unless the action is either "jump" or "center jump".
-alldesks
Windows on all desks will be taken into account. This is set by default if action is either "jump" or "center jump".
-desk
Windows on the whole desk will be taken into account.
-x/-y
These are required when issuing the move-command.
-width/-height
These are required whenever you want to resize windows.
Examples WinCommand -pattern term iconify
This command will iconify all terminals. Since the specified pattern is a regular expression, something like this also works:
WinCommand -pattern "(term)|(moz)" iconify
This will iconify all terminals and mozilla-browser windows.
WinCommand -pattern xmm jump
will jump to your xmms. In this situation, it's far more advisable to use GWCommand though.
It is probably not a good idea to delete windows while windows are being arranged.
3rd Berkeley Distribution AfterStep v.2.2.11 WinCommand(1x)