abbadon420@sh.itjust.works to Ask Lemmy@lemmy.world · 18 hours agoLinux question: I like to browse using ls. Than when I find what I'm looking for, I would like to directly move there with cd without having to retype the path. Is there an elegant solution for that?message-squaremessage-square19linkfedilinkarrow-up165arrow-down10file-text
arrow-up165arrow-down1message-squareLinux question: I like to browse using ls. Than when I find what I'm looking for, I would like to directly move there with cd without having to retype the path. Is there an elegant solution for that?abbadon420@sh.itjust.works to Ask Lemmy@lemmy.world · 18 hours agomessage-square19linkfedilinkfile-text
Maybe there is a tool that does that? Maybe I’m doing this all wrong and there is a different way I should browse?
minus-squareabbadon420@sh.itjust.worksOPlinkfedilinkarrow-up3·16 hours agoI had already found ctrl+a that brings me back to the front of the line. It’s bit more convenient for my hands than home.
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up3·16 hours agoI have a really strong muscle memory for Home so it’s super convenient to me, but ctrl+a sounds just as good.
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up2·13 hours agoMinor addition: I’ve had some shells where home will bring you back to the beginning of the current line, not the whole command. Ctrl+Home always brings you to the very start of the command if this applies to you
I had already found ctrl+a that brings me back to the front of the line. It’s bit more convenient for my hands than home.
I have a really strong muscle memory for Home so it’s super convenient to me, but ctrl+a sounds just as good.
Minor addition: I’ve had some shells where home will bring you back to the beginning of the current line, not the whole command.
Ctrl+Homealways brings you to the very start of the command if this applies to you