Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-2006, 09:00 PM
philotech
 
Posts: n/a
Default Re: How to find out the current version of Linux + softwrae from COMMAND LINE ??

Patricia Mindanao wrote:
> Assume a Linux system where I have ONLY command line access (e.g. through telnet).


If you are using telnet for remote administration; I suggest you use
ssh instead. To determine whether or not ssh is installed try using
the which command (e.g. which ssh). Using ssh is far more secure than
the plain text sent via telnet.

> How can I find out which Linux version is currently installed (Linux, RedHat, Ubuntu, Debian,....)
> and which release number?


The uname -a command helps with kernel version info. Find what kind of
package management is available to you(if any at all). Check for
apt-get or rpm with the which command. If apt is installed then you
have a Debian system or some derivative.

With a Deb-system you can use dpkg -l ( I recommend dpkg -l | more) to
list everything installed on the system(if it is an ubuntu system you
will see ubuntu in many of the packages versions.

Also, on systems with rpm try rpm -qi package name

> How can I find out (from the command line as well) which eMail client/server software
> and other packages are currently used and installed ?


Definitely want to use the which command here too. However, if you're
not sure about names try using grep. (ls /bin /usr/bin | grep
'mail')--Or any words, wildcards etc. If it is installed and used it is
likely in /bin or /usr/bin. The ps -aux command may also come in handy
too.

There is more than one way to do this, but I'm not entirely sure how to
gather all the specifics you're seeking. I usually already know the
flavor and version of gnu/linux that I am running because I am the one
that installed it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:49 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.