Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Terminal Tutorial - Part I: Basic Commands and Concepts

Loading...

Sign in or sign up now!
6,564
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 13, 2010

Hey everyone!

Here is a basic tutorial on using the Terminal for some basic commands.

Here are the commands covered in this video:

ls - List files
cd directoryname - Change directory
touch filename - Make file
rm filename - Remove file
rm -r directoryname - Remove directory (we'll talk more about the -r and these flags in the next video)

To abort a command/get a new line - ctrl + c

Please ignore the "cat" command at the end - it just lets me type text without it interpreted as a command.

If you have any

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (Legolover64)

  • Hello! your video i really good! Can you help me with something? I deleted some drivers of sound card but when I go to trash and empty it securely I take the message The Finder can’t complete the operation because some data in “Saffire MixControl” can’t be read or written.

    (Error code -36). Do you know how can I delete it from terminal?

  • @thanos2888 Yes I do!

    Simply open up the Terminal, do:

    cd .Trash

    to get to your trash! Then:

    ls

    to list the files! Finally, do:

    rm filename

    or if that doesn't work,

    sudo rm filename

    but make sure you're explicit about everything! I'll cover sudo in a soon-to-come tutorial! I hope this helps!

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • when are more coming?

    

  • Whatever works is a good film :)

  • Were can I find part 2?

  • Your awesome! I have an app called roblox so it's roblox.app and I can get into it with tab but how do I change things in it like hacking change things in it like my money/robux?

  • Can you help me on how to customize the desktop on Mac OS X Lion?

    Hi i like your tutorial.. keep it up :)

    Thanks :)

  • The very first thing you should have shown is 'pwd', print working directory, so people know where they are in the filesystem.

  • Thank you so much :)

  • What if you get a command not found in terminal?

  • if i do tab than it doesn't work only by demo?

    really wird can you help me?

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more