Unix Power ToolsUnix Power ToolsSearch this book

2.5. How Unix Systems Remember Their Names

Each computer on a network needs a name. On many Unix versions, the uname -n command shows you this name. On some systems, the command hostname or uuname -l (two us, lowercase L) may be what you want. If you use more than one system, the hostname is great to use in a shell prompt -- or any time you forget where you're logged in.

-- JP



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.