Provided that you already have an IP ready to use, lets issue a couple of commands to get it good to go in your system. Continue reading
Get the name of current file from inside vim
For example, considering I am editing file
/home/user/server.txt The following commands could be entered to display the information shown.
How to pass an option to the kernel – that should be from the bootline – using grub2:
Edit the kernel entry on /boot/grub2/grub.cfg, but that is going to be lost when the kernel is updated. To make it permanent, add it to GRUB_CMDLINE_LINUX on /etc/default/grub and run grub-makeconfig again.
Press ‘e‘ in the gray initialization menu. Edit the linux line, like for example:
linux /vmlinuz-3.10.0-64.el7.ppc64 root=UUID=807b0ca4-f10e-4a27-8d53-a 577fbd6eb98 ro vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-s un16 LANG=en_US.UTF-8 disable_ddw=y
Use the ‘–exclude-dir=<dir-name>’ parameter when grepping for a word.
Ex.: How to search for ‘alien‘ under all directories excluding the ‘Repositories‘ directory
$ grep -R --exclude-dir=Repositories alien *
Use hostnamectl to manage hostnames, like this: Continue reading
There may be instances when the user might have to upgrade the Power Systems firmware to a more recent level to acquire new features or additional support for devices. Continue reading