15 Useful Linux Commands Every Linux User Needs | Learning Terminal Part 1

preview_player
Показать описание
In this video, I go over 15 Useful Linux Commands Every Linux User Needs in my Learning Terminal Series. 15 Commands are explained in this video of part 1 and will be introducing EVEN MORE commands in part 2. However, before that, you have to know these 15 as they are vital to everyday life in Linux Terminal.

Tab completion
sudo
su
exit
ls
more
cd
mkdir
rm -Rf
mv source destination
cp source destination
./ (execute commands)
chmod +x (change permissions)
chown user:group (change ownership)
--help (shows help)
man command (shows manual)
ProTip: Install most and export PAGER=most for more color .

Рекомендации по теме
Комментарии
Автор

U really r the only linux youtuber who speak human languaje and even i understood u in every video

Nsfwstar
Автор

Actually, pwd = print working directory. ;)

vskye
Автор

tmux does so much more than what you implied it does. Window splitting is fun and all but tmux also allows you to do things like save your session and then reload it later or load it over ssh, etc.

lostyt
Автор

9:13 helping you out . "pwd" stands for Print Working Directory, for those who want to know what it stands for.

Really, REALLY, good video, sir.

theblacksmithshammer
Автор

I feel like these daily linux vids are spoiling us geeks, ^_^ ty, you rock. Hack until it hurts

MrGFYne
Автор

This information is invaluable. I’m glad you present it in such a clear and direct way. Most YouTube videos covering the most important aspects of Linux, like basic command line functionality, are unwatchable. Your videos are not only watchable but enjoyable. Thank you!

mitchelvalentino
Автор

Chris I think "~" (tilde) is pronounced "TILL-duh" and not "Tiddly."

admiralackbar
Автор

Thanks. I learned something :-)

MORE TIPS:

Create command _aliases_ (shortcuts to more complex commands) in your ~/.bashrc file (or ~/.bash_aliases depending on your setup; .bashrc calls it in ubuntu, though either file will work), e.g.:
*alias ll='ls -l'*
*alias la='ls -al'*
(you have to restart your shell for it to take effect)

*cd -*
The '-' (dash) argument takes you back to wherever you were before you cd'd into the current directory. Typing it again takes you back (forward, i.e. you flip-flop between 2 dirs)

*mv* also _renames_ files, in addition to moving (i.e. you move the file onto itself with different name)

Standard way to *exit* something like 'more' (man, less, ...) is *q* or *Ctrl+c* which works for most shell programs (Shift+z z doesn't work in gnome terminal / ubuntu)

If you want 'most' to always automatically be your pager, also put the following in ~/.bashrc:
*export PAGER=most*

The *info* command gives further documentation on a command, in addition to 'man'

To _execute your shell scripts from anywhere_ (incl. tab-completion!), make sure your scripts directory is in your PATH. Ubuntu sets your PATH in ~/.profile file (or ~/.bash_profile if you've created one), and automatically adds your ~/bin/ dir if it exists (*). Calling scripts this way does away with leading ~/path/.../... and './' - you just type the script-name like any other command (you can also provide arguments to your scripts, $1, $2, ...).

fourdotsYT
Автор

Good video! So pumped on learning that cmatrix command lol

KeithGalli
Автор

A few things maybe to consider adding next time.
First remove is a very powerful command. You can break your system using it and there's no take backs.
Second instead of More, I think the less command is a bit better choice as I believe you can scroll up and down at your leisure.
Third, you forgot the most powerful command of all... Lolcat. You did show cmatrix which is high up the list though.

MichaelVash
Автор

Nicely done
watching your videos is becoming daily routine for me
keep up the good work

ahmseb
Автор

A useful thing when running a terminal - hit CTRL-r and type a few characters, it'll search your bash history for a match.
First command on any new install?
echo cmatrix >> ~/.bashrc
Gotta look like a h4x0r when you go into the shell ;-)

aitchpea
Автор

I never found that using the terminal was faster than using graphical interfaces, but i do think its a lot of fun to use the terminal. It is so enjoying once i figure something hard out and then manage to fix whatever issue i had, its so much fun! Even tho using terminal is not that fast for me, i think it will be very much effective once i memorize the commands i use the most though, so i dont have to think a couple of seconds about what they were!

frederik
Автор

The cat command actually gets its name from 'concatenate'. It can also be used to concatenate two or more files.

allanjmcpherson
Автор

Great explanation, looking forward to part 2

winiciuscota
Автор

"rm -Rf" is not required, use a lowercase r, also, I do not recommend using -f as it can ruin your system, only use it when you cant delete a directory and know what you are doing.

ArsenGaming
Автор

Great video, loved the "most" command since I constantly read man pages, i went straight ahead and updated my .bashrc, thanks man, i really appreciate your advice.

joellobo
Автор

thanks for the double tab completion. didn't know double

cocorico
Автор

A tutorial on chroot would be great. How to fix broken Linux install if you can't boot from it. By booting into Linux live environment with USB and then chrooting into the broken Linux distro installed on SSD or HDD and fixing whatever problem it is having that is preventing the installed distro from booting.

Xeno_Bardock
Автор

Thanks for this series. Have just been using Terminal as needed so far, but this series can help me understand how to know what I can use the terminal for. I still like to use the GUI when things can be done that way. If I can Rsync to my other machines that would be great, made a backup a couple days ago.

dianaalyssa