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

💻 Recommendations 💻
– My Windows Anti-Virus ➜
– My VPN Service ➜
– Website Recommendations ➜

🕹 Live Streams Monday & Friday 🕹
– Twitch ➜
– YouTube Archive ➜

🖥 Contact me 🖥
– Patreon ➜
– Official Site ➜
– Twitter ➜

🚑 Need Help!? Ask our community! 🚑
– Discord ➜
– Reddit ➜

💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support!

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

41 Comments

Kevin Klement

April 14, 2020

Nice video, but a few suggestions: (1) `sudo su` is redundant; you don't need to be root to become root, just type `su`; (2) for `rm`, '-r` and `-R` are the same thing and `rm -rf` saves you a shift press over `rm -Rf`; (2) `cd` without an argument is the same as `cd ~`, so you can save yourself some keypresses there; (4) you don't need `most` for colored man pages: see, e.g, https://www.tecmint.com/view-colored-man-pages-in-linux/ Still, keep the good stuff coming!

Reply

Alexius Czar P. Vergara

April 14, 2020

this video helped me a lot! by the way can you include helpful print links or other video links in the description? i find it really great if channels do this because it's much easier for some people to navigate links much faster. thank you so much!

Reply

Perfect Weapon

April 14, 2020

I'm very curious what your thoughts on nu shell are? Thank you great video

Reply

jazz4asahel

April 14, 2020

Think of CAT as concatenate, join, or merge files. Nothing to do with catalog.

Reply

Enoch Shawn Chen 陳 頌 恩

April 14, 2020

Can somebody tell me how to set the keyboard shortcuts like copy, paste, and cut? I cannot for the life of me figure out how to set those keyboard shortcuts. It used to be just control+c, control+v, and control+x, but it's not the same anymore. I have Peppermint Os 10 respin. Please help!

Reply

Telkomsel Branch Malang

April 14, 2020

very good , linux command is good very support signal cellular company

Reply

Donald Leung

April 14, 2020

less is more

Reply

Stew Alexander

April 14, 2020

Linux CLI domination fast: https://www.youtube.com/channel/UCgYw8gwAe57CVPSCFL20-Cw

Reply

Josh Lawson

April 14, 2020

Why is .steampath blinking?

Reply

gibson76

April 14, 2020

Nice series. Subbed.

Reply

FOG BLADES

April 14, 2020

wtf?Part 1? uh ok I'll stay w/windows.I have no idea wth you're talking about.

Reply

Madh XXX

April 14, 2020

PWD:- Print Working Directory

Reply

David McNelley

April 14, 2020

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.

Reply

The Omega Man

April 14, 2020

I switched to fish,oh-my-fish,best shell ever 😃

Reply

R34L157

April 14, 2020

Lemmi open my file explorer here
instantly blinded!

Reply

Michael Nelson

April 14, 2020

Hey Chris, I understand that you do not have much experience with the Linux terminal, maybe because you only discovered it recently.
But I take offence to you saying "VIM is awkward". If you spend a lot of time on the command line, having basic vim skills is a must have in Linux.

Reply

hooya27

April 14, 2020

man cat – cat is short for concatenate. Just sayin'.

Reply

GoldenPixel personal account

April 14, 2020

(su *super user*)do Nice! I finnaly know what sudo really means!

Reply

Rahmi Acar

April 14, 2020

less is more and you want sudo -s (shell) or sudo -i (interactive) rather than sudo su… It matters not much, but it's a wee bit weird to elevate twice.

cd is essentially cd ~ if one ditch the ~…

I started with vi and I would not have it any other way.

Learn vim if you know nothing else, just remember (i = insert/edit mode) (when in insert mode… esc or ctrl+c = normal mode) (type colon : in normal mode.. x to save and quit, x! if you REALLY mean it (read only files with file ownership as user but not write permission as user, this can be overriden by x!)… to just save w and to just quit q and to not write change but quit q! you can also combine things like wq (write and quit) but x is simpler.

So i to edit text, ctrl+c to goto normal mode and x to write and close or w to just write..

in norma mode you can also do; / to search down or ? to search up in the text, it's also good for navigating to a spesific word quickly.

undo is u in normal mode, this changes the last change.. ctrl+r to redo e.t.c vim is nice and practical, I find it harder to work with stuff like nano.

Reply

Michael Hoyes

April 14, 2020

For the more command, why not just hit 'q' to exit instead of the 'ZZ'. vi uses the ZZ. Also, I prefer less instead of more so I can scroll up and down.

Reply

Dillinger R.

April 14, 2020

That's why I have locks on my files, how do I get rid of those locks?

Reply

Hermes Flores

April 14, 2020

great class for today Linux's home schooling. Thanks

Reply

ZeRen cz

April 14, 2020

how to make Terminator main terminal? what I mean by that is when I open folder, click right mouse buton and click "open in terminal" so it will open the folder with Terminator terminal (no matter I do it always open with default one)

Reply

David Robert Gibson

April 14, 2020

What happened to BASH?

Reply

casey winters

April 14, 2020

I feel like im in over my head with some of this. Perhaps with some repetition I will feel mor at home with terminal. All I know is windows is the devils spawn. Mama said so.

Reply

Vish Tomar

April 14, 2020

Bro I just installed manjaro, previously I was using Ubuntu. Went to steam to install counter strike free version its showing 8gb ll be downloaded. How can the basic game may be this big

Reply

Kyle Kerr

April 14, 2020

With regards to exiting something like more when it hits [END], I have only ever used Q instead of shift z z. Also, some commands don't do –help, sometimes -h works, other times it might be /? .

Reply

Jugad Technologies

April 14, 2020

Yedzvya

Reply

Radio Triggered!

April 14, 2020

Chris, did you ever try Tilix as a terminal? It's what I am currently trying but will try terminator too. Is going to be a hard choice, I think. I really like Tilix.

Reply

Agustin Eloy Barrios

April 14, 2020

I'm love Midnight Commander and Nano. In other hand vi was very useful on the very slow connections, but now is simple odd.

Reply

veronique AKONO

April 14, 2020

Please what's the option that print the author of files?

Reply

Stavros Kois

April 14, 2020

How did you add the terminal preview on the file explorer? Is this a specific explorer or you can do that on Dolphin also?

Reply

sujeewa sandeepa

April 14, 2020

Thanks for the video pal!

Reply

HM Dickson

April 14, 2020

Three minutes, you said nothing useful. Goodbye!

Reply

Abhijeet Prabhu

April 14, 2020

Thanks so much. Your video was quite instructive and valuable for me. Appreciate your hard work! 🙂 <3

Reply

Alejandro Jerez

April 14, 2020

Thanks for an awesome video!

Reply

Josh Burns

April 14, 2020

Thanks

Reply

Arsen Musayelyan

April 14, 2020

"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.

Reply

Arsen Musayelyan

April 14, 2020

Put "export PAGER=most" that in your ~/.bashrc file and do "source ~/.bashrc" to always have it (Unless you are root in which case put it it /root/.bashrc)

Reply

Arsen Musayelyan

April 14, 2020

use "less" not "more", less is better, also, just cd with no tilde works too

Reply

Critical Unity

April 14, 2020

Wow, looking at the comments proves I need to look at other sources, as I don't want misinfo, but I'll take what I can get from this, such as installing terminator…

Reply

Leave a Reply