I think it’s please It’s like asking my dear computer to do something…
For me the bash completion with pressing TAB was a thing that changed everything. I wish I would’ve known that before YouTube came. Saw one video where someone just used it and I was wondering how to do it. Like if you have a long file name you need to unzip. Earlier I typed the full name but now I use TAB with all commands. It also helps to notice if there’s a typo. The bash completion won’t work if you have a typo. Like if you write ‘sduo dd if’ and press TAB nothing happens because of the typo.
I use “sudo -i” - interactive super user session - I see a lot of colleagues instead type “sudo su” or “sudo su -” (to load root’s profile) - I don’t understand if there is a difference - but “sudo -i” is less keystrokes… And I usually invariably have “x ALL=NOPASSWD: ALL” in my sudoers… In “sudo -i” I get root’s shell, profile and shell history… I always leave “root” with the default shell (i.e. usually bash).
I’m constantly doing “sudo !!” - e.g. when I try to rm a file on my NAS (in my shell on the NAS : FreeBSD zsh) but I don’t have permission…
I never used to use it - but - I do all the time these days (since last 10 years or so?) - and shell completion is even more “betterer” in zsh than it is in bash… And it’s often smart enough to look through apt for a package name “sudo apt install gnome-[TAB]” will show the packages with “gnome-” in the name… and it will even pre-emptively read /etc/hosts and ~/.ssh/config - so “ssh BLAH[TAB]” will find hosts with “BLAH” in my ssh config file and/or /etc/hosts file…
Cant use that. I tried… it messes my typing.
Completion in firefox is a real pain, especially with file://…
I have had to install another browser just to be able to look at an html file
Old habits… For me it was a blessing to find out. Especially with the file names with version numbers like 6.4-r2… like when manually removing kernel/initramfs you can write rm vm tab, and add first number (or two) and again press tab to get the vmlinuz-x.x.x file removed. I don’t like to use * when using rm.
I only use Firefox and have no issues with file://
It’s just those things that you are used to or not.
I have never seen those (is this) in root. I think ~/.bash_profile is the right place for these files. I’m not on my computer at the moment but will check where they are later.
I don’t think the .bash_history file is updated live. It updates that when you exit your session. These are probably created to use until you exit. Maybe you have many stranded SSH sessions?
Yes, I do save sessions in Xfce… only one session… the state when I logout.
I do have about 10 terminal windows spread over 4 workspaces… it session saves all of them.
There are more than 10 of those .bash_history.nnnn.tmp files
I will do an experiment… turn off session save.
It seems you can configure things to improve the situation, but it is really messy.
The shell history mechanism has never moved out of the days of a single console terminal with no windows.
That is for archiving history after a terminal is closed.
While a terminal is open, it uses the .bash_historynnnnn.tmp files, and that works fine…each active terminal has its history accessible.
It is only if you close a terminal, then want its history, that the system falls over.
I might ask Jimmy(@Akatama )if his Atuin history database copes with multiple terminals
Personally, I’m (almost) 16 years old too @TypeHrishi, it’s been 3.5 years since I had my first computer, 2 since I discovered GNU-Linux because the windaube taskbar (pun intended untranslatable French meaning windows=daube, the pronunciations are close) I didn’t like it . But GNU-Linux is infinitely more customizable than Windows…
Finally, if today I use Fedora 41 Workstation (GNOME vanilla), it is as much for the customization possibilities of GNOME, as for the lightness of GNU-Linux, the free software…
@ihasama I have a problem similar to yours: convincing my little brothers to install Linux on “their” chromebook (which they only partially paid to replace the computer they had demolished during an epic fight…), compatible with chrultrabook.
That is indeed one of the main advantages of Linux.
I would like to say that we appreciate the efforts to participate, by people for whom English is not their first language. We also appreciate hearing from young people.
Keep at it, you are doing well.