GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
PLEASE NOTE: All LQ Rules apply to the General forum. Flame wars, personal attacks, hostility, insults and behavior of that nature will not be tolerated. Differing opinions are one of the things that make this site great, but to benefit from differing opinions the discourse must happen respectfully and thoughtfully... without insult or personal attack. Members who are unable or unwilling to participate in General under those parameters will not be permitted to do so. If you see behavior of this nature please report it.
We all used those 2 in linux, I'd like to know if Windows has some equivalents for these.
And one more thing: what's that command that translates an IP to the hostname? Like translating 126.96.36.199 to www.google.com. I'd like to know this both in Windows and Linux if possible. Thank you.
I know about Cygwin, I was wondering if there are some equivalents for Windows/DOS by default, because I intend to write an application for Windows that uses these (I have that one for linux). If it's necessary, I could make an installer and include cygwin, but I guess it's not.
Question about host:
[cosmin@blue ~]$ ping www.google.com
PING www.l.google.com (188.8.131.52) 56(84) bytes of data.
64 bytes from 184.108.40.206: icmp_seq=1 ttl=236 time=53.7 ms
--- www.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 53.797/53.797/53.797/0.000 ms
[cosmin@blue ~]$ host 220.127.116.11
Host 18.104.22.168.in-addr.arpa not found: 3(NXDOMAIN)
[cosmin@blue ~]$ whois 22.214.171.124
OrgName: Google Inc.
Address: 1600 Amphitheatre Parkway
City: Mountain View
NetRange: 126.96.36.199 - 188.8.131.52
NetType: Direct Allocation
RTechName: Google Inc.
OrgTechName: Google Inc.
# ARIN WHOIS database, last updated 2006-06-15 19:10
# Enter ? for additional hints on searching ARIN's WHOIS database.
Could you explain why host dosn't work, but whois does?
And still another one: is there any way to translate an IP to the hostname, besides ping?
Ping does not translate the IP address to a hostname; DNS does. The host command could not resolve the IP to a hostname, because there is no reverse-DNS entry defined for that address.
Oka, but I guess you have to use ping to resolve a hostname to an IP, right? Or do you have a "dns" command, because I don't...
And doesn't Windows have some commands for tcpdump and whois? I guess you don't even use Windows, that's why you don't know... Thanks.
The host command will work for either an IP address or a hostname.
Native Windows does not have a tcpdump command or whois (or dig for that matter).
You may be able to find ports of these, similar to the ports in the Cygwin package, since they are open source. Your best bet for finding help with hunting down Windows software is probably not on a forum called "LinuxQuestions".
Your best bet for finding help with hunting down Windows software is probably not on a forum called "LinuxQuestions".
Yeah, I thought about this before asking. But consider this: from the users who use Linux as their main distribution, some of them use Windows too (more or less). From the users who use Windows as their main distribution, I would say VERY few of them use linux, too. So, if I have a question concerning both of them, I thought I should ask on a linux forum and not a Windows one. I don't even know a single Windows forum, just for the record, but I guess they have some... Thanks.