Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Batch file to login to putty and list directory Post 302494085 by Corona688 on Friday 4th of February 2011 10:31:31 PM
Old 02-04-2011
Quote:
Originally Posted by nirmal.mukundan
all works fine (the commands are executed) but i can't see the putty session... all i can see is the verbose in my DOS windows of the last line "ls -l"...
That's what plink does. plink isn't putty.
Quote:
The putty session vanishes away. How can I have the session opened and list the mentioned directory.
You could put that in your .profile file (on the server, that is) so it always happens automatically when you log in.

By the way, you agreed not to bump posts when you registered here.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. Linux

resticting user to login using putty on port 21(ftp)

Hi, I am having small query and wheather it is possible ? that user can transfer the files using ftp client examples (filezilla) , but he can not use putty to login using ftp and run the commands, Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

2. UNIX for Dummies Questions & Answers

Can't login through putty

I am changing root password by passwd. Now I can directly log into the system but I can not log in using puttytel. It will show an error "Incorrect Password":rolleyes: (1 Reply)
Discussion started by: arrs
1 Replies

3. UNIX for Dummies Questions & Answers

Putty Login - with Batch?

Hello Everybody, I have a question on the UNIX server login with putty. Can this login procedure into PUTTY be automated with a macro or vbs or batch file? Kindly help me in directing me for the above. Thanks for the help, Regards, (3 Replies)
Discussion started by: swame_sp
3 Replies

4. Fedora

can't login via GUI but can via Putty

Hi all, I am able to login via putty to a fedora 10 workstation. But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work. $ who -r ... (4 Replies)
Discussion started by: lramsb4u
4 Replies

5. UNIX for Advanced & Expert Users

Login putty automatically

Hi Guys , I am using putty.exe file to login to servers . I heard that there is way to save my username and password in putty so that i no need to give my creds while logging into putty . If so please provide me th way to do so . Please note : I am not talking about keyfile . Thanks in... (6 Replies)
Discussion started by: radha254
6 Replies

6. UNIX for Dummies Questions & Answers

Putty Auto Login

Hello All , Requiremnt : i want to login to putty automatically and change the settings like i want , for ex : changing the "lines of scrollback" , " under colors , want to check to checkmark the option use system colors" . Like this i want to do . I have a bash file created to login . But... (2 Replies)
Discussion started by: radha254
2 Replies

7. Ubuntu

Login from putty in wndows7 to connect ubuntu machine

hi, i have ubuntu installed on windows 7. I am trying to connecting to ubuntu from windows 7 using putty but it is giving network problem. I am trying to connect with ip address Thanks (9 Replies)
Discussion started by: diehard
9 Replies

8. Shell Programming and Scripting

Some automatic process to login in putty. install some patch

Hello, I was wondering, we have multiple servers where we login from Putty. Is there some way we get automatically loged in after giving server name and password(by saving it in some file or like that) Just a thought (2 Replies)
Discussion started by: mirwasim
2 Replies

9. UNIX for Dummies Questions & Answers

[Solved] Is it possible to use PuTTY psftp.exe to move file from one directory to another?

Hello All, I am running a script (power shell) from my desktop (Windows). The script needs to sftp a file(using PuTTY psftp.exe ) from my desktop to a server(UNIX server). Then, as a second step, the script needs to move (or copy and delete) this file from one directory on the server (UNIX server)... (3 Replies)
Discussion started by: scampi
3 Replies

10. AIX

Able to ping the server but not able to login through putty it says network timeout

Able to ping the server but not able to login through putty it says network timeout Please assist (3 Replies)
Discussion started by: Vishal_dba
3 Replies
gnome-session-save(1)						   User Commands					     gnome-session-save(1)

NAME
gnome-session-save - saves or terminates the current GNOME session SYNOPSIS
gnome-session-save [--gui] [--kill] [--session-name=name] [--silent] [gnome-std-options] DESCRIPTION
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be later restored at your next GNOME startup session. OPTIONS
The following options are supported: --gui If specified, then any errors will be displayed in a dialog box. Otherwise, such messages are displayed to stderr. Note that this option has no affect any dialogs that the window manager might display. --kill Terminates the GNOME session. The session will not be saved if this option is provided, unless the user has configured their session to always save on logout. -s, --session-name=name Set name of session to save. --silent Avoids displaying any confirmation or dialogs, including ones that are displayed by the window manager (such as dialogs informing the user about any windows that cannot save session, or session logout confirmation when the --kill option is also used). gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information. EXAMPLES
Example 1: Saving the user's current session example% gnome-session-save Example 2: Terminating the user's current session example% gnome-session-save --kill EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-session-save The command-line executable for the application. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-session | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gnome-session(1), metacity(1), attributes(5), gnome-std-options(5) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007. SunOS 5.11 07 Nov 2007 gnome-session-save(1)
All times are GMT -4. The time now is 11:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy