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
commands?
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="XmacgeniusX" data-source="post: 36175"><p>heres a few,</p><p>cd=change directory Example:cd /users/(username)/desktop</p><p></p><p>pwd=show current directory</p><p></p><p>mkdir=create a directory mkdir /users/(username)/desktop/(New Directory) , if the </p><p>new directory has spaces in it, be sure to put the whole thing in "double quotes"</p><p></p><p>cp (file location)=[copy file]/rename Example: cp /users/(username)/desktop/image.jpg /users/(username)/desktop/pictures/image12.jpg</p><p></p><p>mv=relocate a file Example: cp /users/(username)/desktop/image.jpg /users/(username)/desktop/pictures/image.jpg</p><p></p><p>ftp X.X.X.X=connect to that host via ftp</p><p></p><p>ed (file name) = edit a text file</p><p></p><p>login= login to a different user Example: login bob , then it will ask for bob's password</p><p></p><p>open (program/file location)= opens up a program or file Example: open /applications/safari.app</p><p></p><p>kill (process number) =closes the process/application</p><p></p><p>top= lets you view what processes are going on</p><p></p><p>shutdown = shuts down ur computer</p><p></p><p>shutdown -r = restarts your computer</p><p></p><p>These should get you going</p></blockquote><p></p>
[QUOTE="XmacgeniusX, post: 36175"] heres a few, cd=change directory Example:cd /users/(username)/desktop pwd=show current directory mkdir=create a directory mkdir /users/(username)/desktop/(New Directory) , if the new directory has spaces in it, be sure to put the whole thing in "double quotes" cp (file location)=[copy file]/rename Example: cp /users/(username)/desktop/image.jpg /users/(username)/desktop/pictures/image12.jpg mv=relocate a file Example: cp /users/(username)/desktop/image.jpg /users/(username)/desktop/pictures/image.jpg ftp X.X.X.X=connect to that host via ftp ed (file name) = edit a text file login= login to a different user Example: login bob , then it will ask for bob's password open (program/file location)= opens up a program or file Example: open /applications/safari.app kill (process number) =closes the process/application top= lets you view what processes are going on shutdown = shuts down ur computer shutdown -r = restarts your computer These should get you going [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
commands?
Top