Category: macOS

  • macOS unzip files on terminal

    Hello readers,

    Today, we will learn how to unzip files on terminal or iTerm2.

    On this example, I got a few zip files from the internet, we will show how to unzip a library zip file.

    I used a folder called example for the instance workaround.

    How I done this workaround. I made these few steps on my iTerm2 second tab session.

    cd Downloads
    mkdir example
    pwd
    mv example1.zip example
    mv example2.zip example
    mv example3.zip example
    cd example
    unzip \*.zip
    ls
    rm -rf *.zip
    ls

    You need always to move the zip files into a directory to get this work.

    I chose Downloads folder to be easier to manage the example.

    I gave you the code inline to manage and the screenshots to become easier.

    Now, as you see we can always do those commands on the terminal or iTerm2 to unzip files.

  • how to build an ova for VB #2

    Hello readers,

    Today, we are going to deliver an export appliance with VB7. We have this VM software besides parallels 17.

    Choose File, Import Appliance

    Now, you will see the menu.

    Choose the file from the root HOME folder as I did before.

    You chose your file ova for FreeBSD. Click on Next

    You will see a Menu like this one. In the end, click Finish.

    Then finish. Wait a few minutes. After those minutes you can boot it.

  • How to build an ova on macOS VB

    Hello readers and followers,

    Today, we are going to learn how to build an ova from a FreeBSD 13 Virtual Machine.

    We are going to learn how to export an OVA on VB latest version. This version is the last one.

    As we see, we are going to work with the testing FreeBSD image.

    Choose export appliance.

    Then, choose Testing machine and click on next.

    Now leave it as it is.

    Now, click on finish.

    As we see is exporting the appliance. Take time.

    We will cover the import appliance in the next article.

  • ssh on macOS

    Hello readers and followers,

    We are going to learn today, how to manage ssh’ing Ubuntu LTS on a macOS environment.

    For this purpose, you should install ubuntu on Parallels and openssh-server.

    Remember the IP you enter on the ssh it’s shown here with ip a.

    The command works like this the ssh

    ssh user@ip -p 22

    eg: ssh user@10.211.55.18 -p 22

    Here we are showing my private IP for the machine.

  • Useful commands for macOS

    Hello readers and followers,

    Today we are going to learn useful commands for a daily purpose. These commands are the basics to learn UNIX/POSIX. We will learn how to manage our terminal application. You can test them on Linux too.

    For the cat filename.sh, you need to edit the file on a text editor and type:

    #!/usr/bin/sh

    echo “hello world”

    We done here a copy file, to explain how to remove a folder and a file.

    Now, we are going to learn rm -rf. This purpose command is to remove a folder. Before we learn how to remove a file from the hard disk drive.

    We are going to see how we can remove a folder.

    As we see here, you don’t have the folder anymore, it has been erased.

    Now, we are going to see more command.

    With more, you must type enter to see more files and folders. When it ends you should type q.

  • Useful commands for macOS

    Hello readers and followers at linkedin,

    Today, I will show a few useful commands for your zsh terminal. You can test them on iTerm or the terminal itself.

    • ls
    • when you type ls you can list the folder files even the folders inside of it.

    For instance, this command shows my $HOME directory.

    If you are a coder, you can use this helpful command. It’s called git. You can install it over brew.

    • brew install cmake git
    • I have shown cmake because it’s helpful for C/C++ projects under macOS.

    /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

    With this command, you can install them on your mac the brew command.

    • mkdir command is helpful to create directories.

    Now, we are going to see the cd command, this command can be helpful to switch directories.

    For last, the pwd command. I will release few articles about commands over here at coder by gleentech.

    With this command, you can see the location of the directory, where you are. In this example, you can see /Users/pedro/tests. This directory belongs to my file structure for example.

  • big sur on a unsupported Mac

    Hello readers,

    Today I am going to teach how to make a USB drive for big sure under an unsupported Mac like mine, MBP 2011.

    First of all, you must download or git clone the big sur patch.

    1)

    • git clone https://github.com/barrykn/big-sur-micropatcher

    2) Flash a pen with Apple GUID partition.

    Then you must download the opencore dmg for installation.

    3) https://github.com/dortania/OpenCore-Legacy-Patcher/releases, choose the latest version.

    4) Open the opencore patcher. You will see several options.

    5) Choose now, the first option. you will see several options for doing its task. You must in the end choose the hard disk, the right one, For me, I have two drives inside. I removed the SuperDrive and did the upgrades to wifi and Bluetooth devices.

    6) Now, you need to create macOS Installer. This option will download and build your USB.

    7) In the end, you will get a USB drive. Remember to disable FileVault first. With that, we cannot upgrade. I did the same to myself.

    8) In the end boot the pen derive and all set. We just need an upgrade to the kexts for the system. We must on the pen terminal, do this command:

    • sudo /Volumes/name_of_the_drive/Downloads/name_of_the_patcher/payloads/patch_kexts.sh /Volume/name_of_the_drive

    If is there any questions, I can explain.

coder by Gleentech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.