Jake@Linux

Jake@Linux

Linux, Linux, and more Linux. This channel is Linux and FOSS focused. Created by a 25 year veteran automotive technician who is an avid linux enthusiast. The goal of this channel is pretty simple, to share my enjoyment of Linux,F.O.S.S alternatives to proprietary systems, simple/basic coding and scripting, and software along with all it has to offer by creating videos to share workflows, programs, troubleshooting, customization, and implementation within a community of fellow Linux enthusiasts, neckbeards, and neckbeards in training.

Follow me on other platforms:
Odysee:
odysee.com/$/invite/@Jakeatlinux:f
Github:
Github.com/jdpedersen1
Gitlab:
Gitlab.com/jped
reddit:
reddit.com/r/jakeatlinux. (u/_JakeAtLinux)
Vultr
www.vultr.com/?ref=8791795
$100 free to test Vultr platform, just use this link
www.vultr.com/?ref=9174735-8H

Drift day

Drift day

Void Linux Install 2024

Void Linux Install 2024

rally ready

rally ready

Void user tries Debian

Void user tries Debian

Пікірлер

  • @mrtetillas7504
    @mrtetillas75042 сағат бұрын

    its kinda different than arch, i wanna try but in a more simple way, no luks and no btrfs, just ext4 or xfs, for fast install i just wanna try things before delete arch and install void on real machine

  • @AlexanderTroumen
    @AlexanderTroumenКүн бұрын

    What font was used in terminal?

  • @JakeLinux
    @JakeLinuxКүн бұрын

    That was either fantasque sans mono or caskaydia cove I don't remember which.

  • @AlexanderTroumen
    @AlexanderTroumenКүн бұрын

    @@JakeLinux Thank you

  • @edbeckerich3737
    @edbeckerich37372 күн бұрын

    Im installing Void, ive just got startx working with Qtile, what display manager do you use? I need to get the source pkging done too

  • @JakeLinux
    @JakeLinux2 күн бұрын

    @@edbeckerich3737 I use either sddm or just startx

  • @lonekid9286
    @lonekid92862 күн бұрын

    5:54 : 'I think you're going to be hard-pressed to find a distribution with documentation as well done as Arch Linux.' Ever heard of FreeBSD?

  • @ChrisCox-wv7oo
    @ChrisCox-wv7oo4 күн бұрын

    How is this at all convincing that they are equivalent in efficiency? When your line numbers are in the hundreds, or thousands, who wants to type three or four numbers G? Relative line numbers are absolutely superior.

  • @JakeLinux
    @JakeLinux2 күн бұрын

    It all depends on your preference, if you are more comfortable with normal line numbers over relative numbers you are going to be more efficient using normal. It's no different than if you were using relative numbers and had to move 100 or 1000 lines, you would still have to press 3 or 4 characters and then j or k. No different. To each his own. I use relative numbers personally because they improve my personal efficiency, may not be the same for everyone. Thanks for watching and for your input.

  • @ChrisCox-wv7oo
    @ChrisCox-wv7oo2 күн бұрын

    @@JakeLinux hm, I guess I just can't imagine the situation where it would be more efficient, regardless of your "comfort" with each. rnu are for acting within the current view of the buffer (as that is their extent). I can't imagine ever doing 1000k or 1000j. 1000G, or :1000, sure, because I know the line number. but I'm never going to look at the current line n, know I want to go to line m, and calculate m-n, then do (m-n)j. that's just painful, and not using rnu (which are the current view only) back to the use case, if you are yanking, deleting, moving vertically, indenting etc. etc. over a range of text from your current position (let's say 995), how will executing d1000G ever be more efficient than 5dd, or 5dj? I'm genuinely interested, as maybe this is just a workflow I'm unfamiliar with.

  • @ChrisCox-wv7oo
    @ChrisCox-wv7oo4 күн бұрын

    :vimgrep, fzf-lua / telescope (neovim only), or using LSP are alternative methods of editing across multiple files. * and # search the word under cursor with word boundaries (\<, \>). If you want to ignore word boundaries, use g* and g# in neovim, if you want to watch live results of a substitute throughout buffer, use inccommand=split. this will open a split as you type your substitute command with all lines (up to cmdwinheight). I don't think native vim has an equivalent setting.

  • @MikeWasylik
    @MikeWasylik4 күн бұрын

    This is the best single explanation I’ve seen yet for using a bare repo to track dot files. Thanks for the clear, concise, and complete explanation.

  • @JakeLinux
    @JakeLinux4 күн бұрын

    Thank you for the kind words, I'm Glad you enjoyed it,

  • @MikeWasylik
    @MikeWasylik4 күн бұрын

    @@JakeLinux even better-I got it all working tonight. Thanks again.

  • @JakeLinux
    @JakeLinux4 күн бұрын

    @@MikeWasylik glad it helped and that you got it all set up. You're very welcome

  • @unucellply4221
    @unucellply42215 күн бұрын

    I've come here because of run0, Ubuntu and Debian/Flatpak. all things I hate, then the search results led into edge channels. also, symlinks unnecessary bloatware.

  • @scottb4029
    @scottb40296 күн бұрын

    Sed and AWK are cool, but not as cool as set. Loved the video. I am worried about you, what is going on with your throat? Btw tea with honey coats the vocal cords.

  • @curtismenzies428
    @curtismenzies4287 күн бұрын

    cool beans

  • @user-eq4my1ve9y
    @user-eq4my1ve9y7 күн бұрын

    Really helpful series of videos. Thanks a lot!

  • @lightninguru26
    @lightninguru268 күн бұрын

    This is my style of learning. Thank you.

  • @anon_y_mousse
    @anon_y_mousse8 күн бұрын

    Only recommendations I have is to do a whole word search when replacing simple strings like 'cat'. For instance, if you have a file listing 'Categories of Cats' and you don't do whole word, you'll get 'Dogegories of Dogs'. For whole word, enclose in alligator clips which I can't demonstrate without my post being deleted (not your fault, just KZread hates me). Also, if you are deleting based on a potentially mixed case string, if you're using GNU `sed`, then you can use 'Id' instead of just 'd'. Note that's capital eye before the dee. I'm told it's not portable, but who actually uses a different version of `sed` if you're on Linux?

  • @dzanful
    @dzanful8 күн бұрын

    Your statement that the `-E' flag enables extended regular expressions is true, but can be easily misunderstood. Actually, the only difference between regular and extended regular expressions is that in the latter, special characters like '?', '+' and '()' aren't escaped with a backslash '\' character, otherwise they become literal. So the main purpose of ERE is to make regular expressions more readable and less prone to human error. Consider the following two sed commands, with and without the `-E' flag, both producing the same output: $ echo a b | sed -E 's/(\S+)\s(\S+)/\2 \1/' b a $ echo a b | sed 's/\(\S\+\)\s\(\S\+\)/\2 \1/' b a However, basic regular expressions may be more convenient in some cases: $ echo '(a) (b)' | sed 's/(\w)/(x)/g' (x) (x) $ echo '(a) (b)' | sed -E 's/\(\w\)/(x)/g' (x) (x) Understanding this small difference between BRE and ERE can save a lot of time and confusion when working with sed and grep. But there's so much more sed can do, including flow control, which is rarely if ever mentioned by most content authors on the web.

  • @sadmold
    @sadmold9 күн бұрын

    Very useful and clear information. Thank you! <3

  • @FernandoRetagi
    @FernandoRetagi9 күн бұрын

    Can I have your terminal setup ?

  • @edbeckerich3737
    @edbeckerich37379 күн бұрын

    But I have sed NOTHING...and still got a response, silly software

  • @rato_gordo
    @rato_gordo9 күн бұрын

    I'm trying to solve a need while being a noob. I have 37 html files where I want to change the code, e.g. I forgot a alt tag for an image. With sed it is possible to do it in all files at once? I'll definetely read sed man asap ;)

  • @JakeLinux
    @JakeLinux9 күн бұрын

    @@rato_gordo if they are all the same you can run the following: sed -i 's/<img \(.*\)\(src="[^"]*"\)<img \1\2 alt="your alt text here"/g' *.html This should change them all, however this is only good if you want the <img> tag in all 37 files to have identical alt attributes. Obviously change "your alt text here" to whatever you want it to say.

  • @rato_gordo
    @rato_gordo9 күн бұрын

    @@JakeLinux thx for the help! I'll look into It and make tests, before losing stuff, lol. As another folk commented here... time to start learning regex. Your videos are really good Jake!

  • @JakeLinux
    @JakeLinux9 күн бұрын

    @@rato_gordo thanks I appreciate that

  • @vitasomething
    @vitasomething9 күн бұрын

    doing sed -i "s/he/she/g" on all my documents🏳‍⚧

  • @donaldmickunas8552
    @donaldmickunas85529 күн бұрын

    Jake, The real power, in that third example, was in all of that middle part in the sed command. Those are regular expressions which is a language all it's own. Awk. Sed, and Regular Expressions, when used together effectively, can manipulate large amounts of text quickly. Most computer users today have never heard of these tools mainly because they require some work to learn how to use. Most people aren't willing to put in the work. I think that is a bad decision. I started diving into Regular Expressions about a year ago, using the classic book "Mastering Regular Expressions by Jeffery Friedl", but health issues put a stop to that endeavor. It is time to jump back in. 😉

  • @replikvltyoutube3727
    @replikvltyoutube37279 күн бұрын

    Slashes Can be actually any symbol IIRC. Since slashes can make problems with escaping and usage in bash scripts, it's better to use some not interpreted symbol like ! or @

  • @donaldmickunas8552
    @donaldmickunas85529 күн бұрын

    Indeed, by using another symbol rather than the "/" after the "s" will change the delimiter to that symbol.

  • @donaldmickunas8552
    @donaldmickunas85529 күн бұрын

    Jake, You should do more short videos like this one. No one is teaching this stuff any more. Regular Expressions can be used in many Linux commands. Knowing them can allow the user to accomplish much in a few lines of code. Powerful, heady stuff when applied.

  • @anon_y_mousse
    @anon_y_mousse8 күн бұрын

    I often use a comma because it's easy to type and not generally in any strings I process in that way.

  • @binku09
    @binku0910 күн бұрын

    HAHAHA THAT THUMBNAIL IS GOLD

  • @damnhatesyou
    @damnhatesyou10 күн бұрын

    Why?

  • @user-ic1ku9np6h
    @user-ic1ku9np6h8 күн бұрын

    yeah, trans text like a pro, literally....

  • @Jakoliath
    @Jakoliath10 күн бұрын

    great stuff, thanks for making this

  • @davidh.4944
    @davidh.494411 күн бұрын

    'echo $(pwd)' ==> Use the $PWD built-in shell variable instead.

  • @davidh.4944
    @davidh.494411 күн бұрын

    Clever stuff. I have some similar functions myself. But I can't help but comment on some of your scripting language...in the name of constructive criticism, of course. [[ $# -eq 0 ]] : Arithmetical tests are better done inside math brackets. '(( $# == 0 ))' should be used here. [ -z $1 ] : [[..]] is almost always preferable over the old [..] test. In fact, it's best to just forget the latter exists. For one thing the former does not perform word splitting on variables, making safer and more convenient. At the very least you need to quote "$1" if using [..]. BashFAQ #31 details the differences between the forms. ls -a | : Unnecessary and risky. Using ls for parsing filenames is right there in BashPitfall #1. I would first try to use 'printf '%s\0' **/ | fzf --read0' myself. The '**/' (globstar) pattern also ensures that you only get directories. You do need to set the dotglob shell option first though if you want to get hidden files, and it may be slow to read on big directory trees. Your best choice is probably to use find or fd, again with -print0 output, and set to filter for directories. selection="$()" / [[ -d "$selection" ]] : No shell parsing is done when directly passing one parameter to another, and as mentioned above, word-splitting does not occur inside [[..]], either, so no quoting is needed in either case. Finally, note that bash's cd built-in can be configured to automatically match existing directory substrings if they are found in the CDPATH variable. i.e. if you have $HOME set in CDPATH, then 'cd Documents' will jump you straight to '~/Documents'.

  • @movieland8513
    @movieland851311 күн бұрын

    Hi. When I connect to windows through Remmina, there is no problem. But when I turn on shared printer on remmina I can't connect. I use void linux bsbwm. how to fix

  • @NotcardNotLive
    @NotcardNotLive12 күн бұрын

    i installed artix yesterday, the install is pretty similar to arch, but you have the choice of init system. i chose runit, because ive used systemd, and i used gentoo for a couple weeks so i had some experience with openrc, but ive never used runit. so far runit is pretty good, a little bit of an annoyance with enabling services since i need to make a symlink but whatever. i moved from gentoo, and my gentoo system was very minimal (my login manager was ly) but i couldnt get ly running so i settled with sddm temporarily

  • @malu_1997
    @malu_199712 күн бұрын

    Good work

  • @clockblower6414
    @clockblower641413 күн бұрын

    What program are you running as cat? Looks like cat 2.0!

  • @JakeLinux
    @JakeLinux13 күн бұрын

    I aliased cat to bat, I have an old video about it on my channel.

  • @clockblower6414
    @clockblower641413 күн бұрын

    Ooh thanks! Just one of those things where you can have it a bit shinier like using eza or lsd instead of ls

  • @JakeLinux
    @JakeLinux13 күн бұрын

    @@clockblower6414 exactly, it's the little things in life.

  • @itsmenewbie03
    @itsmenewbie0314 күн бұрын

    does the data.txt file looks actually like a table or was the cat command aliased to do extra stuff?

  • @JakeLinux
    @JakeLinux14 күн бұрын

    I have cat aliased to bat.

  • @DavidLindes
    @DavidLindes14 күн бұрын

    1:16 - woah, what on earth is that version of cat? I kinda dig it, but... that is _not_ (the traditional) standard. :) What is it, how does one get it, etc.? 9:00 - I hope whatever that was is all cleared up. That said, may I suggest for the future maybe pausing, getting a drink or whatever, and then editing the clip? Or just editing this out? Unless you were live-streaming or something... Anyway, not really complaining, just suggesting that it might be a useful way to make the video cleaner, and then maybe you wouldn't feel a need to apologize?? Just a thought. Please take care of yourself! (And: if it's just that you haven't done video editing, or don't want to take the time, or whatever, then... fair enough. Though I'll also just say it's a fun skill to learn, or at least it was for me. :) ) Anyway, cool stuff. It's all review to me of stuff I learned many years (several decades(!!)) ago, but... I was actually kinda wanting a review recently, so, hey, it works out. :)

  • @JakeLinux
    @JakeLinux14 күн бұрын

    You are correct, it is not cat. I have bat installed and I aliased cat to bat. I have a video covering that as well. All cleared up, just a frog in my throat. I should, for common courtesy so you guys don't have to listen to me hack, edit that out or pause the video, but too late now. Will be a little more respectful in the future. Thanks for watching!

  • @DavidLindes
    @DavidLindes12 күн бұрын

    @@JakeLinux aha, bat! Installed and played with a little... fun stuff! Roping me more into the cargo cult, I guess. 😂

  • @adriansrfr
    @adriansrfr14 күн бұрын

    Awkward is great for querying csv files, but the formatting of string based commands is lame.

  • @Anubisviech
    @Anubisviech15 күн бұрын

    Just a tip, in case you want to print the whole line, you can reference that with $0, from what i remember.

  • @DavidLindes
    @DavidLindes14 күн бұрын

    sounded right, but also just checked it, and yup. :)

  • @IdAefixBE
    @IdAefixBE15 күн бұрын

    Why would you need to install both seatd and elogind ? Hyprland and its XDG portal use libseat, which if I understood it correctly, turns seatd into a complete elogind replacement. Also more generally, why would you want elogind when you already took the leap of running a systemd-free system ?