Let us see how to change the color of shell prompt on a Linux or Unix system when using bash.
Source: BASH Shell Change The Color of Shell Prompt on Linux or UNIX – nixCraft
Let us see how to change the color of shell prompt on a Linux or Unix system when using bash.
Source: BASH Shell Change The Color of Shell Prompt on Linux or UNIX – nixCraft
To change your directory colors, open up your ~/.bashrc file with your editor
nano ~/.bashrc and make the following entry at the end of the file:
LS_COLORS=$LS_COLORS:’di=0;35:’ ; export LS_COLORS
Source: How do I change the color for directories with ls in the console? – Ask Ubuntu
We will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary to.
EFF, where are you?
Source: Windows 10 is possibly the worst spyware ever made | Network World
From August 2015
You can run Pi-hole in a container, or deploy it directly to a supported operating system via our automated installer.
Source: Pi-hole®: A black hole for Internet advertisements – A black hole for Internet advertisements
What’s more interesting is that this flaw can be exploited by an attacker to run commands as root just by specifying the user ID “-1” or “4294967295.”
That’s because the function which converts user id into its username incorrectly treats -1, or its unsigned equivalent 4294967295, as 0, which is always the user ID of root user..
Source: Sudo Flaw Lets Linux Users Run Commands As Root Even When They’re Restricted
Dennis MacAlistair Ritchie’s was “dmac”, Bourne’s was “bourne”, Schmidt’s was “wendy!!!” (his wife’s name), Feldman’s was “axlotl”, and Kernighan’s was “/.,/.,”.
Source: Computer historians crack passwords of Unix’s early pioneers / Boing Boing
and Ken Thompson’s was “p/q2-q4!” (chess notation for a common opening move).
CentOS offers a bit of a different take on installing and updating packages. First off, the default package manager has migrated from YUM to DNF. The command structure for each is quite similar, so instead of running a command like:
sudo yum install httpdYou’d issue the command:
sudo dnf install httpdFor more information on DNF, see How to use the DNF package manager.
As you’ve probably seen in the comments to your question, the cronjobs in
/etc/cron.hourly
(and the other, similar directories) are executed byrun-parts
.run-parts
is a little picky about filenames. By default it doesn’t execute files whose filenames contain anything other than (all of those from ASCII)
- uppercase letters
- lowercase letters
- digits
- underscores
- dashes (“minus signs”)
So if your script has a filename of for example “myscript.sh”, it just is ignored, because
run-parts
does not like the dot.
Source: Why putting a script in /etc/cron.hourly is not working? – Ask Ubuntu
LOL!
In this tutorial, we will see how to use the terminal to clean up unused memory that was not released properly after being used by your system. No need to use any third-party software, just a few commands will do the job pretty easily.
Source: How to Free up Unused Memory in Ubuntu/Linux Mint
Have a little problem with a server freezing which might be memory related. This simple tutorial was very helpful.
You can free up unused memory under Ubuntu/Linux Mint using this command:
sudo sysctl -w vm.drop_caches=3
The bugs exist in ‘journald’ service, tasked with collecting and storing log data, and they can be exploited to obtain root privileges on the target machine or to leak information. No patches exist at the moment.
Source: Linux systemd Affected by Memory Corruption Vulnerabilities, No Patches Yet