Questions tagged [rc]
An RC file is a script file containing startup instructions for an application program (or an entire operating system). These are usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up.
12
questions
10
votes
1
answer
9k
views
Why do we daemonize processes? [closed]
I've read and understood about how you create a daemon process, but from everything I read I never really understood why it needs to be done.
I've read that we do the fork - setsid - fork to avoid ...
3
votes
2
answers
3k
views
Less command change color of "~" and "(END)"?
How do I change the color of the "~" characters that go along the edge of a Less command output.
And how to change the color "(END)" at the bottom?
3
votes
1
answer
3k
views
Automatically start an application with a modifed LD_PRELOAD?
I have an application that needs a modified LD_PRELOAD.
I want to start the application using the originally provided rc script, so I can benefit from an automatically updated rc script on an update ...
2
votes
1
answer
478
views
how to distinguish ssh from scp in ~/.ssh/rc?
I'd like to launch neofetch (a small utility that displays a banner) each time I log into a remote server via OpenSSH. So, I just added /usr/bin/neofetch into my ~/.ssh/rc file, and it works fine.
The ...
1
vote
2
answers
598
views
My ubuntu-server doesn't execute my gtk-based program at startup!
I have Ubuntu-server 16.04. Installed gtk3 and can execute my program manually by this command: ./img when I go to it's directory /home/m.
But when I tried to add this line to my /etc/rc.local file:
...
1
vote
1
answer
3k
views
FreeBSD - best way to set console vidcontrol mode from boot without disrupting scrollback buffer info
My system uses vidcontrol to change video mode, and I'd like to set a tighter video mode from boottime, for all console windows/devices. man vidcontrol says to do this by editing it into rc or rc....
1
vote
1
answer
11k
views
Understanding rc.local and troubleshooting
I (new to linux) am attempting to add a command to the boot up that will execute an application. The application accepts parameters and has simple output of what it is doing. To troubleshoot it, how ...
0
votes
1
answer
58
views
Using bash functionality in rc files
I am trying to do something similar to Avoiding plain-text password in http_proxy but inside the .wgetrc/.curlrc configuration files. For whatever reason, I have spotty luck by passing proxy settings ...
0
votes
0
answers
53
views
Automating proxy configuration across multiple applications without plaintext password
More generally than the post described here: Using bash functionality in rc files
I would like to set an appropriate proxy configuration for all/multiple applications including but not limited to: ...
0
votes
1
answer
322
views
What is the best way for storing and versioning his aliases/functions/symlinks?
actually I have these lines (exemplary) in my .zshrc file:
. ${TOOLS_HOME}/cli/.cli_base
. ${TOOLS_HOME}/cli/.cli_functions
. ${TOOLS_HOME}/cli/.cli_symlinks
This works fine so far. My only problem ...
0
votes
2
answers
2k
views
Execute simple script before shutdown and reboot
I need to run a script before shutting down or rebooting my VPS running Debian 8,to keep count of network statistics.I tried adding the script directly to /etc/init.d and symlinking it in /etc/rc0.d ...
0
votes
1
answer
327
views
What are the key components of a desktop environment?
I'm a relatively new Linux user. I started with Ubuntu 20.04 a few months ago, and eased myself into the experience, learning a bit of the command line and becoming familiar with the system structure
...