![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| (w)get web server's directories + bash script | reminiscent | Shell Programming and Scripting | 2 | 08-20-2008 01:21 PM |
| Able to ping server's private network | *Jess* | IP Networking | 3 | 01-10-2008 08:45 PM |
| Solaris - unknown hostname - how can I change hostname? | XNOR | UNIX for Dummies Questions & Answers | 1 | 03-29-2007 11:52 PM |
| How to use another server's CD | FredSmith | UNIX for Dummies Questions & Answers | 2 | 11-14-2006 12:28 PM |
| Linux server's | !_30 | Gentoo | 1 | 09-20-2006 04:12 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
get the server's hostname
i read that if i issue :
cat /etc/sysconfig/network > textfile i will be able to determine the hostname of the server that my linux workstation is connected to. but there are several other lines outputted that i do not need. i just need the hostname part. is there any other unix command i can use? i tried hostname, hostid but they give the name of the workstation, not the server's name. thanks for any leads |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|