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 do I find the width & height of a terminal window?

As a simple example, I want to write a CLI script which can print = across the entire width of the …

terminal
How to view unallocated free space on a hard disk through terminal

I want to view the unallocated free space on my hard disk through terminal. I've burned my brains searching the …

linux terminal fedora hard-drive
gcloud command not found - while installing Google Cloud SDK

I am on a mac and am trying to install the Google Cloud SDK (including the gcloud command line utility) …

terminal installation google-cloud-storage google-cloud-platform gcloud
How can I make directory writable?

How can I make a directory writable, from the OS X terminal?

macos terminal
How to find the serial port number on Mac OS X?

I have just started experimenting with Serproxy and Arduino to get some serial data into Flash Builder/Flex. Serproxy seems …

macos terminal serial-port arduino
How to run Ruby code from terminal?

I need to run a few lines of Ruby code from terminal, but I can't find the needed parameter for …

ruby console terminal
How do I set default terminal to terminator?

Using Xubuntu. I'd like to have terminator replace the default terminal. For instance, when right-clicking inside a folder then selecting …

ubuntu terminal xubuntu
nano error: Error opening terminal: xterm-256color

After the installation of OSX Lion, I tried to: nano /etc/apt/sources.list But I get this error: Error …

terminal nano
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 …

bash terminal window
Reusing output from last command in Bash

Is the output of a Bash command stored in any register? E.g. something similar to $? capturing the output instead …

bash terminal stdout