Development

Create volume from snapshot and mount

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html go to ec2 instance terminal As you can see there is only 1 volume at this point, now lets attach the new one status is now in-use Now we have 2. Now lets mount. Lets make a directory. “/werm” though in our terminal it shows up as xvdf1, we[…]

Read More »

Set system-wide variables macosx

to set the $SHELL env var permanently do it through this line opens with bash non-interactive shell it then uses ~/.bashrc to set system wide vars log out of shell then go back in lets edit the file to load files from /etc/profile.d Below is another way for login shells[…]

Read More »

Update PATH var in linux (Macosx)

I order to add to $PATHS systemwide var you can easily edit /etc/paths.d. You can add a file that has paths you would like to append to the $PATHS var. Make sure you have proper permissions to create a file in /etc/paths.d close your shell then jump into a new[…]

Read More »

Set env vars on linux per user (macosx)

first see what bash you are using for mac osx big sur its when using vscode on that same mac https://flaviocopes.com/shell-environment-variables/ running “ls” in /etc dir you get this depending on what shell you use, you want to set up your env vars in those files when search “zsh is[…]

Read More »