tagged [terminal]

OS X Terminal shortcut: Jump to beginning/end of line

OS X Terminal shortcut: Jump to beginning/end of line I know that I can jump to the beginning and end of a line inside the OS X terminal with + and + . But I'm so used to jumping with + arrow and + ar...

14 Dec at 02:6

Setting the correct encoding when piping stdout in Python

Setting the correct encoding when piping stdout in Python When piping the output of a Python program, the Python interpreter gets confused about encoding and sets it to None. This means a program like...

Mac install and open mysql using terminal

Mac install and open mysql using terminal I downloaded the mysql dmg file and went through the wizard to run. Done. I have also started mysql server under system preferences. The purpose of me doing t...

28 Aug at 07:40

Launch Minecraft from command line - username and password as prefix

Launch Minecraft from command line - username and password as prefix I'm trying to make a simple custom Minecraft launcher thing. According to [the Minecraft Wiki page for the Launcher](http://www.min...

20 Jun at 20:25

How to remove entry from $PATH on mac

How to remove entry from $PATH on mac I was trying to install Sencha Touch SDK tools 2.0.0 but could not run it properly. It created an entry in the $PATH variable. Later I deleted the sencha sdk tool...

8 Apr at 06:54

Fastest way(s) to move the cursor on a terminal command line?

Fastest way(s) to move the cursor on a terminal command line? What is the best way to move around on a given very long command line in the terminal? Say I used the arrow key or - to get this long comm...

26 Aug at 09:40

SSH SCP Local file to Remote in Terminal Mac Os X

SSH SCP Local file to Remote in Terminal Mac Os X I am attempting to copy a local file 'magento.tar.gz' from my local machine to a remote server using SSH through a VPN. This is connecting to the Virt...

6 Aug at 03:23

Single line sftp from terminal

Single line sftp from terminal Several times throughout the day, I may be running a test where I need to look through a log file on a remote server. I've gotten used to using my terminal to `sftp` int...

9 Jan at 07:28

How to open the command prompt and insert commands using Java?

How to open the command prompt and insert commands using Java? Is it possible to open the command prompt (and I guess any other terminal for other systems), and execute commands in the newly opened wi...

3 Feb at 02:54

How can I fix the "zsh: command not found: python" error? (macOS Monterey 12.3, Python 3.10, Atom IDE, and atom-python-run 0.9.7)

How can I fix the "zsh: command not found: python" error? (macOS Monterey 12.3, Python 3.10, Atom IDE, and atom-python-run 0.9.7) Since I got the [macOS v12.3](https://en.wikipedia.org/wiki/MacOS...

Docker-Compose can't connect to Docker Daemon

Docker-Compose can't connect to Docker Daemon I am getting an error message saying I can't connect to the docker daemon. I have looked into other people's answers who have had similar issues but it ha...

sudo: port: command not found

sudo: port: command not found I recently uninstalled Xcode 4.2 and re-installed Xcode 4.3.1. Command Line Tools are installed. I then installed MacPort using “dmg” disk images for Lion from macports.o...

Failed to add the host to the list of know hosts

Failed to add the host to the list of know hosts Mac OSX Lion 10.7. In an effort to get around weird environment stuff (homebrew wasn't installing wget, and I had all sorts of weird blocks and errors)...

npm install -g less does not work: EACCES: permission denied

npm install -g less does not work: EACCES: permission denied I'm trying to set up less on phpstorm so I can compile .less files to .css on save. I have installed node.js and the next step (according t...

23 Dec at 10:47

Failed to build gem native extension (installing Compass)

Failed to build gem native extension (installing Compass) When I attempt to install the latest version of compass ([https://rubygems.org/gems/compass/versions/1.0.0.alpha.17](https://rubygems.org/gems...

20 Mar at 20:59