Comments (2)
$ sudo bash -c 'env | fgrep USER= | fgrep -v COMMAND'
SUDO_USER=rgomes
USER=root
So, when running under root
, we should employ the home of ${SUDO_USER}, not the home of ${USER}.
from bash-scripts.
from bash-scripts.
Related Issues (20)
- Improve application installation scripts under folder user-install HOT 1
- Be whitespace friendly HOT 1
- Minor updates, bump versions and small improvements in user-install and sysadmin-install scripts HOT 1
- Fix ff* and fg* functions
- Overhaul entire toolbox, turning functions and aliases onto shell scripts wherever possible HOT 1
- Sort out applications dependent on .deb packages
- Community feedback is welcome!
- can't figure out how to use git_sparse_checkout HOT 3
- install dhall-openapi
- Install Clang Language Server
- Language Server for R
- Language Server for XML HOT 1
- Syntax highlight for vlang.io
- Get rid of wget; embrace curl
- Review scripts under folder user_install
- Review scripts under folder sysadmin_install
- Cannot make git_sparse_checkout work for me HOT 2
- Install some sort of SQL formatter
- git_sparse_checkout using a branch tag HOT 1
- Language server for Lobster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash-scripts.