All Questions
991
questions
0
votes
0
answers
128
views
how to downgrade the vmware file
I am running the vmware version suitable for macOS high sierra.
But the file created to run the linux is in the higher version of the vmware software and this is not getting compatible.
How should I ...
3
votes
1
answer
927
views
M1 MacBook Pro can't join Linux hotspot when other devices can
On a laptop running Linux Mint, I can run these commands to stand up a WiFi hotspot:
nmcli con add type wifi ifname [interface name] con-name test_ssid autoconnect yes ssid test_ssid
nmcli con modify ...
0
votes
2
answers
2k
views
How to convert a .wav file to .m4a without adding any leading/trailing silence?
The short question is: How do you convert a .wav file to .m4a without having any leading or trailing silence added to the output? The file is supposed to be played in an endless loop, where even a ...
1
vote
1
answer
1k
views
File encrypted with OpenSSL cannot be decrypted with LibreSSL
I've used OpenSSL on an Amazon Linux 2 VM to encrypt a file like so:
openssl aes-256-cbc -salt -out ~/my_file.txt.enc -pass pass:[redacted]
However when decrypting the file on OSX using the command ...
0
votes
2
answers
278
views
SSH login@ip@gateway through config+VSCode
I can successfully connect from my macbook+VPN to my corporative cloud server through ssh with this command (passwordless, using my id_ed25519 key):
ssh login@ip@gateway -A
But I need to connect to ...
2
votes
1
answer
684
views
Sort files into folders by file name according to a spreadsheet of names
I am a teacher and use Canvas-LMS for my course. The course is broken into smaller groups led by individual teaching assistants, who grade student assignments in their own section. Canvas only ...
1
vote
0
answers
47
views
How do I figure out why one host is so slow writing to another host on LAN?
I have 3 devices on my LAN, all using wired connections:
MacBook Air
Lenovo ThinkCentre (running Ubuntu Server 22.04)
Raspberry Pi
I am using the ThinkCentre as a home server, and want to write ...
0
votes
1
answer
358
views
I've uninstalled FFMpeg, but it still exists when I type "ff" + Tab in terminal window
➜ ~ brew uninstall ffmpeg
Uninstalling /opt/homebrew/Cellar/ffmpeg/4.4.1... (276 files, 48.2MB)
➜ ~ ffmpeg
ffmpeg:55: command not found: .mp4
➜ ~ which ffmpeg
ffmpeg () {
.mp4
}
➜ ~ ...
3
votes
1
answer
533
views
File dates copied with "cp -p" are set to "now"
I'm using my Mac to try to copy the content of a smartphone's SD card to a larger card. Because I don't want all the pictures to get new creation dates I used the --preserve option like this:
cp -pr /...
0
votes
1
answer
551
views
BASH - combine .md files from subdirectories into a master .md
We have a growing list of subdirectories and we would like to summarize the content in each with a .txt or .md file. We would then like to consolidate those readmes into a single master readme. We ...
0
votes
0
answers
38
views
How to recover files from macOS after accidentally overwriting it with Linux> [duplicate]
I'm not a kid (this is an alt account with a different email. I forgot the other password of @adamgewely)
But I accidentally replaced macOS with Linux! I had important files there. Thinking it was on ...
0
votes
1
answer
150
views
Unable to ping VirtualBox host only interface
On my macOS Monterrey machine I am running Ubuntu as guest on VirtualBox 6.1.30 r148432. In VirtualBox I've enabled the host-only adapter, and I see interface vboxnet0 on macOS:
ifconfig vboxnet0
...
0
votes
1
answer
224
views
How do I access a second paritition of a linux sd
I'm having trouble finding a useful answer about this. But basically I need to edit a file manually (because I broke networking). I pulled out the sd card of my raspberry pi and injected it into my ...
3
votes
1
answer
257
views
How to get unison to back up an entire file system starting at /?
I'm using unison 2.52.1 both on my linux machine (Ubuntu version 20.04) and my Mac (MacOS version 11.7).
I want to use unison to back up my entire linux filesystem (excluding a few specific ...
0
votes
0
answers
609
views
Why is VNC so slow?
I connect from the TigerVNC client on MacOS to an x11vnc server running on Linux.
When the connection speed is 6 Mbps on the client side and 100 Mbps on the server side it takes 7+ seconds to update ...
2
votes
0
answers
118
views
How to source from stdout for both Linux and macOS?
On Linux I can do:
source <(cat .env | grep ANDROID_GRADLE_TASK)
But on macOS, this doesn't do anything (no error, and no source)
What can I use for macOS?
Is there a command that works both on ...
0
votes
1
answer
712
views
"echo $VAR | base64 -di > file" fail to execute on MacOS
On Linux I can do:
echo ${ANDROID_KEYSTORE} | base64 -di > android/keystores/staging.keystore
But on MacOS, the same commands gives:
base64: option requires an argument -- i
Usage: base64 [-hvDd] ...
2
votes
1
answer
556
views
Linux - Show unsaved applications before shutting down
When you shut down a macOS system, it asks applications to exit one by one, and the system will not shut down unless all applications agree to exit (aka. there is no unsaved work) or until they are ...
0
votes
0
answers
139
views
rEFInd no longer sees MacOS after using Gparted in Linux
rEFInd was working fine. High Sierra was the only OS on my MBP 2015. Here's what happened:
Booted into MacOS
Used Disk Util (gui) to shrink the boot disk so that I could install Linux Mint 21 onto ...
1
vote
2
answers
605
views
Could someone execute commands on my netcat server/listener?
TLDR
Someone has connected to my netcat server and tried to execute a command. Is it possible they have done any harm to me/my computer/my network?
Detailed story
I've been learning about networking ...
0
votes
0
answers
555
views
Uninstall rEFInd and remove linux partition
A couple years ago I added a Linux partition to my Mac laptop. I also installed rEFInd to manage my partitions. Now, I'd like to remove that partition, and uninstall rEFInd. However, Disk Utility does ...
0
votes
2
answers
21k
views
How to use ls command to show all the files including hidden files, but not showing the files named '.' and '..'
The working directories contains several subdirectories, and each subdirectory contains some hidden files that start with ..
How could I use the ls command to display all the files including the ...
0
votes
1
answer
2k
views
Create APFS/HFS+ partition on Linux and share it via network
I want to store all my files and documents on a local server at my home instead locally on a single PC.
Now I'm wondering if it's possible to create a APFS or HFS+ partition on a Linux system (like ...
0
votes
0
answers
25
views
How can I delete a "content" box in a serially converted .odp file without LibreOffice Impress automatically resizing the "title" box
I have a .odp file with a single slide (representing a poster) that started life as "Title and 4 Content." The "Title" box has been resized, and the internal formatting changed. ...
0
votes
1
answer
545
views
Two users (admin + non-admin) what is the right usage of su/sudo?
I have two users on a macos. U1 is a non-admin user and U2 is a admin user.
I cannot add U1 to the sudoers. Is there a way to use U2 to act as if it was U1 issuing sudo <command>?
My thinking:
...
0
votes
2
answers
441
views
Why do some FAT32 / ExFAT formatted USB pen drives only work in Windows?
I've come across several USB drives that don't work in Mac computers at all (I've tested on 3 Mac computers, so it's not a problem with the USB ports in a particular Mac machine). No drive appears in ...
2
votes
1
answer
2k
views
Can you tag a file with metadata and later search for files by metadata?
I would like to tag generated files with generated: true. Then later I'd like to find and remove all generated files rm -rf ....
Right now I'm including generated in the filename filename.generated.go ...
1
vote
2
answers
466
views
Unzipping a .crx file on Raspbian does not work, works on macOS though
I am trying to unzip a Chrome extension CRX file (which I understand are basically ZIP files) on a Raspberry Pi:
$ unzip -u -q cjpalhdlnbpafiamejdnhcphjbkeiagm.crx
warning [...
0
votes
4
answers
1k
views
Why OS(s) take so much memory. Are they fully optimised?
Mac Os eating more than 3.5 GB's of Ram:
I have seen windows and mac os taking about 3-4 GB of ram space even in cleaned PC with no apps opened.
Can't developers further optimise operating systems to ...
0
votes
1
answer
91
views
How to go to N-th file as described in the man file for less [duplicate]
I love using less to browse files. I often like to move through multiple files.
In the man file it says that one can move N files forward:
:n Examine the next file (from the list of files given in ...