01-24-2007
Vi opens automatically when i login to a unix box
When I login to a unix box using a putty session , I'm landed in a vi editor, instead of my home directory,I'm guessing instead of pointing me to my home directory, the system points me to /usr/bin/vi. As a result, everytime I log into the system I open up a vi editor and am in there. how do i overcome this problem. how do i fix it. Any help is appreciated
thanks
Ram
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
2. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
3. Shell Programming and Scripting
Hi
our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies
4. Shell Programming and Scripting
I have to login with ssh to a UNIX box and execute a script in it.
How will i make use of ssh-keygen so that while login using ssh it wont ask the passwod. ssh-copy-id is not working in my UNIX box . What might be the reason. Please help. (1 Reply)
Discussion started by: codeman007
1 Replies
5. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
6. Linux
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies
7. UNIX for Advanced & Expert Users
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
8. Shell Programming and Scripting
Hi,
I have a script that should login to a different box then the box that i am in and run the commands.
I have the script sample below that logins to a unix box and get the files .Looks like ls-lrt command is not running or its wrongly used.
#!/bin/bash
# Ask the user for build month... (5 Replies)
Discussion started by: learninguser235
5 Replies
9. Programming
Hello Good Day / Guten Tag....
I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard.
So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() {
public String... (1 Reply)
Discussion started by: Sanalkumaran
1 Replies
PNEWS(1) General Commands Manual PNEWS(1)
NAME
Pnews - a program for posting news articles
SYNOPSIS
Pnews newsgroup title
or
Pnews -h headerfile [oldarticle]
or
Pnews
DESCRIPTION
Pnews is a friendly interface for posting news articles. It will ask several questions, then allow you to enter your article, and then
post it using the inews(1) program. If you type h and a carriage return at any point, Pnews will tell you what it wants to know.
The -h form is used when invoked from rn. If your editor can edit multiple files, and you want the article to which you are replying to
show up as an alternate file, define the environment variable NEWSPOSTER as "Pnews -h %h %A". You can also modify the the NEWSHEADER envi-
ronment variable to change the header file that rn passes to Pnews.
ENVIRONMENT
AUTHORCOPY
If defined, contains the name of a file to which the finished article will be appended.
Default: article not saved
DOTDIR Where to find your dot files, if they aren't in your home directory. This is primarily for accounts which are shared by more than
one person.
Default: $HOME
EDITOR The editor you want to use, if VISUAL is undefined.
Default: whatever your news administrator installed, usually vi.
HOME Your home directory.
Default: $LOGDIR
LOGDIR Your home directory if HOME is undefined.
LOGNAME Your login name, if USER is undefined.
Default: value of "whoami".
NAME Your full name.
Default: name from /etc/passwd, or ~/.fullname.
ORGANIZATION
Either the name of your organization, or the name of a file containing the name of your organization.
Default: whatever your news administrator chose.
USER Your login name.
Default: $LOGNAME
VISUAL The editor you want to use.
Default: $EDITOR
FILES
$DOTDIR/.article
~/dead.article
SEE ALSO
rn(1), Rnmail(1), inews(1)
DIAGNOSTICS
BUGS
Not the speediest program in the world, but maybe that's a blessing to the net.
LOCAL PNEWS(1)