I'm using Mac OS X (High Sierra) and would like to run FTP from the command line (as opposed to a client with a GUI).  Unfortunately, I don't seem to have it installed ...  localhost:myproject davea$ ftp -bash: ftp: command not found   and when I tried to install using "brew install ftp" I got the following error ...  Error: No available formula with the name "ftp" ==&gt; Searching for a previously deleted formula... Warning: homebrew/core is shallow clone. To get complete history run:   git -C "$(brew --repo homebrew/core)" fetch --unshallow  Error: No previously deleted formula found. ==&gt; Searching for similarly named formulae... ==&gt; Searching local taps... These similarly named formulae were found: bbftp-client      curlftpfs         git-ftp           lftp              ncftp             proftpd           pure-ftpd         swiftplate        uberftp           uftp              vsftpd To install one of them, run (for example):   brew install bbftp-client ==&gt; Searching taps... ==&gt; Searching taps on GitHub... Error: No formulae found in taps.   How do I install a command line FTP client on my mac?
7718
There are  with not having ftp and telnet present in 10.13 now as per Apple's dictate.  Has anyone found a solid way to bring BSD ftp and telnet back to macOS vs using inetutils?
115863
I'm trying to install brew but get the following warning:  Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. The following tools exist at both paths:  2to3 2to3-2.7 idle idle2.7 pydoc pydoc2.7 python python-config python2.7 python2.7-config pythonw pythonw2.7 smtpd.py smtpd2.7.py  Consider amending your PATH so that /usr/local/bin is ahead of /usr/bin in your PATH.   I have no idea how to amend the path.  I've explored several files from this stack overflow post (http://stackoverflow.com/questions/8886114/using-brew-with-ruby-1-9-2), but can't find a relevan path to edit.  The only file that I do have that exists is my /etc/profile file which currently looks like:  # Setting PATH for Python 2.7 # The orginal version is saved in .bash_profile.pysave     PATH="/Library/Frameworks/Python.framework/Versions/2.7/local/bin:${PATH}" export PATH   I wanted to just uninstall python then reinstall it through homebrew, but am a little nervous about breaking too many things at once.  Is there an easy way to amend the path?  Should I create a .bash_profile file?  Thank you for any help in advance.
104165
I'd like to know if there's a way I could package compiled command line tools together as part of an automator script or an app.   Let's say, for example, I want to use a command line tool called foo and this relies on jpeglib and a few other libs. Am I able to put them in the same folder and somehow pipe this new $PATH to the foo app?  The reason I want to do this is that a client requires something that I usually use a bash script for. In order for them to do the same thing they'd need to installed XCode (to get the gcc compiler) and install the command line tools (through macports, fink, etc...) and of course that's hassle.
67800
I am trying to automate these steps so that I don't need to do this on every machines manually. I need to install latest app server software (abc.tar.gz) on all the unix boxes.  I need to do this in around 12 machines - "machine1" ... "machine12". I have a master machine "machine0" which has abc.tar.gz file so I was thinking to run my script from this machine only and install abc.tar.gz software by following below steps in all those 12 machines one by one. My unix account id is david and my process runs as golden user.  This is the steps I follow if I am installing abc.tar.gz in "machine1":  david@machine1:~$ sudo scp david@machine0:/home/david/abc.tar.gz . david@machine1:~$ sudo stop test_server david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ rm -rf * golden@machine1:/opt/process$ exit david@machine1:~$ sudo cp abc.tar.gz /opt/process david@machine1:~$ sudo chown -R golden /opt/process david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ tar -xvzf abc.tar.gz golden@machine1:/opt/process$ exit david@machine1:~$ sudo start test_server   How can I automate this so that it can do the same steps in all 12 machines one bye one? I mean install abc.tar.gz in machine1 first, then install on machine2 and go on..  I want to run this script from machine0 only.  Is there any way to automate this?
115643
If I just use basename {} .txt, it will work:  find . -iname "*.txt" -exec basename {} .txt \;   It will just print xxx instead of ./xxx.txt  if I want use $(basename {} .txt) in the -exec option, it will fail:  find . -iname "*.txt" -exec echo "$(basename {} .txt)" \;   It will just print ./xxx.txt  How can I solve this problem? I hope I can use $(basename {} .txt) as parameters for other cmd. Do I have to do sh -c or pipe -exec basename {} \; with xargs?
42132
I’m using Mac OS X Yosemite and I want to be able to open Sublime Text 2 from the terminal with a command like this:  sublime .   I’ve typed this into terminal   ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/sublime   And also this variant:  ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime   In the terminal, if I type in:  echo $PATH   I get:  /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin   I’ve tried editing my .bash_profile, right now it’s blank  After all this, I try sublime . and get the following error:     -bash: sublime: command not found   I’m completely new to Mac OS X, and terminal configuration, and am really struggling to figure out why I can't get it to work so any help would be appreciated.
61098
My Question is seemingly simple. I need to mount an SSH/SFTP volume and make it visible in finder to be able to use it as if it were a local volume (think SMB share). I have tried everything I could find (MacFUSE + sshfs (whatever version), Macfusion (couldn't install),...).  Is there anyway to do this seemingly simple thing? It feels like I'm missing something here. Also, I'm not looking for an SFTP client for download/upload. My personal machine is an Ubuntu box, and that's easily doable on that.
91386
I am running the installation of ClipBucket and I have installed ffmpeg. I rerun the installation to refresh the requirements and it continues to show:  Unable to find ffmpeg   If I do a find of ffmpeg, I find it though:  :~$ sudo find / -type f -name "ffmpeg" /opt/ffmpeg/bin/ffmpeg   I am using Ubuntu 14.04.4 LTS with Plesk. Do I need to do something with Plesk for this to be seen by the web page?  I am not a pro when it comes to Ubuntu so I'm not sure where to look not or what to do.
85505
Whenever I use Homebrew or Apple Store to download a large application, it sucks all my available bandwidth and I am then unable to browse the web.  How can limit the bandwidth per-application or per-process in OS X Yosemite (command line preferred, but GUI apps accepted)?  I've played a bit with  application, which suggested I use ALF firewall, but I don't know how to set it up.
83219
I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything.  mba:~ cnst$ sudo port install wget Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. ---&gt;  Computing dependencies for wgetError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? mba:~ cnst$   And, indeed, there is no make or clang in the path, but it is definitely installed, though:  mba:~ cnst$ find /Applications -name "clang" -or -name "make" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang /Applications/Xcode.app/Contents/Developer/usr/bin/make mba:~ cnst$   Why is there no make or clang in the path?  Why MacPorts doesn't work?  I notice that  mentions that you have to install something from ADC, Apple Command Line Developer Tools, but ADC doesn't work since last Thursday or Friday due to their security breach, so, the developer tools are nowhere to be found.  What's the proper solution here?
55478
I recently purchased a MacBook Pro 13&quot; with the M1 chip and transferred all my data over using a Time Machine backup. Homebrew packages are currently installed in /usr/local/opt/ but it is my understanding that they should be under /opt/homebrew for Apple Silicon Macs. How can I:  Get the list of packages I currently have installed Remove those from /user/local/opt Reinstall them under /opt/homebrew  I kind of assumed Homebrew would be clever enough to do this automatically but apparently it needs some manual maintenance. Here's my Homebrew config if it helps: HOMEBREW_VERSION: 2.7.2 ORIGIN: https://github.com/Homebrew/brew HEAD: dad7dc6a1498b80770d98f2d7cd6fb927c300bbb Last commit: 3 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 2b1d79d038bffdbfcee93283051d48919a4caf3d Core tap last commit: 16 hours ago Core tap branch: master HOMEBREW_PREFIX: /usr/local HOMEBREW_REPOSITORY: /usr/local/Homebrew HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 2.6.3 =&gt; /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: octa-core 64-bit arm_firestorm_icestorm Clang: 12.0 build 1200 Git: 2.30.0 =&gt; /usr/local/bin/git Curl: 7.64.1 =&gt; /usr/bin/curl macOS: 11.1-arm64 CLT: 12.3.0.0.1.1607026830 Xcode: N/A Rosetta 2: false  Thanks in advance!
3229
I am trying to setup a bunch of development projects in my Mac. I have to run various tools like python, ruby, scala, groovy etc.  To see if a tool is available I use options like   ruby --version.    Instead I would like to see all the list of tools available in Mac terminal via a single command. What is the command/options for it?
25504
I got a mail from GitHub:     You recently used a password to access an endpoint through the GitHub   API using Homebrew/2.2.2 (Macintosh; Intel Mac OS X 10.15.2)   curl/7.64.1. We will deprecate basic authentication using password to   this endpoint soon:            We recommend using a personal access token (PAT) with the appropriate   scope to access this endpoint instead. Visit    for more information.      Thanks, The GitHub Team   The mail came after I searched for formula:  ~ brew search test Warning: Cask 'sqleo' is unreadable: undefined method `method_missing_message' for Utils:Module Warning: Cask 'squirrelsql' is unreadable: undefined method `method_missing_message' for Utils:Module Warning: Cask 'yiddish-klal' is unreadable: undefined method `method_missing_message' for Utils:Module ==&gt; Formulae cpptest                      cxxtest                      memtester                    phoronix-test-suite          slowhttptest                 testdisk                     unittest                     vttest cpputest                     git-test                     minetest                     shelltestrunner              speedtest-cli                testssl                      unittest-cpp  ==&gt; Casks aja-system-test                                colortester                                    emacs-pretest                                  nsregextester                                  sqlitestudio clementine-latest                              eclipse-testing                                latest                                         socket-io-tester                               synology-note-station-client   Always a prompt like this pops up:    It look like I have some kind of misconfiguration? I don't like that brew uses my GitHub credentials.
58039
I am using Ubuntu 18.04. I have installed XAMPP and created a .desktop file to run it.  [Desktop Entry] Type=Application Name=XAMPP Control Panel Version=7.3.0.0 Exec=sudo -i python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py Encoding=UTF-8 Terminal=false Comment=Start and Stop XAMPP Icon=/home/lee/.local/favicon.ico   But, for some reason it won't run. The "Exec" line runs fine on the CL. I have it set to execute. Any ideas?
107388
On my local machine, I run:  ssh -X me@remotemachine.com   (For completeness, I have also tested all of the following using -Y with identical results).  As expected, this accesses remotemachine.com fine, and all appears well. If I then attempt to run xcalc however, I get:   connect /tmp/.X11-unix/X0: No such file or directory  Error: Can't open display: localhost:10.0   But,   $ ls -la /tmp/.X11-unix/ total 36 drwxrwxrwt 2 root root  4096 2012-11-23 09:29 . drwxrwxrwt 8 root root 32768 2012-11-29 08:22 .. srwxrwxrwx 1 root root     0 2012-11-23 09:29 X0   So not only does /tmp/.X11-unix/X0 exist, it has universal r/w/x permissions!  I've previously used x-forwarding without issue, though not in some time...  uname -a on the server for reference:  Linux machinename 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux   Been searching around on the web for a couple hours now without success. Other mentions of the same problem, but no solutions.
119967
In the terminal I get Command not found when I type:  airmon-ng start wlan0   What can I do to access the airmon-ng command?
72663
I installed MySQL on my Mac, and now I would like to add it to my $PATH variable. I want to be able to type mysql anywhere.  I tried adding the following to my .profile file:  export PATH=${PATH}/usr/local/mysql/bin/   I have restarted my Terminal but it does not do the trick. It still says: -bash: mysql: command not found.  How can I add this properly to my $PATH?  I am using OS X Yosemite.