Linux Commands I Use All the Time

  Рет қаралды 56,830

Chris Titus Tech

Chris Titus Tech

Күн бұрын

Пікірлер: 280
@johnnyrosenberg9522
@johnnyrosenberg9522 5 жыл бұрын
I love the terminal too, although I'm far from an expert. One of my favourite features is ”!!”. Let's say you are trying to do something and enter a long commands line, only to find that you don't have permission to run it. Then just type ”sudo !!” and it will run the last commands again with sudo. Saves time! Yes, I know that you can hit the up arrow key and then ctrl+a sudo , but the double exclamation marks are more elegant, I think.
@bcarr1122
@bcarr1122 5 жыл бұрын
Nice tip--thanks!
@gnuPirate
@gnuPirate 3 жыл бұрын
Me likey! t y. I think it's hard to be an "expert" given how much comes packed into a terminal. It's pretty phenomenal all the CLI programs that come with most distros.
@jamescarson4507
@jamescarson4507 2 жыл бұрын
I did not know 😉
@BarraIhsan
@BarraIhsan 2 жыл бұрын
Thank for the tip!
@robgibson8600
@robgibson8600 5 жыл бұрын
Rather than give a specific command, I'll give a recommendation for my favorite book for learning all of these commands... Linux in a Nutshell. It's like having all of the man pages for all of the basic commands for Linux shells in one dead-tree place. It makes a great reference if you just pick it up for 5-15 minutes at a time and randomly pick a command to scope out.
@afborro
@afborro 5 жыл бұрын
Top tip: If you like ls -l by default you can define aliases, for example I have mine set as alias ls="ls --color=auto -lrt" so now I get a default long listing when using ls, in colour, and time reverse order, i.e most recent items appear at the bottom. Put it in your login profile to automatically set it every login, for bash that is .bash_profile and Bob's uncle. :D
@kevinklement2621
@kevinklement2621 5 жыл бұрын
I love the way you mispronounce "tilde" (til-duh) as "tidely".
@digitalsparky
@digitalsparky 5 жыл бұрын
Be aware: Terminal *is* case sensitive, HELLO does not equal hello.
@zebilaweed
@zebilaweed 5 жыл бұрын
Linux is case sensitive.
@ryukshinigami5106
@ryukshinigami5106 5 жыл бұрын
@@zebilaweed true
@FreakinKatGaming
@FreakinKatGaming 5 жыл бұрын
that was one of the biggest hurdles for me I swear it! That and crossover scripting like !command #command /command \command ( ....breaths Deeply ) help SOB I KNEW IT COMMA D /FILE 'COMMA D (Shuts computer off in frustration)
@Jenny_Digital
@Jenny_Digital 5 жыл бұрын
So true! When I moved over to Linux, half my code wouldn’t compile because my #include’s used the wrong case.
@georgesmith3022
@georgesmith3022 5 жыл бұрын
@@zebilaweed i think it is most accurate to say that the shell is case sensitive
@ewancox4895
@ewancox4895 5 жыл бұрын
My favorite command would have to be "sudo !!" Very useful if you type in a long command and forget to put sudo in front of it.
@dergenie4073
@dergenie4073 5 жыл бұрын
Sometimes I feel like I am the only person reading them but man... man is the best command in all Unix like systems. There is such a huge amount of information on just about any command line program older than a year
@TheWilldrick
@TheWilldrick 5 жыл бұрын
Chris: Hey honey, can I get a sandwitch? Wife: NO Chris: sudo make sandwitch
@1pcfred
@1pcfred 5 жыл бұрын
Makefile:445: recipe for target 'sandwitch' failed Make[2]: *** [sandwitch.o] Error 1 make[2]: Leaving directory '/home/yourlife/src' Makefile:505: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:379: recipe for target 'all' failed make: *** [all] Error 2
@qazxwecvr
@qazxwecvr 4 жыл бұрын
xkcd.com/149/
@fuseteam
@fuseteam 5 жыл бұрын
btw cd without arguments takes you to the home directory :p
@elcugo
@elcugo 5 жыл бұрын
Also `cd -` takes you to the previous directory.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
True. Or "cd ~" which I still use though I shouldn't, like how Chris tends to use "super su" while he knows better. :) I haven't figured out yet how to go one level up and then one level down again (to a 'brother'-directory) with one command. For example if you have the folders B and C under A, you are in B and you want to go to C directly with one command and without entering B in it (not something like cd /.../B/C), just a way to combine the .. and the action to go down after that directly with one command.
@fuseteam
@fuseteam 5 жыл бұрын
@@elcugo indeed xD
@fuseteam
@fuseteam 5 жыл бұрын
@@peterjansen4826 like cd ../C? i mean how would you specify which "sibling" directory you want to descent to?
@peterjansen4826
@peterjansen4826 5 жыл бұрын
@@fuseteam You are in ~/Downloads and you want to go to ~/Documents in one step. Something like cd../Documents would be nice. In this case it is only one cymbol for the home-folder but often it requires more typing.
@FairlyBasicTech
@FairlyBasicTech 5 жыл бұрын
Great stuff, Chris! I've been digging your channel for the past year, and have really learned a lot. I just made Arch Linux my daily driver a couple of months ago and have jumped on the KZbin bandwagon with my own channel. I hope there's room for my voice in the Linux community. Thanks for your voice and inspiration.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
Which network-manager do you use? Did you also have problems with a slow boot at first? I had to execute my network-manager (dhcpcd) on the background, it reduces the boottime with 10 seconds. :')
@FairlyBasicTech
@FairlyBasicTech 5 жыл бұрын
@@peterjansen4826 I use dhcpcd, and boot time is pretty good considering the age of my hardware and that I'm booting off an old hd. My laptop running Manjaro off a ssd boots crazy fast. One plan for 2020 is to build a new better, faster, stronger desktop. :)
@digitalsparky
@digitalsparky 5 жыл бұрын
Fun fact, you must have +x (execute) on a directory in order to do a ls of that directory.
@1pcfred
@1pcfred 5 жыл бұрын
Fun fact, umask sets up default file system flags.
@ryukshinigami5106
@ryukshinigami5106 5 жыл бұрын
@@1pcfred 🤣🤣
@daniel_2
@daniel_2 4 жыл бұрын
I dind't beleave you. I tried it as following and it was true. :-O ------------------ You need execute right (x) to ls folder (list folder content) on Linux: mkdir testFolder ls -la testFolder/ chmod -x testFolder/ ls -la testFolder/ #Output: ls can't access testFolder/. no permission #Output: ls can't access testFolder/.. no permission
@lasc1991
@lasc1991 3 жыл бұрын
Yes, I was scared of the Linux terminal for a long time, but now I can handle some tricks. Thanks Chris!
@busdriver1261
@busdriver1261 5 жыл бұрын
Thanks Chris for the video. There were a couple there I needed reminding of. One thing I've read in every text and video I've watched on the subject is only to use the Root user when you have to, as you can seriously fry your system with a mistyped command for which there is no coming back from. Do your stuff as Root and exit out when done.
@guyboisvert66
@guyboisvert66 4 жыл бұрын
Another great intro video Chris! CLI is so efficient and it 95% of my sysadmin job. I love bash-it, IMHO a great addition to any terminal. I use it with Terminator and my "triple terminal" preset! I love listening to people that share their tips and tricks, what they like and what they use. I continue to learn everyday... after 29 years in the business! And i LOVE Linux and all it offers! You made me want to try Arch Linux, i'm a RHEL/CentOS sysadmin. I use Ubuntu on my laptop...not by choice as i don't like it that much but it does the job... Anyway for me, anything but Winblows and Macs! Keep up the good work!
@andresskl1
@andresskl1 5 жыл бұрын
Chris, you're a great source of inspiration. Thank you so much for all the knowledge you share! Greetings from Argentina :)
@cptfarzkizz8823
@cptfarzkizz8823 5 жыл бұрын
I'll agree with that, although I wish he'd stop the Ubuntu bashing, it hurts Linux as a whole.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
Greetings from Europe.
@Nucleric
@Nucleric 5 жыл бұрын
This is the type of content you should keep making. tutorials are great.
@tpasi2020UG
@tpasi2020UG 5 жыл бұрын
Damnit! This is one of the best video in 2019. This is just great! Thank you Chris.
@ryukshinigami5106
@ryukshinigami5106 5 жыл бұрын
This was nothing as compare to joe collins vids.
@rickg672
@rickg672 5 жыл бұрын
...thanks Chris. You've landed the Linux Jet once again. Great reference point summary.
@vacant2012
@vacant2012 5 жыл бұрын
Couple additional things: tar can handle multiple formats beyond .tar.gz -- at the very it also supports .tar.bz2 and .tar.xz (and of course just regular .tar files). Generally speaking there is a probably a way to handle it directly with tar if you see a file with tar in it. tar also assumes the first parameter are your arguments, so if you were decompressing one of the above file types, you could actually do "tar xpf" instead of "tar -xpf" and you'd have the same behavior. Not a huge thing but you don't actually need to include the dash in your parameters. This might be more of a shell thing than necessarily a command, but ! is super useful. If you have a situation where you need to use root permissions to do something with sudo, but you forgot to actually use sudo, you can use !! to recall the previously called command -- then you can prepend sudo to that to call your previous command with sudo prepended without having to type out the entire command out again with "sudo !!" Similar to Chris's "mkdir junk" example, if I tried to create a folder in my root /home directory as a normal user: /home $ mkdir newfolder mkdir: cannot create directory ‘newfolder’: Permission denied Then I can just re-run that previous command with sudo prepended to it: /home $ sudo !! sudo mkdir newfolder Password: /home $ ls chris newfolder You can also recall earlier commands using ! in conjunction with the history command. I use gentoo, so if I tried to do an install earlier in the day that didn't work since I wasn't running it as root, I could use a similar syntax to rerun a different command as root: chris@gentoo-testing ~ $ history|grep -i emerge 56 emerge -pv fcitx-qt5 mozc kcm-fcitx 57 emerge -av fcitx-qt5 mozc kcm-fcitx 58 emerge -av fcitx-qt5 mozc kcm-fcitx chris@gentoo-testing ~ $ sudo !57 sudo emerge -av fcitx-qt5 mozc kcm-fcitx (can begin install process now) You could also do the same thing with the su -c command if for some reason you didn't have sudo available, but it's probably a bit more complicated to use it that way: /home $ rmdir newfolder/ rmdir: failed to remove 'newfolder/': Permission denied /home $ su -c "!!" su -c "rmdir newfolder/" You'll need to put what you're trying to run in quotes, otherwise it's just going to interpret the "rmdir" (with no arguments) as your command and that you want to run it as the "newfolder" user: /home $ su -c !! su -c rmdir newfolder No passwd entry for user 'newfolder'
@PhilosopherRex
@PhilosopherRex 5 жыл бұрын
some additional commands I use: killall, lsof, grep (in combo with many commands), shutdown, service, man, more, ping, netstat, and when you are all done, 'exit'. ;-)
@birdmun
@birdmun 5 жыл бұрын
sudo !! Will repeat the last command as root. No need to hit the up arrow, move the cursor to the start, type sudo and hit enter. Also, lshw -C 'component' will show you some useful hardware based info. It suggests using sudo to get more info.
@ArrigoLupori
@ArrigoLupori 5 жыл бұрын
this video is awesome I'm just learning Linux and you've just confirmed so many things for me that I thought were true but couldn't really wrap my head around, thank you so much!
@monksuu
@monksuu 5 жыл бұрын
You spoke about permissions (user/owner, group and GUEST). Actually, it's for anyone other than owner user or users who are in the group.
@davidjeter5067
@davidjeter5067 8 ай бұрын
The command I have fallen in love with is rsync -av --progress. I have been reading, watching youtube videos, trial and error, trying to figure the command line out. I just want to take a moment to thank Microsoft from the bottom of my heart for helping me to discover and learn to appreciate the Linux command line! 😅
@sirsuse
@sirsuse 5 жыл бұрын
My favorite command is: "sudo pacman -R windows" 😁😁😁
@peterjansen4826
@peterjansen4826 5 жыл бұрын
The funny thing is that removing anything on Windows or adding anything to Windows is much easier on Linux than on Windows. On Linux I get direct access to a non-user folder, on W10 I have to fight the system to get access. :') MS really doesn't want the users to store anything directly under the root.
@praetorxyn
@praetorxyn 5 жыл бұрын
@@peterjansen4826 Not sure what you mean here really. On both Linux and Windows 10, you have unfettered access to your home directory and (unless you've given yourself ownership of it) have to provide your password to most other locations. The difference is Windows 10 is really annoying about it. sudo remembers that you're authenticated for a while and Windows asks every time. Plus under certain circumstances on Windows, you have to enter the username too.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
@@praetorxyn I was very clear! On Windows10 you can't remove/add a file from/to your non-user folder. On Linux I can do that on the same Windows-partition where Windows doesn't allow it. On Linux I only need one very simple command to change the permissions on a folder to anything I like, on Windows10 you have to jump through hoops and search an hour for the GUI-way of solving it. I don't criticize MS locking it down outside the user-folder, I criticize MS for not offering an elegant solution.
5 жыл бұрын
@@peterjansen4826 and thats good , why some noobs should ruin the perfect windows os?
@tibfulv
@tibfulv 5 жыл бұрын
@@peterjansen4826 Arguably both Linux and Windows discourage storing anything under the root. Window with explicit policy, while Linux just looks at you sternly. "Do you really want to store it under the root? There is nothing else here. It is like that for a reason." :D
@therealrickychii
@therealrickychii 5 жыл бұрын
my favorite command in linux terminal is alias, you can type a complex command and assign it to a one simple mnemonic word. Greetings :)
@ChrisTitusTech
@ChrisTitusTech 5 жыл бұрын
For sure, I always add a ton of commands at the end of my ~/.bashrc
@alonzosmith6189
@alonzosmith6189 5 жыл бұрын
I am a 56 year old man, trying to make to make the switch to Linux, started with Mint now using Zorin ultimate version, takes for this video
@peterjansen4826
@peterjansen4826 5 жыл бұрын
"Trying to"? Do or do not, there is no try. :p Frankly, once you get used to Linux the OS itself s easier than Windows, but for gaming unfortunately we still depend on Windows to some extend, some other software also isn't supported as well on Linux. For example, I have some issues with Matlab on Linux (not using the standard buttons to copy/paste text, some items (like manage add-ons) not being clickable because the developer neglected something). The OS is great, third party developers suck.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
@GreyGeek A high age makes learning a bit slower but the older you are the more important it is to learn because that is the best way to slow-down deterioration of your mind and health. Not only cognitive learning, also just learning new activities like playing an instrument, learn to surf or whatever. Never let your age quit you from learning.
@alonzosmith6189
@alonzosmith6189 5 жыл бұрын
I have tried several flavors, Suse, Fedora, Mint, etc. I found Zorin, a ton of packages built-in. Made alot easier FOR Me to switch from Windows, now slowly switch my family OLD desktops to linux.
@BrucesWorldofStuff
@BrucesWorldofStuff 5 жыл бұрын
I am now 65, will be 66 in 6 weeks and I find that the learning is slow and fun at the same time as I always say to myself, "Look what I learned today!"... I started with Linux 2 years ago with Mint and It is still my Fav but like most, I have tried lots of them. I used Windows for years and I wish I had started Linux 20 years ago when i first found it... Lol I have even installed Arch OS from scratch and it booted the first time which was a shocker.... Enjoy Linux it is a fun ride for sure! LLAP P.S. One thing I found out in Linux, there is always 5 ways to do the same thing....
@ryukshinigami5106
@ryukshinigami5106 5 жыл бұрын
I highly recommend joe collins for learning basic linux.
@jamescarson4507
@jamescarson4507 2 жыл бұрын
Being a newbie to Linux, your videos have been most helpful. 👍🏾
@johnnyaxelsson6032
@johnnyaxelsson6032 5 жыл бұрын
I love the terminal as well! Its super awesome and the simplest commands makes you feel like pro hacker XD. Dont be scared to learn new users! When you have, you will be more productive then ever!
@wayneferguson14
@wayneferguson14 5 жыл бұрын
thank you for convincing me to go back to using linux full time
@deliriumcode
@deliriumcode 5 жыл бұрын
One of the most powerful videos you have created for us, win2linux converts!
@choochoochooseyou
@choochoochooseyou 3 жыл бұрын
Your memory is phenomenal, Chris 🤯
@greghudson77
@greghudson77 5 жыл бұрын
Loving your videos Chris. Keep them coming bro
@johnnyrosenberg9522
@johnnyrosenberg9522 5 жыл бұрын
By the way, it seems like ”cd ~” is the same thing as just typing ”cd” without any arguments. Also, seems like ”cd -” takes you back to your previous directory. So if you want to switch between two directories over and over again, just type ”cd -” for each switch. I actually learned that a few seconds ago…!
@vacant2012
@vacant2012 5 жыл бұрын
~ can be useful when you want to reference a home directory of someone else. So in his example when he was trying to do stuff as root in his titus home directory, he could have done something like mkdir ~titus/junk && chown titus:users ~titus/junk which would create the junk folder in /home/titus and then set titus as the owner of that directory.
@ShadowThatKillz
@ShadowThatKillz 5 жыл бұрын
Best underrated command is Apropos. Finds keywords you enter and will give you a list of commands associated with those words
@ShadowThatKillz
@ShadowThatKillz 5 жыл бұрын
Very useful for when you need that one command you forgot the name for or to find similar commands you were looking for
@fuseteam
@fuseteam 5 жыл бұрын
or just tab complete
@ShadowThatKillz
@ShadowThatKillz 5 жыл бұрын
Fuseteam don’t see how this would be effective if you don’t even know the name of the command you’re looking for or forgot the name
@ShadowThatKillz
@ShadowThatKillz 5 жыл бұрын
Fuseteam ie: “Apropos Wireless” Output would be: Ifconfig iwlist ip . . . Etc
@ShadowThatKillz
@ShadowThatKillz 5 жыл бұрын
I could understand using tab completion in certain scenarios but there’s going to be other junk commands that probably wouldn’t be related to what that person of looking for
@digitalsparky
@digitalsparky 5 жыл бұрын
NB: tar does not require a - for it's arguments (anymore). tar xvf file.tgz will extract a .tar.gz/tgz file in verbose mode tar jvf file.tbz2 will extract a tar.bz2/tbz2 file in verbose mode
5 жыл бұрын
yup , i use them without the - to make linux even less consistent :P
@digitalsparky
@digitalsparky 5 жыл бұрын
@ consistently inconsistent :D
@dennisbauer3315
@dennisbauer3315 5 жыл бұрын
Congratulations Chris, well done, good teaching, you just made and helped a dummy understand thank you.
@redhorse6084
@redhorse6084 5 жыл бұрын
This is good stuff Chris, Thank you
@mihaidoboga
@mihaidoboga 5 жыл бұрын
Great video! A recap of my LPI Linux Essentials certification.
@digitalsparky
@digitalsparky 5 жыл бұрын
apt install linux-headers-$(uname -r) that's a useful way to use uname -r ;) What that does is it runs uname -r and puts it into the place where you put that variable, so say you were on kernel version 4.19.3, the apt command would then become apt install linux-headers-4.19.3
@derekr54
@derekr54 5 жыл бұрын
As usual Chris a very interesting and useful video.
@vskye1
@vskye1 5 жыл бұрын
man pages are awesome, and have been around since the Unix days. Very helpful actually.
@digitalsparky
@digitalsparky 5 жыл бұрын
!! is super awesome for bash/zsh as it allows you to add and run the previous command in the position of !! so if you want to do sudo vim /etc/motd but you forget the sudo, so run vim /etc/motd you can then run sudo !! which will then run sudo vim/etc/motd
@CZmiho
@CZmiho 5 жыл бұрын
BS stands for block size? OMG. I was using that abbreviation wrong my entire life...
@BrucesWorldofStuff
@BrucesWorldofStuff 5 жыл бұрын
Right! Lol
@lanceeilers5061
@lanceeilers5061 5 жыл бұрын
yip Buster Debian 10 still requires some work , therefore I am sticking with 9.9 stretch , found that some of the commands were not pulling thru properly , ended having to go to usr/sbin/command in order to execute oh well happy days are here again , keep smiling :-) best regards Lance
@gnuPirate
@gnuPirate 3 жыл бұрын
Great series man! Thank you!!!
@mulljacob
@mulljacob 5 жыл бұрын
Linux terminal makes you learn almost all the time. Learning is fun and rewarding. Linux is awesome. :)
5 жыл бұрын
yes cause it is so crap , you cant figure it out easily , so you constantly have to look it up what to do
@mulljacob
@mulljacob 5 жыл бұрын
@ True but the terminal is very powerful.. Personally I like to learn.
5 жыл бұрын
@@mulljacob yes i know , but the user friendly level is negative 0 , wins cmd isnt any better thou :P but a new consistent one would be awesome
@Mr._.1001
@Mr._.1001 5 жыл бұрын
thank you Chris for this great video I think It would be better to make 3 videos about linux commands cause there are a lots of them and it would be great to have 3 section like basic advanced and intermediate in this video or others As always a pleasure learning from your videos day to day and more and more
@tibfulv
@tibfulv 5 жыл бұрын
Yep, the terminal is definitely something I miss on Windows. I often in the past used to install Cygwin on Windows to replicate it, even though it was slow and sometimes buggy.
@0cgw
@0cgw 5 жыл бұрын
Great video, I agree with all of your selections. I'd add top (or htop) and also ln -s for symbolic linking. Also cat, less, more and tail.
@ChrisTitusTech
@ChrisTitusTech 5 жыл бұрын
I use that all the time when mounting secondary hard drives. I generally mount my secondary drives in /media and then ln -s them to my home folder. This keeps my backups easy to manage while backing up my home.
@0cgw
@0cgw 5 жыл бұрын
@@ChrisTitusTech That's interesting. I started using Linux before /media was around, so I tend to create a mount point off / for the new disk, then put that in fstab. I know some applications will try to automount new drives in media, but I don't use them. Another thing I can do, is nfs mount these drives on other machines by using exportfs and so on any machine I am on I have access to all my discs no matter where they are mounted at the same mount point on the local machine. I'll also nfs mount each home directory (or entire system) in the same way. Another other command I use is killall -9 which a friend once told me was like putting a loaded shotgun in the mouth of a process and pulling the trigger.
@Mega_Casual
@Mega_Casual 5 жыл бұрын
Hi Chris, I looked in the description but missed seeing your link or instructions on creating a unique prompt line like yours while in terminal. For reference, I'm using your least favorite distro, Ubuntu ;-/ Thanks. Reminds of the old days using prompt command in batch files in DOS. LOL
@BrucesWorldofStuff
@BrucesWorldofStuff 5 жыл бұрын
I think if you go to his website he has it there. That is where he has most stuff... Later!
@robinlillian9471
@robinlillian9471 4 жыл бұрын
Reminds me of DOS. I still remember the old WP commands. At least I won't be trying to format disks. :)
@andresdandrea5259
@andresdandrea5259 5 жыл бұрын
Thanks for the vid. I've been trying to setup the prompt like yours on bash but I haven't found a good way to make it happen. I'm pretty sure you're using zshel, right? Any recommendations?
@preston8557
@preston8557 5 жыл бұрын
Great vid! added this one to my favorites!
@hermannpaschulke1583
@hermannpaschulke1583 5 жыл бұрын
For the dd command `status=progress` is really useful to show the progress, because I've copied entire disks which took hours, and otherwise you don't get any information about the status
@ChrisTitusTech
@ChrisTitusTech 5 жыл бұрын
For rsync try info=progress2
@hjaltiatlason9263
@hjaltiatlason9263 5 жыл бұрын
I've recently started to create Linux Commands cheat sheet via Libre office writer. Then i use odt2txt Filename.odt in the terminal to view my cheatsheets. My library grows bigger and i have the option of viewing the files both in Libre office writer or via the terminal :). I sync those cheat sheets to all my devices and use it as a refresher when need some context instead of using the man pages.
@jroovy5109
@jroovy5109 5 жыл бұрын
It's also worth noting that you can create a NAND backup of a thumbdrive (or any drive) by running "sudo cp /dev/sdb ~/usb-backup.img" then dd it to another drive for exact duplication. I find this useful for duplicating Windows USBs without needing specialized software like WoeUSB.
@1pcfred
@1pcfred 5 жыл бұрын
Contemplate Windows on the Tree of Woe.
@jroovy5109
@jroovy5109 5 жыл бұрын
😂
@gimcrack555
@gimcrack555 5 жыл бұрын
I know your using Terminator. Where you can stroll up and down with the mouse wheel or use stroll bar far right. But you should mention about less and more for the ones that don't have stroll as default or don't like that kind of setup. I prefer the stroll option as well. I'm currently using xfce4-terminal as my default terminal emulator. But when your stuck in a terminal with no stroll options. Nice to know about less and more.
@adjusted-bunny
@adjusted-bunny 5 жыл бұрын
My favorite: rsync.
@ChrisTitusTech
@ChrisTitusTech 5 жыл бұрын
I can't believe I left this one out. I use it all the time.
@hermesflores6271
@hermesflores6271 5 жыл бұрын
Outstanding lesson.I'm learning a lot with you. I love Linux. I will like to know: which OS you're using as daily driver?
5 жыл бұрын
win 10 as usual
@ChrisTitusTech
@ChrisTitusTech 5 жыл бұрын
Arch Linux with MATE DE and Awesome WM. A bit complex and not recommended, but I love it.
@MarlinAMB
@MarlinAMB 5 жыл бұрын
On Windows or Linux, the shutdown command at the and of the day on Friday it's my favorite one.... =)
@marcello4258
@marcello4258 4 жыл бұрын
regarding your last part here: when you go back to windows and you miss it run powershell :P
@royhall4649
@royhall4649 5 жыл бұрын
Thank you so very much for this video!
@sethadkins546
@sethadkins546 3 жыл бұрын
10:52 The last rwx is for anyone without the owner's UID or GID (they are not the owner nor are they in the owner's group).
@fabianfi5727
@fabianfi5727 4 жыл бұрын
what desktop/window manager are you using here? looks interesting
@Rankhole123
@Rankhole123 5 жыл бұрын
You should do a series of vim tutorials - from noob to pro! I'd watch it :)
@Rankhole123
@Rankhole123 5 жыл бұрын
@@rdangdev ik it's just a dream..:P
5 жыл бұрын
@@rdangdev vscode , vim for some hours:P , sublime and notepad++ are also fine
@thenoseplays2488
@thenoseplays2488 2 жыл бұрын
Is there a --help or man for editing the fstab file? I have been learning about using btrfs file format and am aware of a number of options you can manually set, but would like to see a comprehensive list of all the options.
@tuomashelin555
@tuomashelin555 5 жыл бұрын
What to do if you have a directory full of flac- files and you want to copy them somewhere as mp3- files? Do this: -> cd #dir/with/flac/files# -> ls | grep flac --#check-- for existing flac- files -> flac -d *.flac #converts flac to wav -> ls *.wav | xargs lame -b 320 --#list-- wav- files and pipe the result to lame mp3-encoder to produce mp3-files with a bitrate of 320 kbp/s (high quality) -> cp *.wav /where/U/want/them #use lsblk to find the path to your external storage ## | is the Unix "pipe", that sends the output of a command to some other command. To feed the output of a command as arguments for some others command, use the command 'xargs' . ##* is a "wildcard" expression; ls *.wav means "print the names of all files with the extension "wav". ## For your own sanity's sake: STOP_USING_SPACES_IN_FILENAMES in Linux, use for example underscore 'Like_so.txt' instead.
@torspedia
@torspedia 5 жыл бұрын
Ta for that. Gonna have to watch this a few times, before I get everything! :-)
@whynot9963
@whynot9963 5 жыл бұрын
You should try zsh + powerlevel10k if you like pretty terminals. Its awesome.
@whynot9963
@whynot9963 5 жыл бұрын
@ i believe that powerlevel9k was slow af, but with level 10, they rewrote it, and, by their own statement is 100x faster than prev version. I use it daily, and i don't notice it being slower than regular bash
@whynot9963
@whynot9963 5 жыл бұрын
@Julio Caesar powerlevel10k or powerlevel9k?
@whynot9963
@whynot9963 5 жыл бұрын
@ maybe it was that theme. Zsh by itself should not be slow. But give it another go, there are subtle advantages that zsh has over bash, but as a daily driver, its rather useful
@Philipp1887HSV
@Philipp1887HSV 5 жыл бұрын
you should install sl via apt.
@roboknight5359
@roboknight5359 5 жыл бұрын
Amazing video thank you😁👍
@almosthelpless9374
@almosthelpless9374 4 жыл бұрын
Thank you for this video. I was trying to figure out what the pipe (e.g. | symbol) does but doing a Google search didn't give me good results. This should cut the time I spend scrolling in the terminal significantly!
@Nucleric
@Nucleric 5 жыл бұрын
Chris, what distro are you using?
@oalfodr
@oalfodr 5 жыл бұрын
Hi Chris, are your dot files available online? I would like to take a look at your configs.
@94Quang
@94Quang 5 жыл бұрын
very, very helpful thanks
@aitchpea6011
@aitchpea6011 5 жыл бұрын
Note: You can double the speed of dd by typing "dd if=source | dd of=destination"
@RoadRunner1980
@RoadRunner1980 5 жыл бұрын
Chris Titus is the real Batman.
@nagendrarao631
@nagendrarao631 5 жыл бұрын
thank you for this video.
@lucrems1199
@lucrems1199 5 жыл бұрын
I was looking in the description for a guide to make the terminal look like yours but there is no how-to related to this subject or did I miss it?
@rsadix1
@rsadix1 4 жыл бұрын
Thank you
5 жыл бұрын
The most important of all commands is cowsay. It's absolutely essential in my line of work.
@0cgw
@0cgw 5 жыл бұрын
Yes, that's a vital command. I use the following in my .bashrc fortune|cowthink -W 50 -T U | sed "s/^/ /" |lolcat -S 46
@dennisbauer3315
@dennisbauer3315 5 жыл бұрын
The cow part is good, because I am Keto. okay okay, going now.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
A few of the important commands/actions which I missed: > (to ouput to a file) and sed. Other than that, it is a pretty good starting point for new users.
@mh0862
@mh0862 5 жыл бұрын
I dunno about sed for a beginner. I've been using 'nix for over 10 years and still find sed to be daunting.
@peterjansen4826
@peterjansen4826 5 жыл бұрын
@@mh0862 Just because you are not used to it.
@mh0862
@mh0862 5 жыл бұрын
@@peterjansen4826 No doubt. I don't use it much. When I do use it, it's a chore. One of these days after looking at the man page so often, I won't have to look at the man page anymore :o)
@growingod2641
@growingod2641 5 жыл бұрын
Thank You Sir
@rayanshaikh2265
@rayanshaikh2265 2 жыл бұрын
Thank you sir 🤟🏼
@minnuss
@minnuss 4 жыл бұрын
And how do you get that color style when you do man or ip a command ?
@Mitsunee_
@Mitsunee_ 5 жыл бұрын
so I just went into my terminal and typed history to see what I use a lot and one of the commands in history. Irony... other than that the usual bunch of aliases I made for myself such as ll, upgrade (which also does an update first), install (also updates first), and my few joke aliases I made with figlet and lolcat that I sometimes use to close terminal instead of just pressing CTRL+D :D
@tracylf5409
@tracylf5409 5 жыл бұрын
Hi Chris. I've been using Virtualbox for years now to run Windows inside Linux Mate. Now, I need to dual-boot and am having issues. I have a new laptop with Win 10 on a NVMe drive + a 240GB SSD I want to put Mint on. What I'm puzzling over is that the live USB cannot "see" the NVMe drive at all-- and I was told that I need to put the Mint bootloader onto the Windows drive. Help? PS: maybe do a video on how to do this. I know I'm not the only one!
@A_Lesser_Man
@A_Lesser_Man 3 жыл бұрын
hey! i got the same prompt! i added a var I can change at top for what colours are used, and used that var in place of the default. it's been a while, so i can't remember the code, exactly.
@NekoMimiOfficial
@NekoMimiOfficial 4 жыл бұрын
Now , the terminal is great and important but new users can use gui tools for every command in this video (KDE is recommended to be installed)
@helenodetroyo7035
@helenodetroyo7035 5 жыл бұрын
*I would like a terminal like yours but that behave similar to the terminal of bodhi linux too* *If the command is good that produce a green flash on the background when I press enter, and if the command is bad that produce a red flash on the background when I press enter.*
@spaceiswater6539
@spaceiswater6539 5 жыл бұрын
Hi Chris, I have been trying to get KDE-Connect to work on Fedora KDE 31 and I have tested it on two android phones as I simply cant get it work, the two android phones see each other when using the KDE app but my Fedora KDE workstation simply will not see any devices. I even reinstalled Fedora KDE 31 and it still didn't work. It worked fine when I was using Fedora KDE 30 but 31 fails to see my Android phones. Do you have any idea why Fedora will not see them the ports are open on the firewall as in the help pages from KDE-Connect and Fedora but it fails to work sadly.
@SusanAmberBruce
@SusanAmberBruce 5 жыл бұрын
Looks like star trek in the corner there!
@lxmental
@lxmental 5 жыл бұрын
I like to remember sudo as SuperUser DO.
@zerencz8905
@zerencz8905 5 жыл бұрын
you could show how to change graphich drivers in ubuntu based systems in terminal
@spg890
@spg890 4 жыл бұрын
wget and curl-explain them please. I have no idea about them, but used couple of times when I setup raspberry pi plex server with youtube tutorials.
@ironsm4sh
@ironsm4sh 4 жыл бұрын
16:30 How did you remove the junk folder which was owned by root as a normal user? I would expect a permission denied error.
@whtiequillBj
@whtiequillBj 5 жыл бұрын
I like the 'cat' command. its good for reading text documents. then pipe to 'less' because less is more. :P
@1pcfred
@1pcfred 5 жыл бұрын
@gilkesisking zcat is fun for compressed files though. Like reading man pages. $ zcat /usr/share/man/man1/bash.1.gz | nroff -man | less
@CharlesHutchinson
@CharlesHutchinson 5 жыл бұрын
Good stuff. hate the word Newb though, probably from my time in the Army.
@busdriver1261
@busdriver1261 5 жыл бұрын
I don't have a problem either being referred to or calling myself a Noob :)
@fuseteam
@fuseteam 5 жыл бұрын
10:38 yes chmod 333 would mean write and execute but no read :p who want to guess what 731 does?
@yvrelna
@yvrelna 5 жыл бұрын
It means rwx-wx--x. In other words, a drop folder.
@fuseteam
@fuseteam 5 жыл бұрын
@@yvrelna indeed it mean rwx-wx--x you have now learned to count in binary xD What's a drop folder?
VIM The Ultimate Editor
26:50
Chris Titus Tech
Рет қаралды 58 М.
Linux Apps I Use Daily
17:58
Chris Titus Tech
Рет қаралды 388 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 36 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,7 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 60 МЛН
15 Useful Linux Commands Every Linux User Needs | Learning Terminal Part 1
17:44
Linux File System | Complete Overview
20:58
Chris Titus Tech
Рет қаралды 55 М.
Starting With Linux: What I Wish I Learned First
23:31
Learn Linux TV
Рет қаралды 483 М.
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 279 М.
Linux for Beginners
26:32
Chris Titus Tech
Рет қаралды 725 М.
16 Linux Tips in 10 Minutes
14:02
Chris Titus Tech
Рет қаралды 95 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,7 МЛН
Linux Tip | 10 Useful Linux Commands
34:35
Joe Collins (EzeeLinux)
Рет қаралды 663 М.
Switching to Linux: Drives & Partitions
17:11
ExplainingComputers
Рет қаралды 49 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 36 МЛН