Top "Terminal" questions

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software.

How to compile and run C/C++ in a Unix console/Mac terminal?

How can I compile/run C or C++ in Unix console or a Mac terminal? (I know it, forget it, …

c++ c macos console terminal
How to remove files and directories quickly via terminal (bash shell)

From terminal window: When I use the rm command it can only remove files. When I use the rmdir command …

file terminal directory rm rmdir
Find and kill a process in one line using bash and regex

I often need to kill a process during programming. The way I do it now is: [~]$ ps aux | grep 'python …

regex bash terminal awk
Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?

I was watching this, and, as you can see, the first command I am told to put in is: sudo …

python macos terminal package-managers
How to run Python script on terminal?

I want to run a Python script in Terminal, but I don't know how? I already have a saved file …

python macos terminal
How do you run JavaScript script through the Terminal?

For instance, if you were to run a Python script you would type python filename.py or if you wanted …

javascript terminal
Create a symbolic link of directory in Ubuntu

Below is my code for creating a symlink of a directory: sudo ln -s /usr/local/nginx/conf/ /etc/nginx …

linux terminal symlink
OS X Terminal Colors

I'm new to OS X, having just gotten a Mac after working with Ubuntu Linux for some time. Among the …

macos shell terminal colors
psql: FATAL: role "postgres" does not exist

I'm a postgres novice. I installed the postgres.app for mac. I was playing around with the psql commands and …

macos postgresql terminal
How do I execute a bash script in Terminal?

I have a bash script like: #!/bin/bash echo Hello world! How do I execute this in Terminal?

bash terminal