Quantcast
Channel: User Kamil Maciorowski - Super User
Browsing all 656 articles
Browse latest View live

Comment by Kamil Maciorowski on Unable to mount disk image after creating in...

"I specified 4096 when using mount" – Not really. You specified the offset as 1074790400. My point is mount is not able to tell if you used $((4096*262400)) or $((512*2099200)) or e.g....

View Article


Comment by Kamil Maciorowski on "find" command does not find all files from...

What is the output of ls -ld /opt/atlassian/jira? Note the lack of trailing slash.

View Article


Comment by Kamil Maciorowski on How to extract a text in between two patterns...

"grep is invoked two times, which may be considered suboptimal" – I can see from this answer there is an elegant way with one grep, still in general there is no guarantee that one grep performs better...

View Article

Comment by Kamil Maciorowski on How to permanantly disable CHKDSK

"I am sure that the harddrives are okay and it's not faulty" -- OK, but the need for chkdsk indicates that the filesystem(s) keep going corrupt (or at least "not as well as they should be"). It's a...

View Article

Comment by Kamil Maciorowski on USB became read-only after using dd to flash...

"However, the write access is lost every time I reboot my laptop, and the USB drive reverts to read-only mode." – Does it remember the changes you made to the content? It's very likely the controller...

View Article


Comment by Kamil Maciorowski on How to make SSH more sensible to failures?

"process is running, but connection is lost" –{Client,Server}Alive{Interval,CountMax} will probably help.

View Article

Comment by Kamil Maciorowski on Store output of command history

script. There is probably a duplicate question here somewhere, but searching is hard due to the legion of questions about shell scripts. Does this answer your question? Terminal output history?

View Article

Answer by Kamil Maciorowski for SOX do not want name files

From man 1 sox [emphasis mine]:SoX […] has limited ability to split the input into multiple output files.[…]SoX's default behaviour is to take one or more input files and write them to a single output...

View Article


Answer by Kamil Maciorowski for ls -ltr on the terminal lists the files but...

What am I doing wrong?Several things that are rather common bugs when you are "new to Bash".In echo \"$line\" the double-quotes are escaped, not special, they get to the output and $line is unquoted,...

View Article


Answer by Kamil Maciorowski for In `find`, after using a test like `-type d`,...

If your find is GNU find then it supports -true which always evaluates as true and -false which always evaluates as false. Then this is what you can do:# with GNU findfind . -type d -exec echo DIR: \;...

View Article

Answer by Kamil Maciorowski for Is there a quick way to reclaim space...

Is there a better way to clean it up than writing a script with truncate and running it over the whole system?Write a short command with truncate and run it over whatever you want. This example will...

View Article

Image may be NSFW.
Clik here to view.

Answer by Kamil Maciorowski for Replacing a color using -transparency...

...but the additional calls to -transparent with varying levels of opacity don't seem to be having any additional effect.In rgba(R,G,B,A) the A is from 0 (fully transparent) to 1 (fully opaque), not...

View Article

Comment by Kamil Maciorowski on Systemd timer service does not execute my script

I’m voting to close this question because the OP admitted the problem was in the (undisclosed) script. Questions describing a problem that can't be reproduced are off-topic as they are unlikely to help...

View Article


Comment by Kamil Maciorowski on WSL can't run any exe files after I added...

"… after I added … to wsl config" – The obvious fix is to revert this change. If you tell us what you were trying to achieve by making the change in the first place, maybe we will be able to give you a...

View Article

Comment by Kamil Maciorowski on How to directly save video from camera (of...

cat>/volume1/dir1/dir2/ will never work because the trailing slash in /volume1/dir1/dir2/ indicates this has to resolve to a file of the type directory. You cannot redirect a stream of bytes to a...

View Article


Comment by Kamil Maciorowski on Run a command, immediately return to the...

Does this answer your question? Preventing bash from displaying "Done" when a background command finishes executing . It's for Bash, but the solutions should work in Zsh as well.

View Article

Comment by Kamil Maciorowski on Using stdin for tar files content

"completely in memory" – tmpfs is in memory. Create files there and proceed normally.

View Article


Comment by Kamil Maciorowski on Is there a way to reserve bandwidth for ssh...

I totally don't know ollama pull. Does it pass the job to some background downloader and return immediately? If not, i.e. if it downloads in the foreground, then it's normal you cannot interact with...

View Article

Comment by Kamil Maciorowski on Outbound connections blocked by the ghost of...

(1) "during the full period of a RPi reboot" – So the problem does survive reboots, right? This should be clearly stated. (2) "I have run grep against every file in /etc/ and all its sub directories" –...

View Article

Comment by Kamil Maciorowski on The Hydra tool is not checking the entire...

I have no experience with this whatsoever, but maybe the target server recognizes many unsuccessful tries in such short time as an attack. Maybe it temporarily disallows access for the attacker (i.e....

View Article
Browsing all 656 articles
Browse latest View live