Added: 3 years ago
From: macheads101
Views: 89,704
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (295)

Sign In or Sign Up now to post a comment!
  • you did better with that tutorial than a lot of pros i have seen

  • pretty good tutorial!

    ima try to have som fun with this!

    btw you know how to enable root on mac lion?

  • Will these commands work on Lion?

  • @mrspy1100 Yes, they should.

  • One more thing. I am trying to install netBeans for my macbook pro and it won't allow me throwing an error"you need java 6 to run this app". I saw you have netBeans in your dock. Any ideas?

  • @carbidutz I don't think Mac OS X comes with Java pre-installed anymore. You will have to download it from sun's website.

  • why am I getting this Last login: Thu Jan 5 02:51:56 on ttys000

    87-198-30-128:~ danielcoman$

    I mean whats up with my IP there? How can I get my name there like you did?

  • @carbidutz Usually your prompt includes your machine's host name. Unfortunately, a lot of the time Mac OS X decides to automatically chose this for you.

  • @macheads101 annoying.. thanks though

  • it all worked very well until you started on the copying, moving and renaming things. my terminal keeps telling me: "No such file or directory" ..which NOT true.. so now I'm wondering do I have to do something else? be in the same directory I'm copy pasting from?

  • @beguie If you are trying to copy a file, either you need to enter a relative or absolute path to the file, meaning that you should be CD'd to the directory containing the item that you are trying to rename or copy.

  • Why do you have "perl" at the top of your terminal screen here look

    "Terminal - perl - 80x24"

  • @jacob7ism Good question. Seems like a glitch in terminal.

  • When i start up Terminal its just a screen, without anything in it..

    WHAT DO I GOTTA DO>?

  • @Colinowww Try rebooting your computer.

  • @macheads101

    just did it ten minutes ago, and it worked :D

    You Are So Smart

    Thanks A Lot!

  • Very smart in the mac area kid!

  • Any idea how to fix a malfunctioning dock (I can erase and move icons but once I restart the changes don't take. I created a new user account which the dock works fine for, though) and malfunctioning system preferences (Allows me to select desktop image but desktop image doesn't change to what I selected)? I own a mac Pro desktop 2008 which had a faulty video card that Mac replaced but now I have the issues I mentioned. Im going nuts. I have tried erasing the .plist files and no luck.

  • Bloody hell... Can't believe some of the comments here.

    macheads101 - you must have the patience of Job. (No, don't any of you even THINK of making a remark here.)

    Seriously folks, look up the difference between Windows and OS X. It's not hard, Google is your friend... Then come back here after you get out of school.

  • please kid, turn the icrap off and go out and play! there's a great big and exciting world out there...a real world, unlike computers...btw, windows 7 FTW! booyaa!

  • how did you set that green on back text. I'm wondering because i love it.

  • @the101Jackboy You can set it in the Terminal preferences.

  • @macheads101 The Terminal and functions of his tutorial can be only found in Unix and Unix-like Operating Systems (Mac, Linux, ect.

    )

  • For Window users go to the start menu and type in cmd and press enter!

  • how do u get the green writing

  • my terminal is just a pencil and paper plz help if anyone knows how to change that

  • HELLPPP!!! haha ok so umm please help me my terminal is set to login every time i open it up, and the bash interactive shell doesn't come up. I looked in preferences and its set to open /bin/bash so I don't know why it's not working! Please help me! :(

  • Can you upload a version for Windows?

  • @XtremeConnor There is no Terminal on windows.

  • @macheads101 what about shell?

  • @macheads101 There is, but if I'm not mistaking, it's called the command prompt. Instead of typing shellscript in there, you use a 'language called DOS'. Some commands, such as the 'cd' commands are the same.

  • @macheads101 There is a command prompt, and I think that's what he was asking about.

  • @macheads101 yes there is its called command prompt and you get there my going to assures then command prompt.

  • @macheads101 There is but its called CMD

  • @macheads101 macs only hahaha

  • @macheads101 There is. It's called cmd though

  • @ohbear64 That is not terminal. Terminal is a pipeline through which one executes a shell such as sh, bash, etc. Cmd is the windows command line, setup to behave like DOS. They are completely different things. Just because they are both command lines doesn't mean that they are the same thing.

  • @macheads101 Oh, sorry. Thanks for telling me though.

  • @XtremeConnor Terminal is Mac Only

  • @markleycrew2009 Actually, Terminal is also on Linux OS' which are also based off of Unix.

  • @XtremeConnor for windows it's called command prompt, i think

  • @XtremeConnor windows uses cmd.exe.

    All the commands and everything are completely different.

  • @XtremeConnor The OS is basic of Linux, It have terminal

  • nicholas... thats a pretty common name.

  • you sound a little like jenni ``jwoow´´from jersey shore

  • You sound like Justin Bieber, get drunk and do it again, that will probably solve your problem.

  • how can I : cp, rm hi.png (for example) to a sub file Documents>Pictures.

    Can I do thins between files in my whole computer ?

  • Excellent tutorial. You would do just fine in the GNU/Linux world.

  • when i open my terminal its just blank what do i do?

  • @MegaInsaneMusic Normally this is caused because you're computer has been running for too long without being rebooting. Simply shutdown and restart your computer. Closing your laptop doesn't SHUT IT DOWN, it just sleeps it.

  • @macheads101 Hi, there is a config.cfg file that I would like to edit thats inside a folder entitled Euro Truck Sim, and that folder is located inside my documents folder. Once inside the config.cfg file i would like to change two numbers on two different lines. I just want to know how to get inside the file so i can edit it. thank you!

  • @Geniuschance Just go and run

    nano Documents/"Euro Truck Sim"/config.cfg

    Then, make your changes, and press Control+X, y, enter.

  • @macheads101 I apologize... I am pretty savy with dos, but when you say "run nano documents", are you speaking of the terminal in application/utilities folder?

  • @macheads101 when you say run nano, is that a program I already have on my mac pro or a separate program i must obtain. If it is on my system where can i find it? I thought at first you were speaking of the terminal window.

  • @macheads101 I am sorry but, I am posting a second msg and it seems as though its not posting, however please explain how to open or where to find Nano.

  • @Geniuschance You can find a little info on the nano command at bit . ly / sp1uej

  • has anyone else noticed that the word bitch is to the right of desktop?

  • is there any command that allows you to open an application or rename a file or something like that?

  • @thegabytzu97 All of these things are possible. Why not watch the rest of my terminal lessons to learn how to do these things? If you don't want to, mv is the rename command, and open is the open command.

  • @thegabytzu97 You can do everything from the terminal. The apps on your GUI are using commands in the background.

  • Girls who use Linux/BSD, etc are sexy. ;) MacOS It is composed of code developed by Apple, as well as code derived from NeXTSTEP, BSD, and other free software projects. P.S. You don`t have to write all "Picture...bla-bla." You write just P and than you press TAB and will take the name of the picture. Is much easy and fast. Good luck. Anyway, Linux is more sexy, bye-bye.

  • **URGENT** I know that mac can boot from an external hard drive but is there a terminal command that will let you set it up

    Thanks!

  • This is really helpful thanks a lot man, been looking through books to learn and its no where near as simple as the way you explain it,

  • my terminal says unknown-c8-bc-c8-de-ac-53:~ davidjonsson$ when i open it. Pleas help.

  • a lot of help

    thanks

  • @FUCKINROCKIT UNIX is an OPERATING SYSTEM originally developed by AT&T. The file system structure on Mac OS X machines happens to resemble the way that it was on that of BSD. Also, remember, GNU is not UNIX! Mac OS X definitely is. The kernel of Mac OS X is also known as Darwin, a hybrid of BSD, Mach, and Apple's IO/Kit. The Bourne Again Shell is GNU, but not the operating system. Learn your stuff, bro.

  • type- sudo reboot and wait

  • why does your terminal say perl at the top? Mine says bash, and I noticed if I type in perl and hit enter something happens but it makes it unusable.

  • @henrytargett The perl command opens the perl interpreter. To get out of it, press control+d.

  • I'm confused. I'm always told that Mac uses UNIX, But when I look at the the terminal, It say GNU. Which is it?

  • @jsnyderdesign The operating system is of a UNIX structure in that it is based off of BSD. The shell (terminal) that you are using is Bash, which is part of the GNU utilities that come with mac. So, Mac is UNIX, but terminal is partially GNU (Gnu's not unix).

  • @jsnyderdesign unix is not the real name GUN unix is the real name

  • Totally confusing. But I love the sniffling and snorting.

  • Let's type in in Terminal: "killall Justine Biber" and see what happens!

  • how do u set permissions?

  • To be honest when I heard your voice I thought "oh hell, another kid tech video" but your knowledge on the subject was very good and easily explained. I'm a new Mac user and was curious of the function of the terminal. I'm very familiar with the old MS DOS and find that they are very similar. Thanks for the info.

  • This is the most concise video / video series I've found on the topic. The fact that you're a relatively young programmer makes it that much more impressive. Thanks for sharing your knowledge. Well Done! SUBSCRIBED.

  • lol i have windows 7, and im watching a tut for a mac comp.

  • say i want to clear my terminal because it use it to get free programs.. i f i clear it will it erase the codes i used for the hack??

  • In my terminal, there is no start text. What should I do??

  • Really nice little tutorial! I learned a fair amount from this that I didn't know before!  Subscribed :)

  • Ok, pause the video at 2:19. Notice what the 2nd folder is called. Plus I'd be interested if you could tell me whats in "hack".

  • i can't find my terminal app.. :S can you help me?

  • @GoProKing1682 type in "terminal" in the search in the top right corner

  • i too use this magical really awesome coloring ;)

  • Awesome video!!!! I am so glad I found you. I've been trying to learn how to start perl scripting in Linux but there seems to be no video on Youtube showing that. I thought the Terminal you were using was for Linux so I followed everything (in the perl video). And it worked!!!! Now I'm so excited to learn more stuff about Linux terminal even though you're teaching it from a Mac XD

  • Comment removed

  • Comment removed

  • @jgilb100 Do not try this command! it will remove files you don't want it to! Google this command and you will see what I mean.

  • lol look at desktop then look across from it

  • 6 people are Windows idiots who can't work a Mac if their life depended on it.

    Seriously. But this was awesome, thanks! I never understood it until now! :D

  • how can some one dislike this

    

  • does tht text command also work for .txt? cuz i tried it i did cat (space) [name of the txt].txt and i didnt see anything

  • Comment removed

  • Comment removed

  • Hmm! If I'm using the command mkdir in the location "Desktop" a message appears, which says "mkdir: Test: Operation not permitted" The same when I was trying to make a fun prank! Maybe Apple put the security higher in Terminal?

    Maybe someone can help me!

  • @illo38 hahah fail! My Desktop was "locked"! Sorry guys!

  • Dude I seriously wish I had found ur videos A LOT time before!! AWESOME tutorial!!

  • good video, very explanatory. But the camera doesn't move to the text your typing, so I couldn't really see :'(

  • I have no exp on MACs. But after seeing this I see that it is just like Linux. Thanks for the info. You're a smart kid and you know your stuff.

  • terminal is a very useful app before i ad no clue what it was thank you!

  • how do you get rid of the thing where it says alex-nichols-macbook-pro, and so on

    on windows all you have to type in is @echo off but i don't know how to do it on mac please help !

  • This video rocks. Alex explains Terminal in a way that is easy to understand, that is perfect for beginners. To the person who says he sounds like he doesn't know what he's doing, well, what a stupid comment -- he's teaching! He's explaining it to people who don't know what they're doing! He's got a great sense of how to explain things naturally to the right audience. Very effective video. Thanks, Alex!

  • @fuchsia55 And thanks back to you!

  • i get everything your talking about but what it better about using all these commands when you could just do all of this out of terminal, in my opinion faster, just dragging things around and using hotkeys? are there things you can only do in terminal?

  • @nytefox0 There are specific tasks that you can only do from a terminal. Of course, these tutorials are also useful if you have to interact with a unix machine over ssh or telnet. For the normal user, terminal is something that is not necessary needed.

  • @macheads101 I've Also found that this is usefull for running programs that otherwise could not be run from just the app bar. example. i play minecraft and there is a hack for it. and the hack also works with mac. but it's a bit more complicated. i've figured out how to run the hack using terminal and it works quite fluently :D

  • @dylad Hey can you some what explain how you did it?

  • @Zech727 when you first dl the folde. there should be a file called minecraft-osx.sh

    just type "chmod +x minecraft-osx.sh" in terminal after going through the steps to get to the folder

    that will allow you to open the program through terminal.

  • @nytefox0 It just looks cool to do it in front of your non-computerized friends. :)

  • in the title bar for you terminal, it says Terminal - perl but isn't it supposed to be Terminal - bash? Overall, great lesson, learned from a good person who doesn't sound depressed or stupid.

  • The kid seems to know what he's doing but he goes way too fast. He doesn't break it down enough for beginners.

  • lol love the bitch command haha

  • hi, what does the command "sudo find /System -exec touch -t" and a bunch "numbers {} \;" actually mean

    sudo find /Library -exec touch -

    please help!

  • @mhexakosioihexekonta that will touch everything in /System. All this will do is change the "date modified" on the file.

  • What does it mean by when someone say RUN this in a terminal?? Someone told me to run the following: sudo dscacheutil -flushcache to flush my cache. What does that mean and how do i do it?

  • LOL u where on that forum??!! 8-. u are only a kid!!

  • Could you please do or link me to a tutorial on how to change your terminal's colors/theme? Thanks in advance, great tut btw!

  • @miXn click on "terminal", then "preferences", then you can make it look however you want :)

  • I accidentally deleted my first part of the terminal. So for example, the 'alex-nichols-macbook-pro:~ale­x$' (I don't have that anymore and don't recall what it originally stated. Is there a way to retrieve it?

  • I'm confused!

  • lol bitch

  • Comment removed

  • is there any difference between capital and small letters?

  • @iverylovemaths nope

  • What were you doing in perl?

  • when i do the mv "file name" where ever it says usage any hints help

    username-pc:downloads username$ mv "National geographic Vampire Forensics" National Geo

    usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory

  • how do u make a program?

  • real cool man

  • what MOS.pl

    

  • sigh... terminal is much more cooler then cmd

  • @Tidus019 Cmd can to exactly the same things as Terminal... If you use it right.

  • @kloi19123pwn that's not completely true. There are many unix-specific commands for terminal that do specific functions that do not exist in windows. For instance "gcc". There is no use for this command in windows. Another example "ln", there is no use for this since window's NTFS does not support symbolic links.

  • @macheads101 Then I will say: Yup, Cmd doesn't have does commands because it won't need them...

    But Terminal and Cmd is the same concept and they have the necessary commands for Mac/Windows and that is why I say that they are pretty much the same

  • @kloi19123pwn well yeah just making sure that you weren't confused since you did use the word "exactly" even though they are not exactly the same.

  • whats the passwordcrack.exe

  • @trialondadeck an MD5 cracker for windows.

  • I love the terminal. This is where I learned Unix from initially, which helped me get a job. Go figure.

  • tell me how you did the hello thing?

  • nice!

  • You sound DRUNK/ DisGUSTING

  • HOW the FUCK are you so smart? I wasn't even paying attention to whatever you were talking about in this vid and i was still confused as balls.

  • hey when i open terminal, all i get is a blank screen nothing with the host laptop. any suggestions?

  • Suit beginner level, excellent diction and messages were well delivered, you are a good teacher. In fact a good young teacher. Thanks a lot.

  • lets say i want to more .Trash from user directory, how do i do it ? i tried "sudo cp .Trash Desktop"(in this case i just want to copy it)

  • i have a question: is there any difference if you delete a file with "rm -r" rather than "rm" ?

    And thanks for this video, it really taught me something !

  • Hey i'm using an iPod and I can use the terminal too! ;)

  • @werid41 no

  • Nice man, you seem very young, I had to wait a long time to get my hand on a computer at you age, congrats (people, really, try to learn and stop doing so stpd opinions, all the software is easily re-installable, and its IMPOSSIBLE to break hardware from the terminal, it's a fact, and a hardware design law)

  • how u know this

  • @world1spot Thanks man I figured it out I just restarted my computer but thanks you though

  • My Terminal is like broken? I open it and its all blank with no letters at all and when I try to type a command nothing happends it acts like text edit.

    Could anyone help me what the hell is going on.

  • How old are you, 5?

  • Terminal you have to be careful but as long as you arent a retard you shouldnt do too much damage. Terminal for me is fine because its similar to terminal on fedora though yum does not work. ls and a lot of the other commands are very similar to linux

  • DAMN, you sound young in this video.

  • i can do the virus thing now where you make that file that kills everything the 'killall Dock' kinda stuff lol did it to my friend and he went psycho lol had no idea what to do lol i just quit terminal and he was like... oh...

  • Be careful, messing with terminal can permanently trash your computer. It's not a program you should just play with.

  • @YoursTruelyMe2 you sound like someone who doesn't know what you are doing. Terminal is not a problem. It's not like opening it automatically gives me root privileges. It doesn't allow me to do much that I can't do with graphical software anyway.

  • @macheads101 dam

  • @macheads101 The beauty of a unix system is it doesn't automatically give the administrator root privileges like Windows does. Go messing around in Windows command promt and you CAN mess something up. In Unix you actually have to sudo su to get to root. Good video.

  • @JustinoFundido yeah and the underlying feature there is that no account on unix is truly an admin except for root. You still need a password for an account with Sudo privileges, unlike in windows where your account is an admin by default.

  • @YoursTruelyMe2 Haha you dont know anything?who the hell told you that????

  • @YoursTruelyMe2 i have a windows and i mess with cmd and nothing heppened unless you delete a system files(lol stupid people :P)

  • @YoursTruelyMe2 wtf no it only mks stuff look cool when ur with friend=s like u mk a dir in it and friends are like uuuuuu aaaa lol

  • @YoursTruelyMe2 I agree with everyword your saying.

    @macheads101 Your Voice hasn't even broken so dont think you knwo everything about terminal because you can completly trash your computer ,trust me i'v seen it happen

  • @YoursTruelyMe2 No not really, logically all you have to do is reinstall OSX if anything fatal happens. Plus Terminal is not a program it's simply a CLI (Command line interface).

  • awesome - by far the best terminal tutorial i've seen - wasn't gimmicky or covered bullshit tricks - good foundation - thanks!

  • 2:19 LOL look at the list

  • What the fuck does it do simply

  • @camgptt simply put, you can tell your computer what to do like open programs. But if your crazy good you can change settings on your computer that will make it awsome.

  • @TheBostonBomb awsome, but unless your a nerd nobody can do dat. its in its own wee retarded language and crap

  • @TheBostonBomb awsome, but unless your a nerd nobody can do dat. its in its own wee retarded language and crap

  • what about sudo nano

  • @EspressoFan4Life this is not at all professional. I don't know what you're expecting from an 11 year old kid.

  • Thank-you so much! I have been using command prompt on my windows 7 laptop until my comp broke because I opened a malicious batch file. I am having to use my grandmas mac, and I needed a substitute for command prompt.

  • at 2:18 on terminal thing one of the files said 'bitch' lol you been naughty or something?