Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Super User

Questions tagged [bash]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
580 views

I want to count the number of files and folders contained within a given root folder, potentially excluding certain subfolders. According to this accepted answer, the basic structure of the command ...
0 votes
1 answer
54 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,339
0 votes
0 answers
43 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 ...
6 votes
2 answers
152 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 ...
3 votes
1 answer
676 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 /...
0 votes
0 answers
52 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: ...
-1 votes
2 answers
65 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 *....
0 votes
1 answer
123 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....
1 vote
0 answers
39 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
36 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 ...
0 votes
1 answer
89 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 ...
2 votes
2 answers
183 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 ...
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
96 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'...
0 votes
2 answers
138 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) ...

15 30 50 per page
1
2 3 4 5
...
796

AltStyle によって変換されたページ (->オリジナル) /