Make Your Life Easier and Learn These Things

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 56

  • @robbylock1741
    @robbylock1741 ปีที่แล้ว +7

    For the last 25 years I've used rsync and ssh with cron to sync files between systems, including my rsync scripts! I would only add a few terminal commands that are the most useful, grep, top, tail, less and uniq.

    • @anon_y_mousse
      @anon_y_mousse ปีที่แล้ว +1

      ... sort, xxd, head, wc, htop (for the more comprehensive display), awk, sed, bc, cut, ...

  • @carltaylor4942
    @carltaylor4942 ปีที่แล้ว

    Thanks for this. It's all good general advice that will save time and add security. As a long-term Linux user I appreciate how important these things are and it's good of you to take time to remind us all.

  • @sprtwlf9314
    @sprtwlf9314 ปีที่แล้ว +1

    Excellent and helpful video. Great content.

  • @TActually
    @TActually ปีที่แล้ว +8

    I've fought hard not to learn VIM and I'm not about to start now! 😅
    Everything else, I whole heatedly agree with.

    • @tylerdean980
      @tylerdean980 ปีที่แล้ว +2

      You’re missing out if you like TUI apps and window managers, most of them use Vim commands

    • @TActually
      @TActually ปีที่แล้ว +1

      @@tylerdean980 I still haven't left KDE Plasma. But if I ever do, I might... maybe... possibly... learn VIM

    • @andresserranorobles3087
      @andresserranorobles3087 ปีที่แล้ว

      One of us, one of us

    • @datamuddler894
      @datamuddler894 ปีที่แล้ว +2

      Learning vim was even more life-changing than switching to Linux in my experience.
      I couldn't recommend it more

    • @TActually
      @TActually ปีที่แล้ว

      @Data Muddler based on your username, I believe you. My use case would not be improved by learning VIM. For me, it would be tantamount to "I use Arch, BTW". I see its value, and, if I get bored, I'll tackle it. But for the next few years, I got too many other things that are more important to my career that I still need to master.

  • @slalomsk8er397
    @slalomsk8er397 ปีที่แล้ว +1

    The first stumbling block with Linux I had, ~25 years ago, after login via ssh was how to copy stuff from and to remote and then I found scp, sftp and rsync.

  • @BG101UK
    @BG101UK ปีที่แล้ว

    In addition to SSH, I'd also suggest giving SSHFS a mention. It can sometimes be easier to mount the remote directory you're working with, especially for things like manual selective backups. Also, SCP. ☺
    N.B. I need to remind myself how to unmount as it's been a while since I used it ... (not the expected umount command!)

  • @CGA111
    @CGA111 ปีที่แล้ว

    Nice recommendations, I've left cron for systemd timers though, less finicky and catches events that hasn't been run because of the computer not being turned on.

  • @saintswolfgang_
    @saintswolfgang_ ปีที่แล้ว +5

    It be nice to see a video on how to custimze bash, fish, zsh prompt to make it look nice or more funtional to read, especially when some distros come with terminals with one color font and is really hard to distinguish your Ls, pwd, cd and such, when you have alot of things going on the terminal.

  • @summerishere2868
    @summerishere2868 ปีที่แล้ว +3

    Anacron is also as useful as cron if your pc is not on all the times.

    • @slalomsk8er397
      @slalomsk8er397 ปีที่แล้ว +1

      incron is also nice to know - do stuff if files change

  • @raj.svc.google911
    @raj.svc.google911 ปีที่แล้ว

    Thanks. Do take a look at `incron` and `rclone sync` as alternatives.

  • @hopelessdecoy
    @hopelessdecoy ปีที่แล้ว +2

    I don't necessarily disagree with you but the normal average computer user does not need to know any of these things. As tech people we put higher importance on them but they are useless to someone just wanting to check their email on Chrome or edit a photo/document. A non-tech/power user shouldn't need to learn the terminal, I'll get hate for it but you don't need to learn agriculture to eat food or car maintenance to drive a car.

  • @almatydream
    @almatydream ปีที่แล้ว

    You are the best, bro! 👍

  • @LHCB6
    @LHCB6 ปีที่แล้ว

    Something's wrong with the maize and blue M above your TV /s
    I'm joking, but good channel and good info.

  • @bitterseeds
    @bitterseeds ปีที่แล้ว +1

    @matt Gitea is what was escaping you. :)

  • @devworship
    @devworship ปีที่แล้ว

    What do you think about ChatGPT and speak approach to doing things? Do you think we will still need vim in the future?

  • @ardvan
    @ardvan ปีที่แล้ว

    If you have a Linux with systemd you don't have cron. Of course you can install a cron daemon, i'm sure there are some. But in this case you should better learn systemd user services.
    I don't use a Linux with systemd and don't use cron, because most stuff I use is user environment based (pipewire, wireplumber, waybar, email and user backup) and they won't work in my crontab properly. I would suggest something like superd for user services that is started by your windows manager when you login. It keeps the user environments of DBUS and XDG and you can start/stop stuff that needs DBUS like pipewire properly with superctl.

    • @TheLinuxCast
      @TheLinuxCast  ปีที่แล้ว +4

      cronie works wonders on systemd, and is installed by default on a ton of different distros, so IDK what you're talking about there.
      Now on non-systemd distros, cron is a bit more complicated, but not too bad

    • @TActually
      @TActually ปีที่แล้ว +1

      @@TheLinuxCast beat me to it. On top of that, you can use cron with user applications as well as root. Me thinks this guy needs a solid tutorial video in his life. I wonder where he might find one of those...🤔

  • @mlambrechts1
    @mlambrechts1 ปีที่แล้ว

    Hi. I just use Timeshift (rsync function). Is there any negative thing about that?

  • @oalfodr
    @oalfodr ปีที่แล้ว +2

    I use ssh even to connect to my phones and transfer data between them. I disagree about ssh being complicated to use

    • @slalomsk8er397
      @slalomsk8er397 ปีที่แล้ว +1

      Sailfish OS? I was thinking, I'm the only one backing up photos on phone with rsync :)

    • @oalfodr
      @oalfodr ปีที่แล้ว +1

      @@slalomsk8er397 LineageOS with termux. You are not the only one who uses phones for backups. Though I use only old phone that stays home for backups. But on both I use sshfs to mount their storage locally for easy access

    • @anon_y_mousse
      @anon_y_mousse ปีที่แล้ว +1

      @@oalfodr I feel like I've met two of my own kind in the wild. And sshfs is the best.

    • @oalfodr
      @oalfodr ปีที่แล้ว +2

      @@anon_y_mousse Mounting remote stuff is super convinient. I also often mount archives with archivemount instead of extracting

    • @anon_y_mousse
      @anon_y_mousse ปีที่แล้ว

      @@oalfodr I usually just browse with less, but I'll have to give that a try too.

  • @empirelinux9800
    @empirelinux9800 ปีที่แล้ว +1

    ssh -L 😎

  • @anon_y_mousse
    @anon_y_mousse ปีที่แล้ว

    Matt, if you wanted to call me awesome you didn't need to make a video just to say that. :P

  • @kazzxtrismus
    @kazzxtrismus ปีที่แล้ว +2

    ssh shouldnt be stuck in terminal....ill learn terminal right after i learn papyrus making catamaran sailing and hand carving im sure ill trip over another few archaic hobbies i may prioritize ahead as well..
    after learning Dos in the 80s 90s then windows...im 20yrs past done being stuck in a black screen of commands.
    i want to use a computer now.....we spent the last 20 yrs making graphics great realistic and beautiful..CLI is an insult

    • @tylerdean980
      @tylerdean980 ปีที่แล้ว +6

      The CLI will never die, you do you.

    • @kazzxtrismus
      @kazzxtrismus ปีที่แล้ว +1

      i notice neither of you talking about moving/mirroring things from the CLi into the gui.
      i too love archaic things...i can carve stone quire well.....i guess ill put something important on stone and never let it be moved to the modern methods of communications....im sure thatll survive and grow and make a real impact

    • @kazzxtrismus
      @kazzxtrismus ปีที่แล้ว +1

      "CLI is faster" is common thing said....
      NOT when its not used....
      i dont think CLI should die.....I also dont think i should need a hand crank to start my car in 2023

    • @anon_y_mousse
      @anon_y_mousse ปีที่แล้ว

      @@kazzxtrismus What do you mean by moving or mirroring things from the CLI into the GUI? Do you mean the GUI copying interface elements from CUI apps? If that's the case, there are quite a few GUI apps that use vim movement keys. For instance, the PDF viewer that I use, okular, uses vim movement keys, as well as all the other expected things so not just vim movement keys. If that's not the kind of thing you mean, then clarify.

    • @kazzxtrismus
      @kazzxtrismus ปีที่แล้ว

      @@yozul1 its not useful to not have an option feature or capability NOT IN the GUI..its not useful because normal people dont use the terminal or CLI....
      huge swaths of the linux community are stuck in the dark ages of computing holding on desperately and arrogantly to the idea that terminal is a viable interface for anyone not an autist....
      half of what could possibly be bragged about for linux will never see the light of day...
      the CLI crutch is the bubonic plague dark ages disease of linux....
      propping up lazy developers who prefer to half finish (less than half) a project and call it good enough and let the rest of the world considder linux a substandard out of date backwards and archaic system not fit for public consumption....
      CLI is a disgusting fetish religion the rest of the world has rejected outright blatantly and firmly...you drag linux down with your profession of its value while allowing the rest of the system to go without a GUI...
      CLI / terminal is the domain of the sweaty greasy basement dwelling socially rejected.
      have a shave and a shower put some clothes on and put a GUI on it like a civilized person