[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I.P Address - LINUX
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 20
Thread images: 1
File: deusexhax.jpg (29 KB, 502x330) Image search: [Google]
deusexhax.jpg
29 KB, 502x330
Anyone know how to change your IP Address by using Terminal commands in Linux?
>>
yes I know
>>
>>53595777
You mind sharing the information anon?
>>
ifconfig <interface> <ip>
>>
>>53595839
thank you, have a good day.
>>
# ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up
# ifconfig eth0
# rm -rf / --dont-even-preserve-root
>>
>>53595900
very much appreciated thank you
>>
man ip
ip addr add 123.123.123.123 dev eth1
>>
>>53595839
>>53595900
>ifconfig
Deprecated. "Up to date" dsitros don't include that any more.

>>53597102
This, except you forgot to add the subnet.
ip addr add 192.168.0.1/24 dev enp2s0
>>
>>53595900
dont do this. It makes mustard gas.
>>
>>53595759
echo > /etc/sysconfig/network-scripts/ifcfg-eth0
>>
>>53597154
ifconfig is deprecated? What kind of gay distro would get rid of ifconfig?
>>
>>53597154

>ifconfig
>deprecated

And that's the reason I don't use Linux any more right there: they just love fixing what isn't broken!

Been a proud BSDfag for 6 years now. My life improved so much!

When did you outgrow Linux, /g/?
>>
>>53597491
Can you run binaries for Linux on BSD? Say Eaglecad for example?
>>
>>53597582
Not a BSD user, but 15s of googling says FreeBSD has binary compatibility with Linux, with a few quirks. No idea how recent that information is.
>>
>>53595900
This should do the job
>>
Shouldn't that be --no-preserve-root? I wonder what fuckery led that to even be an option in rm.
>>
>>53595900
>--dont-even-preserve-root
lol
>>
>>53597491
>outgrowing freedom for hipsterdom
>>
>>53597154

the fuck? since when?

what are we to use now?
Thread replies: 20
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.