ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

find IP address in linux

linux

Linux for beginner

find ip address in linux

find ip address in macos

find ip address in apple

cloudpradeep

quitesimple

quitesimpletech

linuxtech

tricks

tips on linux

2023

opensource

chatgpt

chatgpthelp

Автор: Quite Simple

Загружено: 2023-03-17

Просмотров: 18260

Описание: To find the IP address of a Linux system in a short line, you can use the following command:

ip addr show | grep 'inet ' | awk '{print $2}' | cut -f1 -d'/'

Here's what each part of the command does:

ip addr show : displays information about network interfaces on the system.
grep 'inet ' filters the output of the previous command to show only lines containing the string 'inet ', which indicates an IPv4 or IPv6 address.
awk '{print $2}' extracts the second field (the IP address) from the filtered output.
cut -f1 -d'/' removes the subnet mask from the IP address by using the '/' character as the delimiter and printing only the first field.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
find IP address in linux

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]