bash command to get the name of OS installed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers bash command to get the name of OS installed
# 1  
Old 11-22-2006
Network bash command to get the name of OS installed

hi

I want a bash command that can give me the name of the operating system installed on the local machine.
Basically I will be using that for getting the name of the operating system installed on the target machine.

Please reply me soon as possible

Thanks
Satish
# 2  
Old 11-22-2006
Not sure what you want exactly...but try:
uname -s
# 3  
Old 11-22-2006
Thanks!!! It works!!

Hi Perderabo

Its working!!
Thanks a lot

Could u give me ur personal id so that i can chat wt u or send u mails regarding my querries?
again thanks

Satish
# 4  
Old 11-22-2006
Quote:
Originally Posted by sateeshgauns
Could u give me ur personal id so that i can chat wt u or send u mails regarding my querries?
Certainly not! Read the rules:

(10) Don't post your email address and ask for an email reply. The forums are for the benefit of all, so all Q&A should take place in the forums.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. UNIX for Advanced & Expert Users

Bash-Completion, installed but not applied

Heyas For my project TUI i had prepared bash completion. Bash-completion works, at least if i source that file manualy. However, when i'm installing it, it wont apply, not even for new opened terminals. Allthough i had it working once, i dont get why it doesnt work now. <...> + '' +... (0 Replies)
Discussion started by: sea
0 Replies

3. Red Hat

Trouble with installed / not installed rpm unixODBC/libodbc.so.1

Hey there, i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies

4. UNIX for Dummies Questions & Answers

Command to see what software installed on linux server

I am using red hat linux server. I need to know what softwares installed on that server. What command can i use to get this list? Any help is highly appreciated. (2 Replies)
Discussion started by: govindts
2 Replies

5. UNIX for Dummies Questions & Answers

Turn python script into an installed UNIX command (Mac OS X)

Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal. Right now i run it like this in terminal... $ python myscriptname.py or $ ./myscriptname.py but i want to be able to run it like this in terminal... $ myscriptname ... (3 Replies)
Discussion started by: cbreiny
3 Replies

6. AIX

command to list all installed patches

hi all i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies

7. Solaris

command 'cc' failed even though gcc is installed

I'm trying to build some python modules on a Solaris 10 machine. It has gcc as /usr/sfw/bin/gcc. # CC=gcc python setup.py build running build running build_py running build_ext cc -c actread.c -o actread.o unable to execute cc: No such file or directory error: command 'cc' failed with exit... (8 Replies)
Discussion started by: aussieos
8 Replies

8. UNIX for Advanced & Expert Users

command to find when Linux OS is installed?

hey , Anyone knows command to find when Linux OS is installed? Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies

9. Linux

RPM used to installed to get a partcular command

Hi, I have a query in linux and please find the details of it I have a command in linux and i want to know which rpm has provided that command. ie: if we take ifconfig command ,i want to know what is the rpm package used to get that command. Regards Arun.Kakarla (3 Replies)
Discussion started by: Arun.Kakarla
3 Replies

10. Solaris

Solaris 8 installed but bash is not working

Hi All, I've installed Solaris 8 and notice that bash is not working. I know we have other Sol8 boxes and bash is working on these boxes. I believe Solaris 8 includes bash in full distribution, so does this mean the files on the CD are corrupted? Sol8 was burned on the CD1 and 2 so this is a... (2 Replies)
Discussion started by: bluridge
2 Replies
Login or Register to Ask a Question