-
-
Save glukicov/66da927f7127563b3c3559b0e1d76c6d to your computer and use it in GitHub Desktop.
.profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use ML as $ML in Linux (can use ip address instead of the DNS hostname) | |
export ML=mlgpu.ddns.net | |
# just like below ;) for the magic packer command to wake-up a remote machine | |
alias wake_gml="wakeonlan -i $ML -p 22 b3:21:88:6k:17:24" | |
# open ssh tunnel from ML to the laptop in port 8899 | |
alias sg="ssh -L 8899:localhost:8899 $ML" | |
# 'cd_ML' to quickly cd into the mounted directory | |
alias cd_ML="cd /Users/user/Documents/Ubuntu_mount/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment