Network Commands For Windows And Linux

Are you using internet? Are you aware of the networking command? As we all know OLD IS GOLD,Command line interface is the most convenien...

Are you using internet?
Are you aware of the networking command?

As we all know OLD IS GOLD,Command line interface is the most convenient option to do all the tasks in any operating system.

Here I am giving you brief information about important networking command.
Networking



For Windows:

In any of the Microsoft operating system command line interface is provided in the form of command prompt.To open command prompt write cmd in run menu(win+r).Some common command are explained in linux portion


ipconfig

It is console command which is use to display the current assigned network settings to any or all the network adapter like ethernet ,wireless etc on the machine.This command is used to verify a connection or your network setting.
ipconfig/all -
Displays the full TCP/IP configuration all physical addresses.
ipconfig/release -

It releases the current ip allows you to go of the address
ipconfig/renew -
It is used to obtain a new ip address

netstat

It gives you active TCP connection,protocol specific network statistics including ip routing table,IPV4 and IPV6 statistics.
It has various switches.Some important are listed below:

-a:Displays active TCP connection with port with stat

-b:Displays the process's actual file name.To use it first you have to complete netstat command's process
-e :Displays your network statistics including recieved and sent data errors unicast and non unicast packets

ping

It checks the ability of the source computer to reach a specific destination computer.Simply it is used to check whether your computer can communicate to another network devise or not.It send Internet Control Message Protocol(ICMP)Echo requests to the destination and waits for response and see how many packets are returned and in how much time.

nslookup

Displays the hostname of entered ip address.It queries your DNS to discover the IP address.

netuse

It is used to connect, remove or configure connection to shared resources like printer.
syntax:net use [{devicename | *}] [\\computername\sharename[\volume] [{password |*}]] [/user:[domainname\]username]


tracert

It is used to see how network packet sent and received and how many hops are required tfor the packet to get to its destination.

route

This is used to manually configure routes in the routing table.

getmac

It is used to get your local and remote MAC(physical) address.









For Linux:



netstat

Displays contents of /proc/net files. It works with the Linux Network Subsystem, it will tell you what the status of ports are ie. open, closed, waiting, masquerade connections. It will also display various other things. It has many different options.

tcpdump

This is a sniffer, a program that captures packets off a network interface and interprets them for you. It understands all basic internet protocols, and can be used to save entire packets for later inspection.

ping

The ping command (named after the sound of an active sonar system) sends echo requests to the host you specify on the command line, and lists the responses received their round trip time.
You simply use ping as:
ping ip_or_host_name
Note to stop ping (otherwise it goes forever) use CTRL-C (break).
Please note: Using ping/smbmount/ssh or other UNIX system programs with a computer name rather than IP address will only work if you have the computer listedin your /etc/hosts file. Here is an example:

192.168.1.100 new 
This line says that their is a computer called “new” with IP address 192.168.1.100. Now that it exists in the /etc/hosts file I don't have to type the IP address anymore, just the name “new”.

hostname

Tells the user the host name of the computer they are logged into. Note: may be called host.

traceroute

traceroute will show the route of a packet. It attempts to list the series of hosts through whichyour packets travel on their way to a given destination. Also have a look at xtraceroute (one of several graphical equivalents of this program).
Command syntax:
traceroute machine_name_or_ip

tracepath

tracepath performs a very simlar function to traceroute the main difference is that tracepathdoesn't take complicated options.
Command syntax:
tracepath machine_name_or_ip

findsmb

findsmb is used to list info about machines that respond to SMB name queries (for example windows based machines sharing their hard disk's).
Command syntax:
findsmb
This would find all machines possible, you may need to specify a particular subnet to query those machines only...

nmap

“ network exploration tool and security scanner”. nmap is a very advanced network tool used to query machines (local or remote) as to whether they are up and what ports are open on these machines.
A simple usage example:
nmap machine_name
This would query your own machine as to what ports it keeps open. nmap is a very powerful tool, documentation is available on the nmap site as well as the information in the manual page.

ifcfg

Use ifcfg to configure a particular interface. Simply type ifcfg to get help on using this script.
For example, to change eth0 from 192.168.0.1 to 192.168.0.2 you could do:
ifcfg eth0 del 192.168.0.1
ifcfg eth0 add 192.168.0.2
The first command takes eth0 down and removes that stored IP address and the second one brings it back up with the new address.

route

The route command is the tool used to display or modify the routing table. To add a gateway as the default you would type:
route add default gw some_computer





COMMENTS

Name

2,1,access keys for facebook,1,adroid on computer,1,advantages of linux,1,adware,1,android,5,android downloader,1,android earning,1,android file manager,1,apps,2,aterms,4,avast,1,avg,1,avira,1,backtrack,1,best addons for firefox,1,best cloud blogs,1,best cloud sevices provider,1,best file manager,1,best recovery softwawre,1,bitcomet settings,1,bitdefender,1,bittorrent,2,bittorrent speed,1,bluestacks,1,Boost uTorrent,1,Child lock,1,cinternet,2,cloud.cloud computing,1,computer,9,data Protection,1,data safety,1,disanvantages of linux,1,disk Defragmentation,1,distance shutdown,1,download free antivirus,1,earn money,1,earn money from android,1,earn talktime,1,es,1,es file explorer,1,extra,3,facebook,1,facebook navigation,1,fast speed,1,fb,1,fedora,1,file,1,firefox addon.best addons,1,folder lock,1,fragmentated data,1,free antivirus,1,free recharge,1,free talktime,1,get talktime free from android,1,Glossary,1,how recovery software works,1,how to,3,how to increase utorrent download speed,1,how to protect my data in public pc,1,how to run android on pc,1,htc,3,htm,2,information of virus,1,internet,1,ipconfig,1,ladoo,1,leech,1,linux,2,linux android,1,linux network command,1,list of antivirus,1,lock data,1,lock folde without any software,1,lock folder,1,mac,1,mac android,1,make own torrent file,1,malware,1,mcent,1,mobile,4,navigate facebook using keyboard,1,netstat,1,network command,1,Parental Control,1,peer,1,peers,1,ping,1,protect pc from virus,1,ransomware,1,recovery software,1,recuva,1,remote shutdown,1,remote turn off,1,root,1,root explorer,1,rooting android.,1,run android on pc,1,seeds,1,shortcuts,1,shutdown,1,shutdown via email,1,sinternet,1,Software,6,Softwares,1,speed up torrent,1,spyware,1,stellar phoenix,1,swarm,1,terms in torrents,1,tips,2,tools for Defragmentation,1,top 10 antivirus 2014,1,top 10 linux OS,1,top antivirus,1,top linux,1,top torrent search engine,1,torrent,1,torrent speed,1,types of cloud,1,ubuntu,1,uncategorised,1,utility,4,utorrent,1,utorrent speed,1,virus,1,vmware android,1,what is Defragmentation,1,what is linux,1,what is virus,1,wifi transfer tool,1,windows network command,1,windroy,1,work with command line for network,1,
ltr
item
TechnoHub: Network Commands For Windows And Linux
Network Commands For Windows And Linux
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtxjKKrJsenxyh6IlYSGPzVXiTXbCTO2NGIQGik6FGbl7o9xwblK9-Hj3qI4UPpFhH9jQBhX4wkyMyA7B306h8GLG3Q8g-sRqBWwF5QZ1NZCO47bxGggygIHOqB5dmiEgZDiepUq6QA2Zi/s1600/8netwrking.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtxjKKrJsenxyh6IlYSGPzVXiTXbCTO2NGIQGik6FGbl7o9xwblK9-Hj3qI4UPpFhH9jQBhX4wkyMyA7B306h8GLG3Q8g-sRqBWwF5QZ1NZCO47bxGggygIHOqB5dmiEgZDiepUq6QA2Zi/s72-c/8netwrking.jpg
TechnoHub
http://technohubhere.blogspot.com/2014/07/network-commands-for-windows-and-linux.html
http://technohubhere.blogspot.com/
http://technohubhere.blogspot.com/
http://technohubhere.blogspot.com/2014/07/network-commands-for-windows-and-linux.html
true
810857007427747795
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy