can i reduce the path i see to last two directories without playing in bash file just a command that reduces it optionally? [duplicate]

This question already has an answer here: How can I shorten my command line (bash) prompt? 6 answers sometimes while working with terminal I see a long directory like this how can I optionally reduces it to last two or last one with a bash command without` playing in bashrc file

Details

How to execute applications on the desktop on Linux Mint install ? (Double clicking doesn’t work – Install USB) [closed]

I downloaded Linux Mint Xfce 64-bit, copied it to a USB drive, rebooted, got the Linux desktop screen with an installation icon. I can’t get the application to run. I also can’t get the Firefox icon to run. “Tapping” on my mouse doesn’t work, so I have to use the buttons (I assume that can…

Details

“borrowed value does not live long enough” after implementing Drop trait

Being new to rust I wanted to play with some data structures and ended up with something like a node type without payload. use std::cell::RefCell; use std::collections::HashMap; use std::ops::Drop; #[derive(Debug)] struct Container<‘a> { next : Option<&’a RefCell<Container<‘a>>>, } impl<‘a> Container<‘a> { fn new() -> Container<‘a> { Container { next: None } } fn set(&mut self,…

Details