LSD on Linux - the next gen "ls" command

Ғылым және технология

LSD (LSDeluxe) is the next gen "ls" command. It adds some neat colors to "ls" as well as unicode character icons.
📰 REFERENCED:
github.com/Peltoche/lsd
💰 WANT TO SUPPORT THE CHANNEL?
Patreon: / distrotube
Paypal: www.paypal.com/cgi-bin/webscr...
👕 BUY SHIRTS AND MUGS:
Help support this channel by purchasing these fine t-shirts, hoodies and mugs.
teespring.com/stores/distrotube
🗨️ JOIN ME ON DIASPORA AND MASTODON:
diasp.org/people/792034802a05...
mastodon.technology/web/accou...
📁 MY CONFIGS:
GitLab: gitlab.com/dwt1
Your support is very much appreciated. Thanks, guys!

Пікірлер: 177

  • @nofood1
    @nofood15 жыл бұрын

    As an lsd user, I approve! 💪

  • @egecant
    @egecant5 жыл бұрын

    So this is the recommendation I get from watching videos about drugs and my CS course...

  • @tostoday
    @tostoday5 жыл бұрын

    Didn't know you had to do LSD to use Linux, well maybe Arch!

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    Arch can be a bad trip for some people!

  • @izaicslinux6961

    @izaicslinux6961

    5 жыл бұрын

    @@DistroTube More so for the computer, when you bash the case in because a update broke everything :P

  • @ithraldharzul6887

    @ithraldharzul6887

    5 жыл бұрын

    Now I want to trip while installing Arch... Thanks for the horrible idea

  • @balla2172

    @balla2172

    5 жыл бұрын

    How did you get your terminal to look like that it's very nice

  • @ithraldharzul6887

    @ithraldharzul6887

    5 жыл бұрын

    @@eddmnd8595 Because we are to lazy to wait for compilation to finish. Seriously, making a coffee while waiting for Firefox, Signal, and KDE/Gnome to compile is all well and good, but by the time it is all done you have already consumed a pot, not just made a cup. Give me the binaries unless I really need to eek out that single digit % performance increase.

  • @ChillerDragon
    @ChillerDragon5 жыл бұрын

    „LSD adds neat colors“ nice xd

  • @jonspoonamore3721
    @jonspoonamore37215 жыл бұрын

    Nice!!! Just put LSD into my tool bag.

  • @migue7490
    @migue74905 жыл бұрын

    Niiiice, always bringing us good info, thank you dt.

  • @samiordning9708
    @samiordning97085 жыл бұрын

    This is good looking. Had to get it and must say, it is at least someways better than basic ls. Thanks.

  • @kellingc
    @kellingc5 жыл бұрын

    Cool command thanks for showing us that .

  • @RombusEvilBones
    @RombusEvilBones5 жыл бұрын

    The icons are great, thanks

  • @bukowskii
    @bukowskii5 жыл бұрын

    Love the --tree option but I find using --depth with it is useful if you want to only look a few folders ahead or else it lists everything. I set up an alias lstree = 'lsd -a --tree --depth 2' for a nice tree view of current directory and the next tier of directories. Thanks Derek for making a video on this program

  • @yorkaturr
    @yorkaturr5 жыл бұрын

    Looks cool, but the reason the "-h" flag in "ls" is behind a flag is because it's easier to parse numbers instead of human readable strings when you are working with scripts. So, great for the end user but not a replacement for ls.

  • @llothar68

    @llothar68

    5 жыл бұрын

    As an interactive replacement it lacks a lot because the developer didn't want to be 100% into that. Wasted opportunity.

  • @Waitwhat469

    @Waitwhat469

    4 жыл бұрын

    The opposite seems like it would make sense, rather assume it's a user, and for scripting allow for easier formatting flags. It looks like it has a '--size ' option :)

  • @guilherme5094
    @guilherme50945 жыл бұрын

    Looks very cool.

  • @MrHatoi
    @MrHatoi5 жыл бұрын

    I'm sorry but my parents always taught me to stay away from drugs.

  • @VanStabHolme

    @VanStabHolme

    4 жыл бұрын

    Then you should stop using linux

  • @75dhib

    @75dhib

    3 жыл бұрын

    unixporn is not safe too

  • @bartekr5198
    @bartekr51985 жыл бұрын

    Lsd... Yeaah... I never forget hoffman 2000 trip ;P sry 4 offtop :) ehh those memories.. Thx 4 video. Nice done. Up & sub

  • @Infomation_Technology_KH
    @Infomation_Technology_KH Жыл бұрын

    love this

  • @RobinGrays
    @RobinGrays5 жыл бұрын

    Sweet thanks.

  • @neo-jk2uo
    @neo-jk2uo5 жыл бұрын

    pretty cool thanks

  • @Nikki-os2df
    @Nikki-os2df5 жыл бұрын

    Pretty neat!!!

  • @horstkoston7104
    @horstkoston71045 жыл бұрын

    love you and your chanel! can you tell me what colorscheme that is on your powerline?

  • @jasperzanjani
    @jasperzanjani5 жыл бұрын

    this video was a trip 😏

  • @betafaccion2289
    @betafaccion22895 жыл бұрын

    I was using 'exa', but 'lsd' seems to have better icon support, but dude, about 'cd' and 'ls' being the most commonly used commands, you have to take a look at fzf (if you haven't already). It's the best productivity boost I had in a long time, its a fuzzy finder for file/directory and you usually set a bash/zash keybinding to invoke it, and set 'lsd' or 'exa' to show on the 'preview' area (also, 'bat' to preview files is awesome). I was using ranger for some time, but I don't even need a file manager anymore, fzf is awesome and integrates perfectly with lsd

  • @pkcakeout7551
    @pkcakeout75515 жыл бұрын

    Well. I think the alias-thingy goes a bit overboard, because you will probably want to use the non-unicode variant for piping stuff into other programs. Still, lsd as more user-oriented fronted seems great!

  • @Speleon100
    @Speleon1005 жыл бұрын

    Nice video! thanx for presenting this tool :) I was wondering how you can get the unicode icons? is there a font package to install?

  • @Speleon100

    @Speleon100

    5 жыл бұрын

    Ok i should have search better : just need to install nerd-fonts

  • @BGroothedde
    @BGroothedde5 жыл бұрын

    Do you have a link to your PS1? Thanks for the vid, I didn't know about the LSD command.

  • @geraldcragg9313
    @geraldcragg93135 жыл бұрын

    Nice...!!!

  • @D1Ck3n
    @D1Ck3n5 жыл бұрын

    Thanks for showing this great tool, but i got the problem that the unicode icons are very smal. Do you (or someone) know this issue?

  • @il2xbox
    @il2xbox5 жыл бұрын

    Linux in the Sky with Diamonds

  • @monday6740
    @monday67405 жыл бұрын

    I sometimes disable all colors in Putty, I find too many colors drawing unnecessary attention - Lucy in the Sky with Diamonds

  • @devforge538
    @devforge5385 жыл бұрын

    How is that terminal called? it looks kinda nice. with the arrows etc

  • @DhruvTrivedi
    @DhruvTrivedi5 жыл бұрын

    Hey! How do I get the terminal layout which you're using? I found that pretty interesting....

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    I'm using zsh with the powerlevel9k theme.

  • @finoderi
    @finoderi5 жыл бұрын

    Unfortunately icons are bugged on Konsole.

  • @jasongomez5344
    @jasongomez53445 жыл бұрын

    My terminal font ("Hack") doesn't seem to support these Unicode characters.

  • @Elfcheg
    @Elfcheg5 жыл бұрын

    Should I switch to FreeLSD now?

  • @pat3658
    @pat36585 жыл бұрын

    Nice! Sadly my terminal emulator konsole does not support the unicode icons..

  • @MrDLimit
    @MrDLimit5 жыл бұрын

    Thanks, now my pc will be tripping balls!

  • @thingsiplay
    @thingsiplay3 жыл бұрын

    ls does have the -F option too.

  • @pcfreak1992
    @pcfreak19925 жыл бұрын

    There is even a typo in the help page.. "An ls comment" :D On a more serious note: This tool cannot be considered a "next-get ls" since it doesn't even do half of what ls can do. I mean where is e.g. sorting by other attributes than name and modification time?

  • @user-ux2kk5vp7m

    @user-ux2kk5vp7m

    3 жыл бұрын

    1 year late, but its not a typo as its pronounced "An "el es" comment"

  • @zerenxx8841
    @zerenxx88412 жыл бұрын

    how can you have the icons so big compare to the text? my icons of folder,.. are so small

  • @abel6580
    @abel65805 жыл бұрын

    Hey guys, this is Derek, my new acid plug.

  • @apojoga
    @apojoga5 жыл бұрын

    A good alternative to ls is a proper file manager instead of a barren scrolling console ;)

  • @MrPDTaylor
    @MrPDTaylor5 жыл бұрын

    Can I get LSD on npm? (Node package manager) Can I get it on Git bash?

  • @grzegorzbrzeczyszczykiewic1636
    @grzegorzbrzeczyszczykiewic16365 жыл бұрын

    Do you have a peertube and/or a mediagoblin account?

  • @_nikeee
    @_nikeee5 жыл бұрын

    You should try exa as well.

  • @Zeioth
    @Zeioth2 жыл бұрын

    In the current GIT version, it can be customized with themes.

  • @MyurrDurr
    @MyurrDurr5 жыл бұрын

    Hey, what font do I need for the symbols to render?

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    I use the Nerd Fonts.

  • @MyurrDurr
    @MyurrDurr5 жыл бұрын

    Telling someone you really like this software will be quite dodgy....Unless you are already talking about Linux stuff. "BTW, I really like LSD"

  • @wvagner284
    @wvagner2845 жыл бұрын

    Unfortunately it does not show colors and icons so beautifully on Debian terminal.

  • @szhzs6121

    @szhzs6121

    5 жыл бұрын

    try muhsrooms

  • @CaptainLoony
    @CaptainLoony5 жыл бұрын

    you can press ctrl + L (no caps) on terminal to clear it

  • @fuseteam

    @fuseteam

    5 жыл бұрын

    ooh thanks sakura

  • @jonspoonamore3721
    @jonspoonamore37215 жыл бұрын

    Question for the folks on here.... I have put LSD into my tool bag and I love it. But if you pipe output to LESS, you lose color. I've tried LESS with the "-r" option and issued "--color always" on LSD. Best I can get is the ANSI codes listed in LESS. Any suggestions? Is there a newer replacement for LESS?

  • @betafaccion2289

    @betafaccion2289

    5 жыл бұрын

    replacement for LESS: 'bat' also, can you confirm its outputting colors on pipe? try 'lsd --color always | cat -A' and see if it have ansi codes, if not maybe try '--color=always' (note the '=' syntax)

  • @jonspoonamore3721

    @jonspoonamore3721

    5 жыл бұрын

    @@betafaccion2289 Thanks for the reply. I've tried all that. It's a no go. The ANSI codes do list. That's the best I can get it to do. I'm currently on the look-out for a good Less replacement. I'll give "BAT" a try. I have found "MOST" so far. And I like it way better than "LESS". But, still no color.

  • @betafaccion2289

    @betafaccion2289

    5 жыл бұрын

    @@jonspoonamore3721 'bat' is one of the tools in what is becoming an informal 'modern unix standard tools', together with other reimaginations et reimplementations of old posix tools, mostly reimplemented in rust (giving better performance and better user and dev experience than the old ones in C), but keeping the common unix traditions and patterns. I listed some of the others tools in another comment here, I highly recommend all of those, as it does seem to be happening a convergence on them (check their stats on github and alike, the user count and the stability they are reaching is above of some passing novelty)

  • @jjbailey01
    @jjbailey015 жыл бұрын

    LSD on Linux is great and all... But have you ever had Linux on LSD?

  • @dragonboyjazz

    @dragonboyjazz

    5 жыл бұрын

    yes i have tried arch linux 😈

  • @pugpugpugs5382

    @pugpugpugs5382

    5 жыл бұрын

    @@dragonboyjazz did you enjoy your superiority?

  • @deathfromthekrypt

    @deathfromthekrypt

    5 жыл бұрын

    wish i could screenshot all the rainbows that come out from my polybar while tripping

  • @LimitedWard
    @LimitedWard5 жыл бұрын

    Is there a command which continuously runs ls and cd until you press ctrl-c?

  • @doktork3406

    @doktork3406

    5 жыл бұрын

    just make a sh scrips that continuously does LS and CLEAR this should do exactly what you want and it works on any linux too

  • @justanotherv
    @justanotherv3 жыл бұрын

    LSD on linux with unimatrix and a good playlist ain't bad either ;)

  • @nocdaynightcomputertelecom9834
    @nocdaynightcomputertelecom98345 жыл бұрын

    I am running ubuntu DESKTOP 18.04 LTS and used the snap syntax.. After it installed.. this is what i get...

  • @partypat2151
    @partypat21515 жыл бұрын

    exa and colorls are more popular than lsd. What's the difference lsd and the other two?

  • @jonajo261
    @jonajo2615 жыл бұрын

    Is there a dnf for fedora usser pls ?

  • @aristotelispapageorgiou4627
    @aristotelispapageorgiou46275 жыл бұрын

    the icons do not show in openbox

  • @VulcanOnWheels
    @VulcanOnWheels4 жыл бұрын

    How does it compare to exa?

  • @antoineleduc7611
    @antoineleduc76114 жыл бұрын

    I thought you could already set up colors with LS_COLORS for regular ls ? Depending on file type etc Maybe i was wrong ?

  • @doktork3406
    @doktork34065 жыл бұрын

    damn i just got some LSD it's so cool seeing so many colors now ;)

  • @balla2172
    @balla21725 жыл бұрын

    How did you get your terminal to look that way

  • @m3hdim3hdi

    @m3hdim3hdi

    5 жыл бұрын

    i want to know too

  • @MrScafir

    @MrScafir

    5 жыл бұрын

    @@m3hdim3hdi Looks like a theme from oh-my-zsh: github.com/robbyrussell/oh-my-zsh Oh-my-zsh is a framework for zsh (bash equivalent)

  • @m3hdim3hdi

    @m3hdim3hdi

    5 жыл бұрын

    @@MrScafir thanks bro

  • @arpitbharti6245

    @arpitbharti6245

    5 жыл бұрын

    Powerlevel 10k

  • @usptact
    @usptact5 жыл бұрын

    “ls” is all you need.

  • @GabeGinorio
    @GabeGinorio5 жыл бұрын

    Isn't LSD just a command line, shell based file manager like vifm or ranger?

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    LSD isn't a file manager. All it does is list contents of a directory. Vifm, ranger, mc, etc are proper file managers that let you navigate the directory structure, copy, delete, move, edit, and all the other stuff you would expect a file manager to handle.

  • @SimGunther

    @SimGunther

    5 жыл бұрын

    No, it's an 'ls' replacement with unicode characters next to the file name and the ability to view file trees with branches. Not sure if I'd use it considering how it doesn't change too much from ls, but I'm sure others would find it useful :)

  • @GabeGinorio

    @GabeGinorio

    5 жыл бұрын

    I bet you could build a file manager based on LSD.

  • @SimGunther

    @SimGunther

    5 жыл бұрын

    @Learn Linux There's also the 'tree' command, which is built into most distros.

  • @noahwilliams8918
    @noahwilliams89185 жыл бұрын

    I like this a lot! PS, it also works on macOS via HomeBrew :)

  • @DamjanDimitrioski
    @DamjanDimitrioski5 жыл бұрын

    Anyone experiencing this error: "cannot access '.': Permission denied (os error 13)", I installed lsd from snap on Ubuntu.

  • @DamjanDimitrioski

    @DamjanDimitrioski

    5 жыл бұрын

    I found the issue already posted on Github, the solution was: sudo snap install lsd --devmode, now it works.

  • @Booming-letsplays
    @Booming-letsplays5 жыл бұрын

    I am going to try this. Please dont call the police.

  • @clublulu399
    @clublulu3995 жыл бұрын

    I thought I read Linus on LSD. Damn.

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    Would explain a few things.

  • @ytuser0110
    @ytuser01103 жыл бұрын

    Well, I'm gonna look at linux on lsd.

  • @James-eg3nf
    @James-eg3nf5 жыл бұрын

    Just installed this on macOS. Schweet!

  • @user-hc8zr1tv4h
    @user-hc8zr1tv4h4 жыл бұрын

    Hey bro, how you install it on «Windows» tried 100 times but nothing? ʅ_(ツ)_ʃ I have WSL > Ubuntu 20.04

  • @AlgentAlbrahimi
    @AlgentAlbrahimi5 жыл бұрын

    Just installed it on my Manjaro Budgie, but unfortunally not working well.  Desktop  Downloads  Music  Public  Videos  Documents  Dropbox  Pictures  Templates The icons are not showing correctly.

  • @AlgentAlbrahimi

    @AlgentAlbrahimi

    5 жыл бұрын

    Installed nerd-fonts-termius, and now is working fine.

  • @penguin1714

    @penguin1714

    5 жыл бұрын

    @@AlgentAlbrahimi Can I ask how you installed these? On debian and I can't find a way to install it there.

  • @AlgentAlbrahimi

    @AlgentAlbrahimi

    5 жыл бұрын

    ​@@penguin1714You mean the fonts?

  • @retnikt1666
    @retnikt16665 жыл бұрын

    Don't typ e `clear`! Ctrl+L is your friend!

  • @VanStabHolme

    @VanStabHolme

    4 жыл бұрын

    I have tmux-vim-navigator so tmux simply assumes I want to go to the right pane, so I made that zsh types for me whenever I press :P

  • @NabekenProG87

    @NabekenProG87

    4 жыл бұрын

    Thx, I didn't know how much I needed this

  • @katech6020

    @katech6020

    3 жыл бұрын

    The difference is that "clear" clears all terminal output, Ctrl+L just scrolls to place your prompt on top.

  • @Tamercuba93
    @Tamercuba935 жыл бұрын

    Someone can tell me what terminal is he using ? Like, lsd is pretty good but this terminal, wtf is that, so amazing!

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    st. You can find my configs on GitLab: gitlab.com/dwt1/dotfiles

  • @MrYossarianuk
    @MrYossarianuk5 жыл бұрын

    Compiz (original) was like given your machine LSD

  • @fubaralakbar6800
    @fubaralakbar68005 жыл бұрын

    So, now we have Weboob and LSD...all we need is an "acdc" command, and Linux would have sex, drugs, and rock and roll!

  • @logangraham2956
    @logangraham29565 жыл бұрын

    interesting ... lsd --tree is very much like the tree command for windows cmd

  • @KiteAnton

    @KiteAnton

    5 жыл бұрын

    There is a tree package in Linux that does this as well, outputs similar to what shown in the video here with lsd --tree

  • @ertwro
    @ertwro5 жыл бұрын

    I tried lsd and exa but I'll stay with ls with ls_colors for now.

  • @yuvalm.5855
    @yuvalm.58555 жыл бұрын

    I also recommend "exa"! It's awesome too

  • @kjell159
    @kjell1595 жыл бұрын

    Lucy likes to spread her synesthetic love.

  • @gomad5842
    @gomad58425 жыл бұрын

    That is cool, but the icons aren't displayed properly in Ubuntu!

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    You need to install a font that can display those characters. The Nerd Fonts are a good choice.

  • @Rundik
    @Rundik5 жыл бұрын

    LSD on linux or linux on LSD?

  • @bartekr5198
    @bartekr51985 жыл бұрын

    Yeah.. LSD Linux and watch on them " Las Vegas Parano", "Trainspotting", "Requiem 4 a dream", "π", "Memento", "Natural Born Killers" ,"Pulp Fiction" :))) yeaaa...

  • @MrJackojc90
    @MrJackojc905 жыл бұрын

    Also check out "exa"

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    Will check it out. Thanks.

  • @MartinsTalbergs

    @MartinsTalbergs

    5 жыл бұрын

    yeah I used that - it didnt give glyphicons thou. Thanks for sharing lsd! Will use that now.

  • @betafaccion2289

    @betafaccion2289

    5 жыл бұрын

    ​@@MartinsTalbergs there is an open PR I'm using, maybe It will be accepted soon. But lsd does seem to be better on this, besides being out-of-the-box

  • @voiceoftreason1760
    @voiceoftreason17604 жыл бұрын

    on lsd v0.16.0 the -h option doesn't seem to work anymore and you have to use --help instead The tree command is really nice. However, I wish the feature could be added where you can specify a maximum depth level that gets displayed with -L, like the regular tree command has.

  • @nocdaynightcomputertelecom9834
    @nocdaynightcomputertelecom98345 жыл бұрын

    dennis@T7500:~$ lsd cannot access '.': Permission denied (os error 13) dennis@T7500:~$ sudo lsd cannot access '.': Permission denied (os error 13 above after snap install.

  • @ScottMorgan88

    @ScottMorgan88

    5 жыл бұрын

    Yes, me too on Ubuntu 18.04 :(

  • @simewn
    @simewn5 жыл бұрын

    Somehow youtube decided to unsubscribe me from the notifications :(

  • @alexandereisele785
    @alexandereisele7855 жыл бұрын

    Checkout "bat", a awesome "cat" alternative

  • @s.i.m.c.a

    @s.i.m.c.a

    5 жыл бұрын

    checkout windows, nice linux alternative xD

  • @inwerp
    @inwerp5 жыл бұрын

    So basically this makes console look like gui with icons.

  • @tungkirezaprasakti9511
    @tungkirezaprasakti95115 жыл бұрын

    What manjaro flavors is it?

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    Started life as Manjaro i3. Now with xmonad.

  • @tungkirezaprasakti9511

    @tungkirezaprasakti9511

    5 жыл бұрын

    @@DistroTube why though? is it better than i3?

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    Better? That's subjective. But for me, yes, I very much prefer xmonad to i3. But again, this is personal opinion.

  • @gosnooky
    @gosnooky5 жыл бұрын

    I just came here to say that I prefer Linux *on* LSD. I'll show myself out...

  • @DistroTube

    @DistroTube

    5 жыл бұрын

    :D

  • @fetteschimmel9396
    @fetteschimmel93965 жыл бұрын

    Linux gets misued. Traditionality is the keyword.

  • @nikoladd
    @nikoladd5 жыл бұрын

    lsd colorizes things

  • @tiefkluehlfeuer
    @tiefkluehlfeuer5 жыл бұрын

    lds -FaRt

  • 5 жыл бұрын

    ASTER ISK

  • @thebeastoffeasterpark
    @thebeastoffeasterpark Жыл бұрын

    I get my LSD from Mitch

  • @ArsenGaming
    @ArsenGaming5 жыл бұрын

    I made a new program (a wrapper for package managers, by default, apt): gitlab.com/moussaelianarsen/pak Licensed under GPLv3, written in Swift. The package manager can be changed from the config file. *Pacman requires a plugin I have not publicized yet because of its flag syntax.* If you need a plugin, just make a bash script translating apt syntax to pacman (e.g install runs pacman -S). If you want me to make it, msg me.

  • @ArsenGaming

    @ArsenGaming

    5 жыл бұрын

    I have added pacman, snap, and brew plugins to the page

  • @Harbonium
    @Harbonium5 жыл бұрын

    The icons are bugged on iTerm on Mac :/

  • @KitagumaIgen
    @KitagumaIgen5 жыл бұрын

    ?HUH? why not use ls --color=auto, put that into an alias for ls done. Up the level!

  • @adlsfreund

    @adlsfreund

    5 жыл бұрын

    That doesn't get you that slick subdirectory indenting though.

  • @MrHatoi

    @MrHatoi

    5 жыл бұрын

    There's a lot more than the colors in lsd...

  • @MrMrich69
    @MrMrich695 жыл бұрын

    "He was part of the free speech movement back in the 60s, personally between the two of us he did too much LDS." -- James T. Kirk

  • @Johnnyboycurtis
    @Johnnyboycurtis5 жыл бұрын

    lsd = ls + flare

  • @dariusduesentrieb
    @dariusduesentrieb5 жыл бұрын

    unicode ...

Келесі