< Return to Video

Linux Tutorial - Basic Command Line

  • 0:01 - 0:03
    hey what's going on guys I wanted to
  • 0:03 - 0:05
    make a video for people that are new to
  • 0:05 - 0:07
    Linux and new to the command line to
  • 0:07 - 0:09
    maybe help you out a little bit and show
  • 0:09 - 0:11
    you how to navigate the terminal and do
  • 0:11 - 0:14
    some very basic tasks so a lot of people
  • 0:14 - 0:16
    ask me why I work on Windows in most of
  • 0:16 - 0:18
    my videos and let me just clarify by
  • 0:18 - 0:21
    saying that I'm in no way a shape or
  • 0:21 - 0:24
    form a Windows Fanboy um I actually like
  • 0:24 - 0:26
    working on Linux better for web
  • 0:26 - 0:28
    development programming um there is a
  • 0:28 - 0:30
    few reasons why I have Windows install
  • 0:30 - 0:34
    on my main machine one is for the
  • 0:34 - 0:37
    recording software um I use Camtasia
  • 0:37 - 0:39
    which works flawlessly for what I needed
  • 0:39 - 0:41
    to do and I I haven't found a Linux
  • 0:41 - 0:43
    based solution that works how I needed
  • 0:43 - 0:46
    to and processes the videos um as fast
  • 0:46 - 0:49
    as I need them to um I also use Adobe
  • 0:49 - 0:51
    Photoshop uh and then a lot of other
  • 0:51 - 0:54
    windows-based tools I also have six
  • 0:54 - 0:56
    monitors and it's a pain in the ass to
  • 0:56 - 0:58
    try and get them working with the buntu
  • 0:58 - 1:01
    and working with the the drivers
  • 1:01 - 1:03
    um I know I I could do it if I really
  • 1:03 - 1:05
    tried but uh it's just something that
  • 1:05 - 1:08
    hinders me um another reason is gaming I
  • 1:08 - 1:11
    have a pretty beefy system with SLI
  • 1:11 - 1:13
    graphics cards and um obviously if you
  • 1:13 - 1:15
    play games you want to run Windows now
  • 1:15 - 1:17
    that's not a huge deal because I very
  • 1:17 - 1:20
    rarely play games anymore because I'm so
  • 1:20 - 1:23
    busy um but that is is one of the issues
  • 1:23 - 1:25
    and then the main reason I use Windows
  • 1:25 - 1:27
    in a lot of my videos is because I'm
  • 1:27 - 1:29
    trying to reach everybody of all skill
  • 1:29 - 1:32
    sets and chances are a person that is
  • 1:32 - 1:34
    just learning HTML and front-end
  • 1:34 - 1:37
    development is running Windows and they
  • 1:37 - 1:41
    may get lost if I I'm using Linux or Mac
  • 1:41 - 1:43
    um now I know many of you do use Linux
  • 1:43 - 1:45
    or Mac but I think that there's more of
  • 1:45 - 1:48
    a chance of a Linux or Mac User knowing
  • 1:48 - 1:50
    and understanding what I'm doing in
  • 1:50 - 1:53
    Windows uh than the other way around so
  • 1:53 - 1:55
    that's probably the biggest reason for
  • 1:55 - 1:57
    my own personal development I do work on
  • 1:57 - 2:00
    Linux in a in a virtual machine and and
  • 2:00 - 2:02
    I'm going to start using Linux more in
  • 2:02 - 2:05
    my videos so anyway let's jump in and
  • 2:05 - 2:07
    learn some basic commands now if you're
  • 2:07 - 2:09
    a Windows user I would suggest getting
  • 2:09 - 2:12
    something like VMware or virtual box and
  • 2:12 - 2:15
    installing a Linux distribution you may
  • 2:15 - 2:17
    not want to go as far as to install it
  • 2:17 - 2:19
    on your main machine for your everyday
  • 2:19 - 2:21
    use but you should get into it and start
  • 2:21 - 2:25
    to experiment with it as far as dros I
  • 2:25 - 2:28
    prefer auntu uh or Debian uh and there's
  • 2:28 - 2:31
    also there's a lot to choose from okay
  • 2:31 - 2:33
    for beginners I would recommend Debbie
  • 2:33 - 2:38
    and auntu or even Linux Mint um Opus or
  • 2:38 - 2:41
    open Sous however you say it is a little
  • 2:41 - 2:43
    more complicated but I do like that as
  • 2:43 - 2:46
    well um so uh let's get into it
  • 2:46 - 2:48
    currently auntu is using the unity
  • 2:48 - 2:50
    desktop interface but you can use a
  • 2:50 - 2:53
    different environment if you want um and
  • 2:53 - 2:55
    we're going to go and open the terminal
  • 2:55 - 2:58
    now I use a program called Terminator so
  • 2:58 - 3:00
    that's what I'm going to be using if you
  • 3:00 - 3:03
    install a bunch to Fresh you're going to
  • 3:03 - 3:04
    just have the the regular terminal which
  • 3:04 - 3:06
    is this right here but it doesn't really
  • 3:06 - 3:09
    matter you use the same commands all
  • 3:09 - 3:12
    right so let's go ahead and just make
  • 3:12 - 3:14
    that a little bigger now when you first
  • 3:14 - 3:17
    open your terminal the you're going to
  • 3:17 - 3:19
    be in your home directory okay every
  • 3:19 - 3:21
    user on a Linux system has a home
  • 3:21 - 3:24
    directory much like on Windows if you go
  • 3:24 - 3:26
    to users you have your your usernames
  • 3:26 - 3:29
    for each account so Linux does the same
  • 3:29 - 3:31
    thing in fact if you look the file
  • 3:31 - 3:33
    manager and you can see that actually
  • 3:33 - 3:35
    opens in the home directory as well uh
  • 3:35 - 3:38
    if we go to the actual root directory
  • 3:38 - 3:40
    it's going to be in home and you'll see
  • 3:40 - 3:42
    I have a a folder called Brad okay I
  • 3:42 - 3:45
    only have one user on this system um so
  • 3:45 - 3:47
    over here you can actually check your
  • 3:47 - 3:49
    what path you're in with the command
  • 3:49 - 3:52
    PWD okay you can see I'm in home Brad so
  • 3:52 - 3:55
    that's the First Command um now if you
  • 3:55 - 3:58
    want to show the listings like you do in
  • 3:58 - 4:00
    file manager in your command line you
  • 4:00 - 4:03
    can use the ls okay the listing command
  • 4:03 - 4:05
    and you can see that these are the same
  • 4:05 - 4:08
    folders that we're seeing here all right
  • 4:08 - 4:12
    now with commands you also have options
  • 4:12 - 4:14
    okay most commands have some options you
  • 4:14 - 4:17
    can use now with ls we have an option
  • 4:17 - 4:21
    of- A and what that does is it'll show
  • 4:21 - 4:23
    everything even the hidden files the
  • 4:23 - 4:25
    system files that begin with the dot
  • 4:25 - 4:27
    they'll it'll show those as well by
  • 4:27 - 4:30
    default those are hidden okay much like
  • 4:30 - 4:33
    hidden files in Windows um now we can
  • 4:33 - 4:38
    also use the DL so if we say ls- l and
  • 4:38 - 4:40
    that just shows us some extra
  • 4:40 - 4:42
    information the time it was created the
  • 4:42 - 4:45
    date the size now this here at the
  • 4:45 - 4:48
    beginning this looks kind of weird um
  • 4:48 - 4:50
    what this is is the permissions of the
  • 4:50 - 4:52
    folder or file basically it's broken up
  • 4:52 - 4:55
    into three parts the first is for the
  • 4:55 - 4:57
    owner the permissions of the owner of
  • 4:57 - 4:59
    the folder or file then the permissions
  • 4:59 - 5:01
    for the group okay because you can also
  • 5:01 - 5:04
    have user groups and then the permission
  • 5:04 - 5:06
    for everyone else for the rest of the
  • 5:06 - 5:08
    world or the public now these basically
  • 5:08 - 5:11
    stand for delete the D is delete read
  • 5:11 - 5:15
    write and execute okay so basically the
  • 5:15 - 5:18
    owner of the folder file has all these
  • 5:18 - 5:19
    permissions they can do whatever they
  • 5:19 - 5:23
    want the group can only execute and read
  • 5:23 - 5:25
    and then the rest of the world can only
  • 5:25 - 5:27
    execute okay so they can't change
  • 5:27 - 5:30
    anything at all uh that's what that is
  • 5:30 - 5:32
    uh and then here you'll see Brad Brad
  • 5:32 - 5:34
    the reason it says it twice is because
  • 5:34 - 5:36
    one is the user and then one is the
  • 5:36 - 5:39
    group okay so there's actually a group
  • 5:39 - 5:40
    called
  • 5:40 - 5:42
    Brad uh and you can change these with
  • 5:42 - 5:44
    certain commands but I'm not really
  • 5:44 - 5:46
    going to get into that today I just want
  • 5:46 - 5:49
    to be I want to keep things very basic
  • 5:49 - 5:51
    so that's the ls
  • 5:51 - 5:53
    command now the next command I want to
  • 5:53 - 5:56
    look at is mkdir okay and that is make
  • 5:56 - 5:58
    directory and that does just that it
  • 5:58 - 6:00
    will create a directory so let's create
  • 6:00 - 6:03
    a folder or a directory inside of our
  • 6:03 - 6:06
    home and let's call this we'll call it
  • 6:06 - 6:09
    dur one all right and over here you can
  • 6:09 - 6:12
    see that now we have dur one if we do LS
  • 6:12 - 6:15
    you see dur one all right let's create
  • 6:15 - 6:18
    another one called dur
  • 6:18 - 6:20
    2 okay so now we have these two
  • 6:20 - 6:22
    directories and the next command we're
  • 6:22 - 6:25
    going to look at is CD and that's change
  • 6:25 - 6:27
    directory so if we want to go into
  • 6:27 - 6:30
    durwan we can say CD
  • 6:30 - 6:31
    one and you'll see that the prompt here
  • 6:31 - 6:34
    is now changed it shows us where we are
  • 6:34 - 6:37
    uh if we do PWD it'll show us we're in
  • 6:37 - 6:40
    directory one
  • 6:40 - 6:43
    okay now if we want to go back one level
  • 6:43 - 6:46
    back into the home we can do CD space
  • 6:46 - 6:48
    dot dot and so you can see now we're
  • 6:48 - 6:51
    back in the home okay if you want to
  • 6:51 - 6:53
    navigate to the absolute root of your
  • 6:53 - 6:56
    system you could do CD and then slash
  • 6:56 - 6:59
    and now if we do LS you'll see we're in
  • 6:59 - 7:02
    the the actual root of the entire system
  • 7:02 - 7:04
    all right um if you want to go back home
  • 7:04 - 7:06
    you could just do CD and that'll bring
  • 7:06 - 7:09
    you back home um you can also do CD and
  • 7:09 - 7:12
    then this this tild which is the the key
  • 7:12 - 7:14
    that's to the left of the the number one
  • 7:14 - 7:17
    key and that basically rep represents
  • 7:17 - 7:19
    home so we can do that if we want to go
  • 7:19 - 7:22
    into dur 2 let's say in the home we
  • 7:22 - 7:24
    could do from anywhere we could do the
  • 7:24 - 7:28
    till day SL dur 2 okay and if we want to
  • 7:28 - 7:32
    go back out go CD do Dot and then let's
  • 7:32 - 7:34
    go back into dur
  • 7:34 - 7:37
    one okay another helpful command is
  • 7:37 - 7:39
    clear if we do clear it'll just do just
  • 7:39 - 7:41
    that it'll clear out the
  • 7:41 - 7:44
    terminal all right so you know how to
  • 7:44 - 7:47
    find your path you know how to create
  • 7:47 - 7:49
    directories how to list the contents how
  • 7:49 - 7:53
    to change directories um that's very
  • 7:53 - 7:55
    basic uh now what we're going to do is
  • 7:55 - 7:56
    I'm going to show you how to create a
  • 7:56 - 7:59
    file so let's say we want to create a a
  • 7:59 - 8:00
    text file
  • 8:00 - 8:03
    we could use the touch command so we say
  • 8:03 - 8:07
    touch we'll say file one. text and now
  • 8:07 - 8:10
    if we do an LS you can see we have that
  • 8:10 - 8:13
    file one now if we want to edit that
  • 8:13 - 8:15
    file of course you could do that from
  • 8:15 - 8:18
    within your file manager so you could
  • 8:18 - 8:20
    just go to file one. text and I think
  • 8:20 - 8:23
    yeah it'll open with gedit if you open
  • 8:23 - 8:26
    it here um but you can also use command
  • 8:26 - 8:29
    based command line based text editors so
  • 8:29 - 8:32
    the one that I would recommend for um
  • 8:32 - 8:35
    for beginners is nano okay it's very
  • 8:35 - 8:38
    easy to use now if we say
  • 8:38 - 8:42
    Nano file one. text it's going to bring
  • 8:42 - 8:44
    us into a screen like this so this is
  • 8:44 - 8:47
    the Nano editor and um like I said it's
  • 8:47 - 8:49
    pretty easy to use uh basically we could
  • 8:49 - 8:51
    just uh let's just say hello
  • 8:51 - 8:55
    world okay now if we want to exit out we
  • 8:55 - 8:58
    want to do a contr x and then it's going
  • 8:58 - 9:01
    to ask if we want to to save or not okay
  • 9:01 - 9:03
    so we're going to say y for yes and then
  • 9:03 - 9:06
    enter and then that will edit the file
  • 9:06 - 9:10
    and save it okay so contrl X to escape
  • 9:10 - 9:12
    yes or no to
  • 9:12 - 9:14
    save okay and you won't get prompted if
  • 9:14 - 9:16
    you don't edit it at all you won't get
  • 9:16 - 9:20
    prompted to save or not now you can also
  • 9:20 - 9:22
    use the cat command to see what's in a
  • 9:22 - 9:28
    file so we'll say cat file1.txt and
  • 9:28 - 9:30
    it'll show us what's in it
  • 9:30 - 9:33
    um it basically takes the input and puts
  • 9:33 - 9:35
    it to standard output which is what's
  • 9:35 - 9:37
    shown here um now if this is a really
  • 9:37 - 9:40
    really long file and you have to page
  • 9:40 - 9:43
    down you can use less instead of cat so
  • 9:43 - 9:44
    file
  • 9:44 - 9:47
    one. text and you could you'd be able to
  • 9:47 - 9:50
    page down okay and see the whole file
  • 9:50 - 9:52
    and then to get out of it you just want
  • 9:52 - 9:55
    to hit q and that'll quit Okay so that's
  • 9:55 - 9:57
    cat and
  • 9:57 - 10:01
    less now let's say we want to to rename
  • 10:01 - 10:03
    this file okay so there's a command to
  • 10:03 - 10:06
    move files and rename and that's MV so
  • 10:06 - 10:09
    if we say MV file1.txt
  • 10:09 - 10:12
    and space file
  • 10:12 - 10:14
    2.txt
  • 10:14 - 10:17
    okay and then we do an LS you can see
  • 10:17 - 10:20
    that uh file one has now been renamed to
  • 10:20 - 10:24
    file two and if we say cat
  • 10:24 - 10:27
    file2.txt you can see it's the hello
  • 10:27 - 10:29
    world
  • 10:29 - 10:32
    now we can also copy files so let's say
  • 10:32 - 10:35
    we want to take file two and create file
  • 10:35 - 10:37
    one but also keep file two then we could
  • 10:37 - 10:41
    do CP okay that's the copy command file
  • 10:41 - 10:45
    2.txt and we want to copy it to file
  • 10:45 - 10:48
    one.txt and now if we look at the
  • 10:48 - 10:51
    contents we have both files and if we
  • 10:51 - 10:53
    say cat file
  • 10:53 - 10:57
    one hello world okay so let's clear this
  • 10:57 - 11:00
    out
  • 11:00 - 11:02
    now we can move and copy to other
  • 11:02 - 11:05
    locations as well so if we want to let's
  • 11:05 - 11:10
    say copy file one.txt we want to copy it
  • 11:10 - 11:14
    to let's say um till day for the home
  • 11:14 - 11:16
    and then slash
  • 11:16 - 11:19
    dir2 SL
  • 11:19 - 11:21
    file1.txt
  • 11:21 - 11:24
    okay and then we'll switch directories
  • 11:24 - 11:25
    let's say
  • 11:25 - 11:30
    CD dot dot and then CD dir2
  • 11:30 - 11:36
    wh CD dur 2 and LS and there's the file
  • 11:36 - 11:39
    one okay so we can do that as
  • 11:39 - 11:42
    well now if you want to delete a file or
  • 11:42 - 11:46
    remove a file you can use the RM command
  • 11:46 - 11:48
    say Okay so let's say we want to delete
  • 11:48 - 11:53
    file one we can say RM file1.txt
  • 11:53 - 11:57
    and now if we look now it's gone all
  • 11:57 - 11:58
    right now if you want to remove a
  • 11:58 - 12:03
    directory let's go out to our home and
  • 12:03 - 12:05
    let's say we want to remove directory 2
  • 12:05 - 12:07
    we can do
  • 12:07 - 12:12
    rmd dur 2 okay so now if we do
  • 12:12 - 12:16
    LS directory 2 is now gone now I'm going
  • 12:16 - 12:17
    to put it back we're going to make
  • 12:17 - 12:20
    directory dir 2 and then I'm going to go
  • 12:20 - 12:22
    into
  • 12:22 - 12:25
    it and I'm going to create a
  • 12:25 - 12:29
    file so touch file1.txt and I'm going to
  • 12:29 - 12:32
    go back out to my rout and I'm going to
  • 12:32 - 12:33
    try to
  • 12:33 - 12:35
    delete dir
  • 12:35 - 12:38
    2 and now you see it says failed to
  • 12:38 - 12:41
    remove dir 2 directory is not empty so
  • 12:41 - 12:43
    this command isn't going to work if the
  • 12:43 - 12:46
    directory is empty if it's if it has
  • 12:46 - 12:47
    files in it and you want to delete it
  • 12:47 - 12:51
    you want to use RM but if you just do RM
  • 12:51 - 12:53
    dir2 it'll say can't remove it so you
  • 12:53 - 12:57
    need to add the dash capital r uh option
  • 12:57 - 13:00
    which is for recursive so you want to do
  • 13:00 - 13:06
    um rm- R and then dir 2 and now if we do
  • 13:06 - 13:09
    an LS dir2 is gone as well as all the
  • 13:09 - 13:10
    files that are in
  • 13:10 - 13:13
    it so let's clear that out and then the
  • 13:13 - 13:16
    next command I want to look at is which
  • 13:16 - 13:19
    so what witch does is it'll search for
  • 13:19 - 13:22
    um a a file or a folder's location and
  • 13:22 - 13:24
    give you that location so uh let's see
  • 13:24 - 13:27
    say we want to look for the mongod d uh
  • 13:27 - 13:29
    application which is the the mongod DB
  • 13:29 - 13:33
    server we could say which mongod D and
  • 13:33 - 13:35
    that'll show you exactly where it's in
  • 13:35 - 13:40
    it's in the the USR bin mongod D okay so
  • 13:40 - 13:43
    um that can come in pretty
  • 13:43 - 13:47
    handy uh so what else let's say let's
  • 13:47 - 13:50
    use the history command and history will
  • 13:50 - 13:53
    basically show you your last uh what is
  • 13:53 - 13:57
    it 500 or so 400 well I think it's your
  • 13:57 - 14:00
    last 500 commands
  • 14:00 - 14:02
    okay so that's that can be handy see
  • 14:02 - 14:05
    what you've been doing um or to see what
  • 14:05 - 14:07
    someone else has been
  • 14:07 - 14:09
    doing let's see what else so we we've
  • 14:09 - 14:11
    went over pretty much all the basics of
  • 14:11 - 14:13
    you know moving files and folders around
  • 14:13 - 14:16
    and deleting them and renaming them so
  • 14:16 - 14:18
    those those are the most important those
  • 14:18 - 14:20
    are the things that you absolutely need
  • 14:20 - 14:23
    to know um now some things you can't run
  • 14:23 - 14:25
    as your user you have to run it as the
  • 14:25 - 14:28
    root user and you never want to be
  • 14:28 - 14:30
    really you know mess around with stuff
  • 14:30 - 14:32
    logged in as the the the root user so
  • 14:32 - 14:35
    for that you could use pseudo so let's
  • 14:35 - 14:39
    try to run for instance app get update
  • 14:39 - 14:41
    which I'll go over in a minute um it's
  • 14:41 - 14:43
    not going to let us basically it says
  • 14:43 - 14:46
    that we don't have the permission to so
  • 14:46 - 14:47
    if we do
  • 14:47 - 14:51
    pseudo app get update it's going to ask
  • 14:51 - 14:54
    for our
  • 14:54 - 14:57
    password and then it'll run it okay uh
  • 14:57 - 14:59
    and that's just updating our packages
  • 14:59 - 15:02
    and I'll get to that in a second um so
  • 15:02 - 15:04
    you want to use pseudo to run run as
  • 15:04 - 15:07
    root let's clear this
  • 15:07 - 15:09
    out now let's look at some system
  • 15:09 - 15:11
    commands so these are you don't need
  • 15:11 - 15:13
    these to be able to to navigate or
  • 15:13 - 15:15
    anything but uh they're good to know so
  • 15:15 - 15:17
    first one is if
  • 15:17 - 15:20
    config and this is just like ip config
  • 15:20 - 15:22
    on Windows it basically it's going to
  • 15:22 - 15:24
    give you all your network information
  • 15:24 - 15:28
    your ethernet cards um your IP address
  • 15:28 - 15:30
    your local IP address um your loop back
  • 15:30 - 15:34
    things like that um pretty much
  • 15:34 - 15:36
    identical to IP config in Windows if
  • 15:36 - 15:38
    you've ever used that for wireless you
  • 15:38 - 15:40
    can do IW
  • 15:40 - 15:42
    config and that's going to show you I
  • 15:42 - 15:44
    don't have any Wireless on this machine
  • 15:44 - 15:46
    but if you did it would show you that
  • 15:46 - 15:50
    stuff okay um now if you want
  • 15:50 - 15:55
    to Ping another machine or uh over the
  • 15:55 - 15:56
    either over the Internet or on your
  • 15:56 - 15:58
    local network you could say ping for
  • 15:58 - 16:00
    instance let's say
  • 16:00 - 16:02
    google.com to see if that's online you
  • 16:02 - 16:04
    can see we're getting a we're getting a
  • 16:04 - 16:07
    response back from our request okay and
  • 16:07 - 16:09
    it's just going to keep going like this
  • 16:09 - 16:10
    but if you want to stop it you can do a
  • 16:10 - 16:13
    contrl c okay so if we try to Ping
  • 16:13 - 16:17
    something that's most likely not a
  • 16:17 - 16:20
    domain you'll see we get unknown host
  • 16:20 - 16:21
    okay so that's how you can tell if if
  • 16:21 - 16:23
    you can actually reach a certain machine
  • 16:23 - 16:26
    or not okay so let's look at some other
  • 16:26 - 16:29
    system commands um let's see we have
  • 16:29 - 16:32
    uname let's do un name- a that's going
  • 16:32 - 16:34
    to just basically give us a summary of
  • 16:34 - 16:36
    our system the operating system the
  • 16:36 - 16:40
    version uh things like that okay we also
  • 16:40 - 16:42
    have uh let's
  • 16:42 - 16:44
    do
  • 16:44 - 16:48
    BL uh BL I'm sorry
  • 16:48 - 16:51
    Blk and what that does is it basically
  • 16:51 - 16:55
    shows us our hard drive so I have a um
  • 16:55 - 16:57
    an uh my regular hard drive and then
  • 16:57 - 17:00
    what's called a swap okay so when Linux
  • 17:00 - 17:02
    partitions your drive it it puts a
  • 17:02 - 17:06
    little bit aside for a swap file here
  • 17:06 - 17:08
    um let's see what else if we do top
  • 17:08 - 17:10
    that's another command that's basically
  • 17:10 - 17:14
    going to show us our processes and um
  • 17:14 - 17:16
    how much memory and CPU they're taking
  • 17:16 - 17:18
    up things like that um kind of like the
  • 17:18 - 17:21
    the Task Manager in Windows even though
  • 17:21 - 17:23
    there is a a system
  • 17:23 - 17:25
    monitor right here that you can use in
  • 17:25 - 17:28
    Linux as well and that'll show you
  • 17:28 - 17:31
    resources stuff like that the running
  • 17:31 - 17:34
    processes okay and to get out of this
  • 17:34 - 17:36
    you just want to hit
  • 17:37 - 17:40
    Q let's see what else what else did I
  • 17:40 - 17:42
    want to do uh DF is another command
  • 17:42 - 17:45
    that'll show us our um available and
  • 17:45 - 17:50
    unavailable dis space we have lsusb
  • 17:50 - 17:52
    which will show devices like USB hubs
  • 17:52 - 17:56
    things like that um for PCI stuff you
  • 17:56 - 17:59
    can use LS PCI and that'll I'll show you
  • 17:59 - 18:02
    all that crap uh a lot of which I don't
  • 18:02 - 18:05
    even understand but it's available to
  • 18:05 - 18:08
    you um let's see I think that's that's
  • 18:08 - 18:10
    pretty much
  • 18:10 - 18:13
    it oh package managers packages managers
  • 18:13 - 18:16
    are are a big part of of most Linux
  • 18:16 - 18:18
    distributions um different distributions
  • 18:18 - 18:21
    use different managers Debbie auntu uses
  • 18:21 - 18:24
    apt get so we can say
  • 18:24 - 18:28
    pseudo apt get and then install and then
  • 18:28 - 18:30
    we can install any package that's
  • 18:30 - 18:31
    available so let's say we want to
  • 18:31 - 18:35
    install filezilla which is an FTP client
  • 18:35 - 18:37
    okay so as long as it's available it'll
  • 18:37 - 18:39
    go ahead and install that for us on our
  • 18:39 - 18:42
    system all right and now if we go to up
  • 18:42 - 18:46
    here and we search for filezilla there
  • 18:46 - 18:48
    it is okay we can move it over here if
  • 18:48 - 18:51
    we want and it's as easy as that um
  • 18:51 - 18:53
    which is much easier than in in you know
  • 18:53 - 18:55
    in Windows having to go to the site
  • 18:55 - 18:57
    download it go through the installer um
  • 18:57 - 19:00
    this is one of the the best reasons to
  • 19:00 - 19:02
    use Linux um now if we want to get rid
  • 19:02 - 19:05
    of it we could simply do
  • 19:05 - 19:07
    pseudo AP get
  • 19:07 - 19:10
    remove
  • 19:10 - 19:13
    filezilla and that will we'll say
  • 19:13 - 19:16
    yes and that will remove it you can see
  • 19:16 - 19:18
    it just disappeared okay um now if you
  • 19:18 - 19:21
    want to update or see if there's
  • 19:21 - 19:24
    available updates for um packages on
  • 19:24 - 19:25
    your system you can do
  • 19:25 - 19:29
    pseudo appt get update and it'll run
  • 19:29 - 19:32
    through and check everything um
  • 19:32 - 19:36
    and uh if it finds something it'll let
  • 19:36 - 19:38
    you
  • 19:38 - 19:41
    know so I think that's pretty much it
  • 19:41 - 19:44
    guys um I don't want to get too deep
  • 19:44 - 19:46
    into anything here this is meant to be
  • 19:46 - 19:49
    just for you know a beginner guide um oh
  • 19:49 - 19:51
    we also have the shutdown command we
  • 19:51 - 19:53
    could say pseudo
  • 19:53 - 19:55
    shutdown and if you wanted to restart
  • 19:55 - 19:57
    you could do a dasr but I'm going to
  • 19:57 - 19:59
    Halt shut the whole thing down so I'm to
  • 19:59 - 20:01
    do Dash and then you could also set a
  • 20:01 - 20:03
    time if you wanted to do like 10 minutes
  • 20:03 - 20:05
    you could do that but I'm just going to
  • 20:05 - 20:06
    do
  • 20:06 - 20:08
    now okay and it's going to go ahead and
  • 20:08 - 20:11
    shut down so hopefully you guys enjoyed
  • 20:11 - 20:14
    this and um if you did and you're not
  • 20:14 - 20:17
    subscribe please do so if if you feel
  • 20:17 - 20:20
    like it uh if you liked it leave a like
  • 20:20 - 20:22
    if you didn't you can leave a dislike
  • 20:22 - 20:26
    and that's it thanks for watching
Title:
Linux Tutorial - Basic Command Line
Description:

more » « less
Video Language:
English
Duration:
20:24

English subtitles

Revisions Compare revisions