How can I use "cp --sparse=always" in Mac? [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I just follow this page to build custom oracle linux machine image.
I want to use cp cp --sparse=always like Converting the VM Disk to a Machine Image of that page in my Mac. But, my Mac cannot recognize this option. How can I follow this step in my Mac?

I found out that cp in linux is same with gcp(GNU cp) in Mac.
I can run gcp --sparse=always in my Mac.
If you cannot run gcp in your mac, Please refer this page.

Related

why does wsl2 wslconfig file not working? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm running version 20H2 (OS Build 19042) on windows home edition, i built a linux kernel and im trying to set it up on my machine by configuring the .wslconfig file as follow:
[wsl2]
kernel=c:\\wslkernel\\bzImage
everything is at place according to the documentation - https://learn.microsoft.com/en-us/windows/wsl/wsl-config
any ideas what could have gone wrong?
turns out i was running wsl version 1 and not wsl2 - for the full thread on the issue:
https://github.com/microsoft/WSL/issues/6728

Where is nix.conf located when installed on OSX? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I installed nix on osx using this command:
$ sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
Following instructions here:
https://hydra.nixos.org/build/119559243/download/1/manual/#sect-macos-installation
I'm trying to build a project that uses the nix shell and it's telling me to edit something in a file called nix.conf. However the project documentation was setup using a linux or nixos distribution so not sure where this file is located on osx. (The docs say to look in /etc/nix/nix.conf, but this file doesn't exist in osx)
/etc/nix/nix.conf may not exist, you need to create it.

How to download BASH on Windows 8.1 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Currently, I am learning to use "BASH" and I don't know how to download it on my pc.
So it would be appreciated if someone lets me know how to download it on WINDOWS 8.1.
You have basically two choices.
Install Git for Windows. Git comes with its own bash.
Install the Windows Ubuntu sub system.
I prefer the Git bash approach because this also knows other Windows installed applications. The Ubuntu sub system acts more separated.
Have fun.

transferring files from vmware ubuntu to windows ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I just downloaded Ubuntu for Windows and want to start programming in this environment. Unfortunately, all the files and packages needed are on my VMWare Ubuntu. I found instructions to save all my configs and packages to move to another machine, but how do I move that folder to my Ubuntu on Windows?
You could enable folder sharing. The guide https://www.vmware.com/support/ws3/doc/ws32_running9.html is old (sorry I clicked on the first google hit) so search for a newer one. Also if your "Ubuntus" are running in GUI folder you could just send them to the cloud and pull it back down from the other machine.

Is it possible to copy files from one computer (which is remotely accessing another one through terminal) to the other one? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm using a Mac to remotely access a computer in my university's computer lab. The Mac serves as a terminal. If I need to transfer some files from my computer into the one in the lab, is it, firstly, possible? If yes, then please guide me to it.
Absolutely, use the UNIX / Linux command scp (secure copy):
$ scp user#server:directory/SourceFile TargetFile
Update based on OP's response:
$ scp path/to/my/file.txt user#server.com:/path/to/copy/to/file.txt

Resources