Skip to main content

Questions tagged [bash]

Bash is a free shell for Unix-like operating systems from the GNU Project.

0 votes
1 answer
44 views

I have a folder ghostbusters/ and I'm working in that folder. ghostbusters$ ls -Alh egon/ peter/ ray/ winston/ I want to get a listing of all files within ghostbusters/ except for those within peter/....
Borea Deitz's user avatar
  • 1,299
0 votes
0 answers
41 views

I very frequently retrieve commands from my bash history (^R) and start modifying it to fit my current needs, but if I change my mind and break (^C) to cancel it altogether, whatever changes I made ...
leetbacoon's user avatar
6 votes
2 answers
146 views

Git Bash has the ability to press Tab to autocomplete a few things, such as file names, folder names, and a handful of git commands. Sometimes, I accidentally press Enter before pressing Tab, which ...
davidalayachew's user avatar
3 votes
1 answer
671 views

All three servers are RHEL8. When run locally, these commands run as expected: Node_A: $ find /var/log/postgresql -name '*log' -type f -size +4096c /var/log/postgresql/postgresql-2025-11-06_11.log /...
RonJohn's user avatar
  • 467
0 votes
0 answers
46 views

I own a tablet with a screen size of 1920x2560 pixels or 162x216 millimeters. To facilitate PDF reading and note taking in the margins, I would like to edit each page of a PDF in the following way: ...
Quappas's user avatar
  • 15
-1 votes
2 answers
58 views

I have the following folder dtructure: |-/dataa/dataA/Content1/*.txt |-/dataa/dataA/Content2/*.txt ... |-/dataz/dataZ/Content1/*.txt |-/dataz/dataZ/Content2/*.txt And I want to copy/move all the *....
khteh's user avatar
  • 101
0 votes
1 answer
121 views

I’m creating a custom Proton-based “Windows layer” (without Steam) to run .exe files directly on Linux. Running them from terminal works fine — but double-clicking via a .desktop launcher does nothing....
Julien Pablo's user avatar
1 vote
0 answers
37 views

When I run : $ env -i /bin/bash --norc @bash-5.2$ PS1='$ ' @$ There is an at sign (@) at the beginning of the prompt. This happened recently, in CMD windows and in Windows Terminal.
Philippe's user avatar
  • 230
1 vote
1 answer
31 views

I need to edit some Bash scripts, and would like to use tooling like shfmt, ShellCheck, etc. It would be nice to have that built into my editor, QTCreator. This is what bash-language-server is ...
Tyler Shellberg's user avatar
0 votes
1 answer
82 views

I tried to change the cursor position in the Linux terminal using, for example: echo -e "\e[16;45H" However, it did not work as expected. It only moved the cursor on lines and did not move ...
Sorenyt Mikelyt's user avatar
2 votes
2 answers
180 views

Please note that I have done some search and tried different solutions with sed/awk and nothing worked. I'm stuck, so I posted the question here requesting your help. Let’s say that there's a generic ...
Charles's user avatar
  • 21
2 votes
1 answer
81 views

bind -x '"\C-o":vifm' This opens vifm but then when I drop down to the shell by pressing o on my keyboard triggering nnoremap o :shell<CR>, I am not able to use the ctrl + o keyboard ...
wgm's user avatar
  • 21
3 votes
1 answer
95 views

I'm stress-testing a function in C++ that mostly works, but crashes on a rare occasion. So I have printf's all over it to catch the actual state at the moment that it fails. Of course, those printf'...
AaronD's user avatar
  • 221
0 votes
2 answers
135 views

I use mydumper to efficiently backup some huge mysql databases (400GB in 8 minutes). The tool creates roughly 900 files in a directory, each being one sql table, which all are zstd (or gzip) ...
Orsiris de Jong's user avatar
4 votes
4 answers
513 views

How can i grep two different match combination of the file names with filter. I want to retrieve all 'TP' and 'OS' files [present in the second qualifier] and for 'PM' type only select 11 and 34 [...
Karthik's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
796