nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

VI / VIM - Open File And Go To Specific Function or Line Number

Posted: 04 Nov 2020 02:42 AM PST


{Updated} How do I open a text file using VIM or VI and go to specific line? How do I open a file using vim and go to specific function() in my source code?

The post VI / VIM - Open File And Go To Specific Function or Line Number appeared first on nixCraft.

How to enable rc.local shell script on systemd while booting Linux system

Posted: 04 Nov 2020 02:32 AM PST

How to enable rc.local shell script on systemd while booting Linux system

We can easily enable rc.local shell script support on systemd while booting the Linux system. Traditionally, the shell script /etc/rc.local used by developers and Linux sysadmin to call other scripts or commands after all services are loaded. Typically /etc/rc.local get called at the end when Linux init switched to a multiuser runlevel. However, by default. /etc/rc.local support is disabled under systemd. This page shows how to enable and execute rc.local shell script during boot using systemd on Linux.

The post How to enable rc.local shell script on systemd while booting Linux system appeared first on nixCraft.