Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Been using windows so long my mind continuously replaced “ifconfig” with “ipconfig” until finally realizing someones “typo” that I realized was not a typo at all. IFconfig, not IPconfig. Just wanted to point that out for other Windows long-timers.
Oh yeah, I never did get “ifconfig eth0 | grep inet | awk ‘{ print $2 }’” to work… instead I used “ifconfig” by itself and it worked fine.
Fedora doesn’t always use eth0 as the default Ethernet port, usually it is em1 so the command would be " ifconfig em1 | grep inet | awk ‘{ print $2 }’ "
A useful command I use is " ifconfig | grep -v ‘inet6|127.0.0.1’ | grep inet " optionally with | awk ‘{print $2}’ at the end as this works regardless of the Ethernet port name.
If you are new to Linux you might think this takes a long time to type out and your right but you can add this as an alias to you .bashrc file that is in your home directory. Add the following code to .bashrc, restart your terminal then when you want your ip address just type ip
alias ip=“ifconfig | grep -v ‘inet6|127.0.0.1’ | grep inet | awk ‘{ print $2 }’”
I can’t get the mySQL service to start. It also only asked me to give it permission once during the mySQL install. Am I doing something wrong?
@Daniel: What do you see if you try to run <pre>sudo service mysqld start</pre>?
@dheeraj08515: Does replacing <pre>service</pre> with <pre>/sbin/service</pre> fix it?
mysqld has to be replaced with mariadb. For some reason systemctl status mysqld will correct, but enable and start won’t.