Added: 2 years ago
From: metalx1000
Views: 19,908
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (39)

Sign In or Sign Up now to post a comment!
  • pwd = PRINT working directory

  • @LukasTeeVee: Thank you. I did have a veiwer comment about that on another video of mine a while back. You are right, thank you. ( I still say "Present working Directory" out of habbit some times though.)

  • @metalx1000 'sokay :P i love your vids tbh...i've been looking at many Bash tutorials, but yours actually show how the commands can be used for something useful :)

  • recursive, not reclusive, but thank you very much for sharing

  • @zonk1024: Yes, I commonly say that one wrong. Just a bad habit of mine. But, @oxymoron713 already beat you to correcting me below  :)

  • I really like your tutorials, the best I found on YouTube. The only problem is the speed of execution. I have to restart the video several times because as a beginner I do not code as fast as you do !

  • You can also type 'cd ' with nothing and it works the same as 'cd ~' and you increase your efficiency by 50%.

    And remember never to type rm ~/*

  • @Droz42 well to carry out the command you have to press c, d, space, ~, and enter. that's five characters, so... assuming that all keystrokes take the same effort to complete, removing the space ~ would only be 40% more effective. just kidding, but seriously

  • This is just what I was looking for. I tried all of this, and had no problems. This has introduced me BACK into this world from which I came.

  • The move command is "mv"

    mv folderA/*.jpg folderB/

  • Also how to del/rm/copy a folder that has a space in it.

    example:

    My Pictures <--------- directory with a space;

    when i use cp/rm/ etc it says that there is no such a file

  • how to copy,remove all type of files from source to destination(if it is copy)?.

    example:

    Pictures <------- directory full of .jpg pictures and .bmp. (i want to remove/copy only and all .jpg files from the directory "Pictures" to a destination(if its copy) "Videos".

  • gnome sucks

  • @coldironhands1: Thanks for the random comment. I like it and so do a lot of other people.

  • @metalx1000 Hahh.

  • @coldironhands1 if you think one gui is better than another, then computers probably arent your thing

  • @you123123123123 yeah they aren't, I just program for work and am a systems admin, but i fuckin ghate computers any other time, they annoyy me

  • you use SO windows or Linux ?

  • @akatsukiitachiuchija: do you mean "OS"? I use Linux.

  • @akatsukiitachiuchija

    uh windows doesn't have the BASH.. but you can use cygwin

  • for (( i=0 ; i < 10 ; i++ )) ; do echo $i ; done

  • @maw88ify: Is this a question?

    Are you trying to do this:

    for i in `seq 1 10`;do echo $i ;done

    Your could doesn't look like BASH. Maybe it's php?

  • @metalx1000 No it is BASH try it in the terminal... I like your video's, you should do some new video's on " zenity " ... I'm going to send you a handy zenity code...

  • @maw88ify: I did try it in the terminal. I get the following:

    bash: ((: i=0 : syntax error: invalid arithmetic operator (error token is " ")

  • @metalx1000 Don't copy and paste it... Type it out on your keyboard, the error is cause by coping and pasting from youtube... tell me it works...

    When you copy it delete this--->> ; and replace it with this --> ;

    I know it looks the same but it's not ... Something is lost in translation when you cut and paste... It will work ... trust me

  • @maw88ify: Yup, it worked when I typed it.

  • hey metalx1000

    thx alot, i m a newbie to linux, ur tutorials really help alot.

    btw just realized that bash is kinda similar wif MS-DOS~~

  • @ericchu1218: Oh yes. Before I switched to Linux I use to write Batch files all the time. Everything I wrote at the time was either a Batch file or written in Visual Basic.

    But, as you learn more, you'll see that the unix shell is a whole lot more powerful then the MS command line.

  • recursive, not reclusive.

  • @oxymoron713: A thing I commonly say wrong.  Sorry and thank you.

  • Hey I just recently learned about the octal chmod notation and I was wondering if anybody would be willing to give me sevral sets of premmisons to practice with a sample folder on thanks (I forgot my Screen Name)

  • i ma not able to remove non emty directory can any one explain that please.. ?

  • what you tried this?

    rm -fr folder

  • @metalx1000 yea same command but not working out..

  • Ok, 3 Questions:

    1) what distro are you using?

    2) are you sure you are using BASH and not another shell?

    3) Do you get an error message and if so what does it say?

  • just rm -r "dir" ?

  • debian!

  • Thanks for your videos but how did you get the ls command color coded and displayed wide like that??

  • thx <3 u pwn

Loading...
Alert icon
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