-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
- prompt similar to on my mac, but different enough to differentiate
- run gitstatus in git repos
- https://github.com/devlinjunker/shell/blob/master/bash/lib/gitstatus
- (make "leave no trace" mode - cleanup .gitfetch on signout?) -- new issue for this
- network exploration commands
- store useful commands on the server
- use
@ () { ... }function?
- use
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)
- explanation for mounted drives?
- size of disk? large files?
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 computer- https://www.cyberciti.biz/faq/linux-find-largest-file-in-directory-recursively-using-find-du/
- unique installed dirs/apps?
- search typical locations?
- list of users? groups?
less /etc/usersandless /etc/groups- https://linuxize.com/post/how-to-list-users-in-linux/
- https://linuxize.com/post/how-to-list-groups-in-linux/
- reminder about crontabs
crontab -l
- host name
- from ssh request?
- complicated looking... https://superuser.com/questions/1397225/what-is-the-easiest-way-to-send-a-file-or-a-text-message-from-a-server-to-a-clie
- history size + recent history
- show $PATH? what programs are available
- custom programs available?
- capture programs on path?
- https://github.com/Valodim/zsh-capture-completion/blob/master/capture.zsh
- recent user/current user info (also ports being used)
- review zshrc?
Send message on signout?
Describe alternatives you've considered:
N/A
Links/Additional context:
Recent History Script
Testing:
- Place .rc files on amazon server and test that experience is more consistent and helpful info is provided to the user
- ssh to mac mini?
- test on work server?
Metadata
Metadata
Assignees
Labels
No labels