-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Environment Files #17
Comments
remember script to show last set of commands run (on login): https://gist.github.com/devlinjunker/42e8ce6bf3cd0eefef966ec49059c605 |
Setup Script
|
can create file in OR.... on amazon ec2 linux, there is script that runs on cronjob:
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe:
I would like the experience on remote servers to be as consistent as possible
Describe the solution:
Provide/create .rc files that can be placed on server when sshing to that provide consistent experience
@ () { ... }
function?Also would be nice to get information when logging into server
(https://unix.stackexchange.com/questions/16255/how-can-i-change-whats-displayed-at-a-login-shell)
mount
outputfindmnt
?du -h
- size of files in current directory (-ah for recursive this directory)df -h
- mounted drive sizesudo du -a | sort -n -r | head -n 20
- current directorysudo du -a / | sort -n -r | head -n 20
- entire computerless /etc/users
andless /etc/groups
crontab -l
Send message on signout?
Describe alternatives you've considered:
N/A
Links/Additional context:
Recent History Script
Testing:
The text was updated successfully, but these errors were encountered: