From 8861998f1b5fc4a90b3b8bb0af695d6cb0e746e2 Mon Sep 17 00:00:00 2001 From: Harikesh Pallantla Date: Sat, 1 Oct 2022 08:45:06 +0000 Subject: [PATCH 1/2] Add ifconfig to the list. --- ifconfig/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ifconfig/README.md diff --git a/ifconfig/README.md b/ifconfig/README.md new file mode 100644 index 0000000..349db1e --- /dev/null +++ b/ifconfig/README.md @@ -0,0 +1,20 @@ +# 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 +``` \ No newline at end of file From 35e81fae58e213c3591cf63cc9dc2145a84f5334 Mon Sep 17 00:00:00 2001 From: Harikesh Pallantla Date: Tue, 24 Oct 2023 22:01:34 +0530 Subject: [PATCH 2/2] Update README.md --- ifconfig/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ifconfig/README.md b/ifconfig/README.md index 349db1e..1355cc1 100644 --- a/ifconfig/README.md +++ b/ifconfig/README.md @@ -17,4 +17,7 @@ sudo apt-get install net-tools ### For CentOS or RPM(RedHat Package Manager) based Linux ``` bash yum install net-tools -``` \ No newline at end of file +``` + +### Example +![screenshot](https://github.com/harikesh409/ez_Unix/assets/3501554/6bde8fe6-305c-447d-a7a0-aa541004b6b4)