User Tools

Site Tools


Sidebar

Action disabled: revisions
hardwarerelated:mac_notes

macOS X

  • Japanese input method switching: after first start, Macos does the first setup - configure then Japanese and English. Later, to change to Japanese input press the かな-key (right from space bar) and the 英文-key left of the space bar for English input.

Software

Small rosetta stone

There are manpages for the commands…

function macosx 10.4.x linux
cronjobs at,cron,launchd.plist(5)at,cron
starterprocess launchd init
configure startlaunchctl,service vi /etc/inittab, /etc/rc* /etc/init.d/*
os-verion uname, sw_vers uname, /etc/issue, /etc/redhat-release etc.
hardwareinfo ioreg, system_profiler,sysctlhwinfo, dmidecode, dmesg
cd/dvd burning/servicedrutil, hdid, hdiutil cdrecord, wodim, eject
cpuinfo hostinfo, hwprefs cat /proc/cpuinfo /proc/*
waking/sleeping pmset acpid, cpufreqd
softwaremanagement softwareupdate, lsbom,installerapt-get, dpkg, rpm, yum, emerge
performanceanalysis vm_stat, fs_usage, top vmstat, top, free
syscallanalysis ktrace strace
inspect libs/bins otool, sample ldd, file
networkprofiles configd, scutil, scselect distrodependent
nsswitch config DirectoryService /etc/nsswitch.conf /etc/ldap.conf …
nsswitch client dscl getent hosts, getent passwd
access kernelparams sysctl sysctl
partitionmanagement diskutil fdisk, mkfs, mdadm, mount
dns-cacher + access lookupd nscd, nslookup
documentconverting pstopdf, sips pstopdf, imagemagick
zeroconf mDNS avahi-discover
interface clipboard pbcopy, pbpaste
file with gui-app open <file>

Linux on Apple silicon

Installing Fedora as KVM guest

virsh destroy   fed36          2>/dev/null
virsh undefine  fed36 --nvram  2>/dev/null
qemu-img create -f qcow2 /tmp/tvm_fed36.qcow2 72G
virt-install -n fed36 -r 4096 --vcpus 4 \
    --disk path=/tmp/tvm_fed36.qcow2,format=qcow2,bus=virtio,cache=unsafe \
    --location http://ftp.iij.ad.jp/pub/linux/Fedora/fedora/linux/releases/36/Everything/aarch64/os/ \
    --graphics vnc --os-variant fedora35 \
    --network bridge=virbr0,model=virtio \
    --extra-args "ip=192.168.122.5::192.168.122.1:255.255.255.0:fed36:enp1s0:none nameserver=8.8.8.8"
hardwarerelated/mac_notes.txt · Last modified: 2022/05/28 13:29 by chris