Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

terminal

  1. angelhair0

    Left Cmd/Opt/Ctrl/Fn/Shift keys not working + start-up options not working in Terminal

    I have a multi-layered question here. My left side command, option, control, function, and shift keys do not work as of yesterday. It happened all of a sudden while working in Logic. Restarting didn't help, and I couldn't run many of the start-up options because of the keys not working. I...
  2. Dfanoe

    macOS I need help for a terminal script

    I really need help... I am NEW to this scripting, using terminal and whatnot, so please be patient :-). I have a list of filenames (currently with no file extension) in an Excel file and I need to copy those specific files from one folder to another. I tried using this script in Terminal...
  3. X

    macOS Disable kext for external optical mouse by terminal without causing kernel panic

    Hello everyone, I would like to know if there's a way to disconnect external mouse support on the MacOs High Sierra 10.13 for some testing purposes. The test needs to do 10 sleep cycles, leave the computer awake for 30s and sleep it by 60s. When the mouse is connected to the mac, by some...
  4. U

    calendar 'cal' is not displaying correctly

    Hello I have recently upgraded both my mac book pro and mac book air from Yosemite to High Sierra. And I noticed that when I open up a terminal and type in the 'cal' command to see calendar. The highlighted date is not displaying properly. Instead it looks like its surrounded by these brackets...
  5. U

    calendar 'cal' not displaying date properly

    Hello I have recently upgraded both my mac book pro and mac book air from Yosemite to High Sierra. And I noticed that when I open up a terminal and type in the 'cal' command to see calendar. The highlighted date is not displaying properly. Instead it looks like its surrounded by these brackets...
  6. organicCPU

    macOS shell - arrange images by inode numbers

    Overview: How can I edit the inode number (ls -i /path/to/file) of certain files after file creation on a FAT-32 filesystem? Why I'd like to do this: During the holiday season I encountered a problem with jpg images on USB flash drives showing up in some weird order on a Philips TV. After all...
  7. T

    Resolved umask type behavior on user connected by network sharing

    My network scanner is configured to drop files into a well defined location on my MacBook and it correctly drops files there. Trouble is the default umask value seems to be 077 which means that when it drops scans then I need to do a sudo'd chmod to give myself (or the wife) permissions to the...
  8. invincible-guy

    Safe to remove - .rnd and .CFUserTextEncoding

    As a cleanup routine, I remove files from ~/Library/Logs and ~/Library/Caches directory. I also remove ~/.Trash and ~/.DS_Store My question - Is it safe to remove ~/.rnd and ~/.CFUserTextEncoding? What are these files/folders for?
  9. H

    macOS NEWBIE needs help with terminal - Volume selection

    Hey everyone. I am currently trying to change the directory for my screendumps on my Macbook Pro 2011 Late running High Sierra. I am succesful in changing my directory on my SSD/main drive, but simply can't figure out how to change the default directory to my other volume - my old HDD. I am...
  10. H

    Saving Screendumps to another Volume

    Hey everyone. I am currently trying to change the directory for my screendumps on my Macbook Pro 2011 Late running High Sierra. I am succesful in changing my directory on my SSD/main drive, but simply can't figure out how to change the default directory to my other volume - my old HDD. I am...
  11. camelia

    Terminal command?

    Hi, I found somewhere the following terminal command and a keep it because It is useful, but I forgot to add the description of what it does, can someone please remind me what is its purpose? shasum /Volumes/Install\ macOS\ Sierra/Install\ macOS\...
  12. T

    Unable to open Zip file

    Hello fellow Mac users, I have a problem that I hope you folks can help me with or at least point me in the right direction. I'm sure this has come up a lot with mac users as I have done a lot of searching for answers. The problem is, non of the suggested solutions I have found have been...
  13. iKnowMr.Jobs

    Can't change ScreenShot location

    Good Evening. I've been experiencing issues in regard to chaining to location of where screen shots are saved on my machine. Previously, my settings were to have screenshots saved into a "Screenshots" folder within Dropbox. I wanted to change the location of the folder to go within my Documents...
  14. amagichnich

    Install OS X via Terminal

    Hey folks, I'm away from my home setup for a while but upgraded my new 12" 1.33 iBook to a SSD. Problem now is that I have no FW drive around, no USB stick and the DVD drive isn't working :D The only thing I have is a BlackBook, a 10.5 dmg and a FW cable. So I thought it should be possible to...
  15. simon lefisch

    Cannot Mount Linux SMB Share In macOS 10.12.6

    Hello everyone, I have a CentOS file server running SMB and I am unable to mount it in macOS using Terminal. I have ran the following commands and receive errors: $mount -t smbfs //username:password@server_ip/share\ name ~/local_dir mount_smbfs: URL parsing failed, please correct the URL and...
  16. D

    Why do I have a root level .Trash folder?

    I just noticed that there is a hidden .Trash folder at the root level of my hard drive which contains a few files from 2014. Why does this folder exist and how did the files get there? I understand that the normal .Trash folder is in the user's home directory.
  17. N

    External USB drive not mounting - Terminal help needed

    Hi guys I used the following terminal commands to stop MacOS automatically mounting an external USB drive... sudo pico /etc/fstab UUID=NUMBER none hfs rw,noauto Source: https://www.cnet.com/uk/how-to/how-to-prevent-a-volume-from-mounting-at-boot-in-os-x/# (The USB drive is attached to a...
  18. S

    Sudden motion detection support for HDD in data doubler on Macbook Pro?

    Hello everyone, I am new here on the forum and hope that I am posting this question in the right category since its mostly a terminal prompt/OS X question. I have a 2011 i7 Macbook Pro with a data doubler/HDD installed in the optical drive slot. My main drive in the original slot is an SSD. My...
  19. grahamperrin

    Recovery OS: nothing after quit from … Startup Disk

    I used Recovery OS Disk Utility to mount (unlock) a Core Storage encrypted volume, then Terminal to attempt HFS-to-APFS (no conversion). I can't recall whether the (Command-Q) quit from Terminal was preceded by Command-W closure of the window. I probably did exit before the quit. When I first...
  20. zed1291

    Reading/Writing Bootcamp Partition

    Prior to installing macOS 10.12.5 I had enabled reading AND writing my Bootcamp partition (formatted NTFS) with terminal. For those who aren't familiar sudo nano /etc/fstab [ENTER] LABEL=BOOTCAMP none ntfs rw,auto,nobrowse [control-o] [ENTER] [control-x] [ENTER] Then use "open /Volumes" to...