Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions ifconfig/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ifconfig

**ifconfig**(interface configuration) command is used to configure the kernel-resident network interfaces. It is used at the boot time to set up the interfaces as necessary. After that, it is usually used when needed during debugging or when you need system tuning. Also, this command is used to assign the IP address and netmask to an interface or to enable or disable a given interface.

## Syntax:
``` bash
ifconfig [...OPTIONS] [INTERFACE]
```

Newer versions of some Linux distributions don’t have ifconfig command pre-installed. So, in case, there is an error “ifconfig: command not found”, Then execute the following command to install ifconfig.

### For Debian, Ubuntu, and related Linxu distributions
``` bash
sudo apt-get install net-tools
```

### For CentOS or RPM(RedHat Package Manager) based Linux
``` bash
yum install net-tools
```

### Example
![screenshot](https://github.com/harikesh409/ez_Unix/assets/3501554/6bde8fe6-305c-447d-a7a0-aa541004b6b4)