All Questions
992
questions
2
votes
0
answers
116
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
705
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
542
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
136
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
598
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
549
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
535
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
439
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
462
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 ...