I have revision 6.2.Ĭheck you local library. Practical Guide to Linux Commands, Editors, and Shell Programming, A (2nd Edition) the book Don't be fooled by the name, the second addition includes Mac OS X.Īdvanced Bash Script. create another userid for messing with terminal/unix. making a complete backup of you machine. That's why he's added the -i switch on that command, for instance. His command is correct and does target the files necessary, but switches or sudo or even spaces in the wrong spot can potentially allow that command to delete great swaths of your files or even your operating system.
You'd need to know all of what was done.Īnd a caveat with Linc Davis's rm command - be very careful with the rm command.
If you've made changes to the Unix layer - the operating system settings, and particularly commands involving sudo or su or related commands - there may or may not be a path to restore those settings short of a system reinstallation. But the whole operating system is also accessable to an administrative user. There's far more available here to change than just the login settings.Ĭertainly login settings and user preferences can be changed, and these are per-user. Terminal.app, ssh sessions, telnet sessions and some related tools are paths into the Unix underpinnings of OS X, and the Unix command line.
Best mac terminal x11 how to#
Linc Davis has provided details of how to reset Terminal.app itself and your login session, if that's what you have changed.