Comment by Kamil Maciorowski on How to specify an external source directory...
What exactly is wrong with cd? If you want to stay in the current directory then do everything in a subshell: (cd …&& qmake && make). Or do you want to build in the current directory...
View ArticleComment by Kamil Maciorowski on How to automate saving prompt history on csh...
"Normally, history is saved on exit, but this doesn't happen when the connection is lost." – First of all, are you sure the old csh has exited? My point is when an SSH connection is lost, the server...
View ArticleComment by Kamil Maciorowski on Why does the “du” command show different...
Are there hidden files (dot files) directly under dir4? Normally * does not match filenames starting with a dot.
View ArticleComment by Kamil Maciorowski on Discord thinks I am living in the future - why?
The question is "why?" and your answer does not answer it at all.
View ArticleAnswer by Kamil Maciorowski for How to efficiently view files returned from...
I use tmux and KDE. The two can be used as a foundation of what you want to do. Run this in a shell in tmux:tmux bind-key -T root C-MouseDown1Pane run-shell 'cd /proc/#{pane_pid}/cwd &&...
View ArticleComment by Kamil Maciorowski on How to change error behaviour of DVD-Drive?
"This drive just returns zeroes and no error when a sector can't be read." – If there is no error then how do you know the sector cannot be read? Maybe the sector just happens to be full of zeros and...
View ArticleAnswer by Kamil Maciorowski for Why I don't have a root privileges with suid...
Adding suid bit to bash is equivalent to running sudo bash, with root privileges.No. An executable with suid runs with effective user id 0 (root) and real user id of the invoking user. sudo executable...
View ArticleComment by Kamil Maciorowski on What's the idiomatic way to process input...
@Jeenu "a shame that the output of split has to go to a file, not stdout" – Stdout (whatever it is connected or redirected to) is a file. You probably mean multiple regular files vs a single pipe. If...
View ArticleComment by Kamil Maciorowski on I Lost My Instagram Password
Probably the cookie that allows your session to last does not contain the password. See this answer.
View ArticleComment by Kamil Maciorowski on Why does "tmux send-keys" behave differently...
Do you really want to send keys? Or do you want to run something? Sending keys is a very cumbersome way to run something in tmux. See the beginning of this answer; and maybe this one.
View ArticleComment by Kamil Maciorowski on How to get tmux to send the right char...
powerusers.codidact.com/posts/291531
View ArticleComment by Kamil Maciorowski on How to mount the /dev/md mount: you must...
What is the output of sudo file -skr /dev/md128?
View ArticleAnswer by Kamil Maciorowski for How would I send console output like an echo...
You used tmux send-keys to "type" commands into the interactive shells running in the tmux panes. Each shell behaved like any other interactive shell: it echoed (or let the line discipline echo) what...
View ArticleAnswer by Kamil Maciorowski for Why does "tmux send-keys" behave differently...
HypothesisWhy does tmux send-keys behave differently in a bash script?There is possibly a race condition. The script runs tmux send-keys … just after tmux new-session -d. When you type the commands in...
View ArticleComment by Kamil Maciorowski on How to clear 'Recent Files' history, without...
In my (newer) Dolphin there is the "Forget File" entry in the context menu. Isn't there such entry in your Dolphin?
View Article