Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I got the below message when do ssh to a server. If I remove the .ssh file in home directory and then ty then its ok. Can you tell me about this and also the contents in .ssh file.
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /home/admin/.ssh/known_hosts2 to get rid of this message.
Offending key in /home/admin/.ssh/known_hosts2:4
RSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking."
here "xxx.xxx.xxx.xxx" is the host Ip address.
Thanks & regards,
ok u can tell me regarding sudo/su and also I want to know about .bashrc file. Because
I have moved this file to some other place and when I login the prompt is different.
Before I move the prompt looks like "[corems:admin]~ >"
After I moved the or removed the prompt looks like "bash-2.05$"
So I ve found that the .bashrc file is created again.
In what ways did you try to find it? Please post your commands and their results, if possible.
If "whereis" and "slocate" didn't find the lib file, then it's not in your $PATH.
Please post the result of
A quick search however turned up no results for a file called libscript.so.1 (ie a place to download it, etc).
Can you please post the contents of your .bashrc file (the original one)?
It's normal that your prompt changes. In your old .bashrc, the prompt was probably altered by setting the $PS1 and/or $PS2 environment variables. When you changed the .bashrc file, the prompt probably reverted to the default (or to the setting in /etc/bashrc).
This is the reply for the question "Installation of patch"
"You said you wanted to install a patch. Software installation is also left up to root in many cases (especially if it involves installing programs into directories only writable by root, like /bin)."
I ve root permission then how to install a patch?
In vi editor how to select a column and deleting it?
Last edited by jothi_bass2000; 06-16-2006 at 07:54 AM.
What "patch" are you talking about? A kernel patch? An upgrade of a software package?
Did you try your package manager?
For vim, you can find almost any command's help by typing ":help".
":set mouse=a" makes vim listen better to the mouse actions.
What you requested, can be done by:
-left clicking and holding on upperleft character;
-pressing (just once, not holding it) Ctrl-V (for Visual Block mode)
-dragging your mouse to the lowerright character.
This should select a vertical block ranging between the upperleft and lowerright character. At least, it did so on my box.
Basic vi is much more simple then vim and supports less options, so I can't help you with that.
Most modern Linux systems should provide vim instead of vi though. Start vi by typing simply "vi" and see
if that tells you if it's "vi" or "vim".
So, your script can't run some tools in bin, that do exist and are executable, right?
Can you tell me how your scripts call the tools in /bin?
ie if you call "mv", your $PATH plays a role. If you call it as "/bin/mv", then your $PATH isn't involved at all.