You were trying to know the IP address of your Linux Operating System, and an error occurred with the message “bash: /usr/sbin/ifconfig: No such file or directory,” and that error has brought you here.
...
- Step 1: Update the system's APT cache repository. ...
- Step 2: Install net-tools. ...
- Step 3: Run the “ifconfig” command.