Skip to content

securitygems.com

Small things with high value related to security.

Recent Posts

  • Check a Drive for Errors
  • robocopy to list all files on a drive
  • glogg – the fast, smart log explorer
  • Linux package managers, all the things
  • Android External SD Card, Comprehensive Summary

Recent Comments

  • admin on WhatIsMyBrowser API
  • Prakash on Send mail from your serving using mailjet
  • Tofer Johansen on cloud log service
  • Geoff Dan-George on Free Cloud Hosting
  • Jeff on IObit Sosftware Updater

Linux, set ENV VARS in rc.local script

HOME=${HOME:-/home/root} export HOME
This would set $HOME to /home/root unless it’s already set and not empty.
See Related:
unix.stackexchange.com/questions/521326/home-not-set-when-running-bash-from-rc-local
Posted on June 15, 2023June 14, 2023Author Ed ItorCategories Tech

Post navigation

Previous Previous post: Domain, IP History Services shodan, zoomeye, fofa, censys, binaryedge
Next Next post: IP Reverse Lookup
Proudly powered by WordPress