Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
trying to figure out darwin
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="masaka___" data-source="post: 22075"><p>Emacs is a religion masquerading as a text editor. It is diametrically opposed to vi (another religion masquerading as a text editor).</p><p></p><p><a href="http://www.emacswiki.org/" target="_blank">http://www.emacswiki.org/</a></p><p></p><p>To exit emacs, type Ctrl-X Ctrl-C.</p><p></p><p>To exit vi, hit ESC; then type ':qa!' without the single quotes and then press Enter.</p><p></p><p></p><p></p><p><strong>List files in a directory</strong></p><p>ls</p><p></p><p><strong>List files more verbosely</strong></p><p>ls -l</p><p></p><p><strong>See a list of a bunch of other unix commands</strong></p><p>ls -l /usr/bin</p><p></p><p><strong>Make the output of a command scrollable by piping it through 'less'</strong></p><p>ls -l /usr/bin | less</p><p></p><p><strong>Read the manual for a command</strong></p><p>man COMMMAND</p><p></p><p>(Example: man ls)</p><p></p><p><strong>Change directories</strong></p><p>cd DIR</p><p></p><p>(Example: cd /usr/bin ; cd /etc)</p><p></p><p><strong>Change back to the home directory</strong></p><p>cd ~</p><p>(or just)</p><p>cd</p><p></p><p><strong>Go back to the last directory you were at</strong></p><p>cd -</p><p></p><p><strong>Go to the root directory</strong></p><p>cd /</p><p></p><p><strong>Configure the OS from the command line</strong></p><p>defaults</p><p></p><p>(Example: defaults read com.apple.desktop Background)</p><p></p><p><strong>Open a file with the default application</strong></p><p>open FILE</p><p></p><p>(Example: open ~/Pictures)</p><p></p><p><strong>Download something from the web</strong></p><p>curl -O URL</p><p></p><p>(Example: curl -O <a href="http://www.apple.com/index.html" target="_blank">http://www.apple.com/index.html</a>)</p></blockquote><p></p>
[QUOTE="masaka___, post: 22075"] Emacs is a religion masquerading as a text editor. It is diametrically opposed to vi (another religion masquerading as a text editor). [url]http://www.emacswiki.org/[/url] To exit emacs, type Ctrl-X Ctrl-C. To exit vi, hit ESC; then type ':qa!' without the single quotes and then press Enter. [b]List files in a directory[/b] ls [b]List files more verbosely[/b] ls -l [b]See a list of a bunch of other unix commands[/b] ls -l /usr/bin [b]Make the output of a command scrollable by piping it through 'less'[/b] ls -l /usr/bin | less [b]Read the manual for a command[/b] man COMMMAND (Example: man ls) [b]Change directories[/b] cd DIR (Example: cd /usr/bin ; cd /etc) [b]Change back to the home directory[/b] cd ~ (or just) cd [b]Go back to the last directory you were at[/b] cd - [b]Go to the root directory[/b] cd / [b]Configure the OS from the command line[/b] defaults (Example: defaults read com.apple.desktop Background) [b]Open a file with the default application[/b] open FILE (Example: open ~/Pictures) [b]Download something from the web[/b] curl -O URL (Example: curl -O [url]http://www.apple.com/index.html[/url]) [/QUOTE]
Verification
Number of capital letters in the following statement $5S7n%H9^N4f
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
trying to figure out darwin
Top