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

terminal

  1. 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?
  2. 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...
  3. 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...
  4. 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\...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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.
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. ilivenicely

    in Mac Terminal I receive: '{PATH}:/tools': not valid identifier

    Today I tried to run an ifconfig in my terminal and encountered this problem : Last login: Fri Apr 21 14:10:52 on ttys000 -bash: export: `{PATH}:/tools': not a valid identifier -bash: touch: command not found bogon:~ robertmccormick$ ifconfig -bash: ifconfig: command not found I've...
  15. LBattis

    Problem with Symlinks for Moving Mail Data Folders to an External Drive

    I am using the Terminal App in El Capitan 10.11.6 I have moved my, "Mail" and "Mail Downloads" Folders to the following locations: /Volumes/ST-Cuda-4T/AppleMail/Mail /Volumes/ST-Cuda-4T/AppleMail/Mail Downloads From the following location in the Terminal I have tried creating Symlinks...
  16. D

    Help remove Extra login screen at startup ? ? ?

    Hi All, My school installs an extra start up screen in the macbook and macbook air when you start the machine. the company logo comes up and you have to hit the enter key, then it goes into the regular start up user screen. Where you THEN pick a user and login name. HOW can I remove this first...
  17. C

    Login pw won't work; can't reset using recovery mode/terminal

    I have an iMac a couple of years old. Can't give any specs because I am locked out of it. I believe it is either el Capitan, not upgraded to Sierra. I tried to login recently using a valid password. I couldn't get in. After several tries, I got in but a Keychain Access message saying "System...
  18. M

    Ownership of Affected Disk error

    Hello... So I am trying to salvage an external drive that will not show up in the Finder or Disk Utility. It's a 3TB Seagate with FW800 and mini USB ports. I've tried multiple cables on multiple ports on multiple macs with multiple versions of OSX. No dice. It does seem to turn on when supplied...
  19. superparati

    Bootchamp - what are the other alternatives

    Hi, With my Nvidia GT 120 unrecognised it is time to find an alternative solution. If with El Capitan I was able to boot easily under Windows with the help of Bootchamp, today the same software doesn't work anymore under Sierra. The command line bless is not supported due to SIP as far as I...
  20. P

    SSH automatization

    Sorry for my bad english. But i neeed your help guys! I need to login via ssh to ubuntu servers, easy yeah? But I have some troubles: I need to log at 200 servers ... its possible manually but toooo long and boring here is my routine: 1) ssh -i "PathToKey/Key" ubuntu@serverAddress Its always...