Sponsored Content
Top Forums Shell Programming and Scripting Need to give input once logged in to server in script Post 302941533 by rupesh.bombale on Friday 17th of April 2015 01:32:50 AM
Old 04-17-2015
Need to give input once logged in to server in script

Hi ,
when i am logging to the server i need to give input of specific key like k or l or m etc. and then need to put enter. need to use this in script . please assist.
 

10 More Discussions You Might Find Interesting

1. Solaris

Logged input to specific port?

Hi, Anyone know how I can log all input - when a user logs in to a specific port number ie if user telnet to port specifically telnet 0 4800 I want to log all input that the user inputs.. Is this possible?? Is the sun solaris forum the correct forum or should this perhaps go... (10 Replies)
Discussion started by: frustrated1
10 Replies

2. Solaris

Need help getting logged in to server

Help!! I cannot log in. Last command I entered was set REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE. Since rebooting the server I am unable to bring up the OS bebcause 'root' is gone and I am guessing all other users' files. If anyone knows a back door way into server so I can rebuild passwd file I'd... (1 Reply)
Discussion started by: mayewil
1 Replies

3. UNIX and Linux Applications

user logged on any server

the method to find out the all the user who are the current user of the system? i tried with the who. but with that i receive the TTY like something. (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies

4. Shell Programming and Scripting

Can give the input to prompt using shell script

Hi, I want to send input to promt from shell script, this thing is possible. I give the one command `/usr/share/ssl/misc/CA -newreq` it needs some user input like password etc., but i need this input also from shell script but it does not works. `/usr/share/ssl/misc/CA -newreq` <<EOF... (2 Replies)
Discussion started by: Vaibhav Agarwal
2 Replies

5. Shell Programming and Scripting

Give input to a perl script while execution

Hi, I have a perl script which prints me the epoch value of a specific date and time given.Now I want to proceed to a next step ie i want to give the input at the time of execution. I have to initialise the date and time values in the script before executing it.But now i want to give the date... (3 Replies)
Discussion started by: jyothi_wipro
3 Replies

6. Shell Programming and Scripting

how to give multiple csv files as input in awk

Hi All, I am new to shell scripting..My problem is i want to give multiple csv files as input to awk script and process the data into one file.. My input file is File1 File2 File3 Product Location Period SalesPrice A x 8/11/2010 ... (7 Replies)
Discussion started by: kvth
7 Replies

7. Shell Programming and Scripting

Needing to wait for a line on screen and then give input repeatedly

So I have a weird question for my unix shell script. I wrote a shell script that does several things, but one of the things it does is call an executable. The executable then proceeds to start asking me questions, which it won't proceed until an input is entered. The answer to the questions is... (4 Replies)
Discussion started by: HelpMeProgram
4 Replies

8. Solaris

Tracking Who Has Logged Into a Server?

I am running Solaris 10 on a variety of SUN servers. I need to be able to tell who has logged into the server. Is this info kept in any of the logs on the system? Thanks, LeonD (8 Replies)
Discussion started by: leond
8 Replies

9. Shell Programming and Scripting

function terminating if i give input as space or no input and enter

HI i have written a script to ask input from the user. this script should promote the user for y/n input. if user enters anyother input then y/n the script promotes him again. this below code is working fine for all the cases. except for space and enter " if i give space and enter it is... (2 Replies)
Discussion started by: BHASKARREDDY006
2 Replies

10. Shell Programming and Scripting

How to give a text file as input while running a program?

Hi Friends, I am running a program /path/to/program -i 1 100 -o /path/to/output/op_1_100.txt In the above command, I have to try various number of combinations at the -i parameter and the output file name varies with each combination. Now, I have my -i parameter text file, which is like... (4 Replies)
Discussion started by: jacobs.smith
4 Replies
SMBGETRC(5)						   File Formats and Conventions 					       SMBGETRC(5)

NAME
smbgetrc - configuration file for smbget SYNOPSIS
smbgetrc DESCRIPTION
This manual page documents the format and options of the smbgetrc file. This is the configuration file used by the smbget(1) utility. The file contains of key-value pairs, one pair on each line. The key and value should be separated by a space. By default, smbget reads its configuration from $HOME/.smbgetrc, though other locations can be specified using the command-line options. OPTIONS
The following keys can be set: resume on|off Whether aborted downloads should be automatically resumed. recursive on|off Whether directories should be downloaded recursively username name Username to use when logging in to the remote server. Use an empty string for anonymous access. password pass Password to use when logging in. workgroup wg Workgroup to use when logging in nonprompt on|off Turns off asking for username and password. Useful for scripts. debuglevel int (Samba) debuglevel to run at. Useful for tracking down protocol level problems. dots on|off Whether a single dot should be printed for each block that has been downloaded, instead of the default progress indicator. blocksize int Number of bytes to put in a block. VERSION
This man page is correct for version 3 of the Samba suite. SEE ALSO
smbget(1) and Samba(7). AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. This manual page was written by Jelmer Vernooij Samba 4.0 06/17/2014 SMBGETRC(5)
All times are GMT -4. The time now is 02:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy