Q. Shell scripts.. Simultaneously when I was learning Applescripts, i've learned shell scripts. This is what I know so far
A.
- ls - directory listing
- cd .. - same as windows but with a space before the double dots
- man - gives the manual for any command ex: man ls
- clear -
- top - shows what programs are running
- [ ] means anything optional
- ./file - this runs the file in the current directory instead of something in the path
- chmod +x file - makes the file an executable
- vi - is some sort of editor with a complex set of commands
No comments:
Post a Comment