Search Results

Search: Posts Made By: Prodiga1
9,071
Posted By Prodiga1
Doing ctrl v + key in vi isn't working for the...
Doing ctrl v + key in vi isn't working for the Home, End, Pageup, and Pagedown keys

I think the keys are set to control the actual terminal itself-- ie. scrolling the terminal
9,071
Posted By Prodiga1
That specific .exrc text didn't work in this...
That specific .exrc text didn't work in this case.

How might I determine the character code for these keys?

I know ctrl+v + key usually works, but it isn't for reasons I do not know
9,071
Posted By Prodiga1
SunOS marge 5.10 Generic_142910-17 i86pc i386...
SunOS marge 5.10 Generic_142910-17 i86pc i386 i86pc Solaris
xterm
9,071
Posted By Prodiga1
Page up in Terminal
Hi all--

I'm using a SunOS machine at my campus and my pageup and pagedown keys are unresponsive inside of vi.

I'm not too thrilled about using ctrl+f and ctrl+b to do this operation, so I'm...
4,478
Posted By Prodiga1
Brilliant! I appreciate your help :]
Brilliant! I appreciate your help :]
4,478
Posted By Prodiga1
Interesting.. care to explain how that works?
Interesting..

care to explain how that works?
4,478
Posted By Prodiga1
So, my code is: And the current output...
So, my code is:



And the current output is:



How would I resolve this? (testDir does exist)

Also assume that the user will not always enter ~/...

---------- Post updated at 11:10 AM...
4,478
Posted By Prodiga1
Thanks.. Another related problem: I'm...
Thanks..

Another related problem:

I'm querying the user for a file location/name to create a file to log information to... something like /home/username/info.txt

But if the user enters...
4,478
Posted By Prodiga1
Bash script to read file location
I'm writing a bash script that reads a file location from a user, and I'm wondering how to get the script to accept tab to auto complete the directories that are input.
2,199
Posted By Prodiga1
brilliant! i am using bash so disown works...
brilliant! i am using bash so disown works perfectly.

Under the assumption I wasn't using bash, how would this be accomplished?
2,199
Posted By Prodiga1
Background Process Completion
I have my unix machine configured to run locate.updatedb on login in the background and after it completes, when I run a command such as ls-- the console returns the results of ls and
[1]+ Done ...
1,052
Posted By Prodiga1
Query for Private Input
How might I write a shell script that queries a user for information that is sensitive (say a password)-- and does something like:

Password? ******** <---- the user's entered information

or ...
18,842
Posted By Prodiga1
I appreciate all the comments, especially that of...
I appreciate all the comments, especially that of trey85-- those kinds of comments are the most useful.

Specifically, what I'm trying to figure out is how to change the passwords of an assortment...
18,842
Posted By Prodiga1
I need the script to ssh into a switch and change...
I need the script to ssh into a switch and change some values, so I'm thinking expect is my best option to accomplish that.
18,842
Posted By Prodiga1
Actually my question seems completely...
Actually my question seems completely straightforward...

I would like to know how to write a script using expect (http://www.nist.gov/mel/msid/expect.cfm) that would automate an ssh command.
...
18,842
Posted By Prodiga1
bump.
bump.
18,842
Posted By Prodiga1
Expect Script to Automate SSH
How would I write an expect script to automate ssh and what file extention do expect files use?
1,410
Posted By Prodiga1
Shell Script Referencing I/O
Is it possible to design a shell script to reference something that queries for input?

(This is not to make a script to ssh)

For instance if I have a command that when run, it does something...
1,476
Posted By Prodiga1
Command Output Question
Hi everyone--

I'm new to these forums and shell scripting, and I'm trying to write a script that checks if a particular ip is pingable

My idea was to check if the output of the command ping...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 03:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy