How to configure script for automatic run after login
Create startup-script(or any other)file in your home directory. Then enter following command
nano startup-script chmod 777 ./startup-script sudo defaults write com.apple.loginwindow LoginHook /Users/thomas/.startup-script
Another solution is to create .bash_profile file, which is launched automatically by system.
or create
How to configure new search path
If you want to have bin folder in your home directory, enter following code snippet to your .profile file located in your home directory:
export PATH=$PATH:/Users/user_name/bin
Open file using:
nano ./.profile
Note:Path is separated by char “:”.
How to instal apt-get alternative for MacOS
Mac OS have apt-get alternative called “port“.
- Port is available for download at download.darwinports.com. and http://www.macports.org/
- TODO
Additional notes
Realtek RTL81xx macOs version:
How to mount Windows drive from MacOs
As first, create some directory where you want to mount your shared drive
mkdir mnt cd mnt mkdir computer_d mount -t smbfs //user_name:[email protected]/d computer_d
Conclusion & Note
It’s possible that all of these task can be done in simpler way, or can’t be done at all. All comments and tips are based on my current experience with my first MacOS configuration in my life 😉
Leave a Reply