A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, ...

learn more… | top users | synonyms

0
votes
1answer
102 views

MAC OSX: How to unzip password protected .zip file using terminal

I need to unzip a .zip file which is password protected using Terminal I am able to unzip the .zip file (if it is not password protected) using this command unzip /Users/vikas/Desktop/as.zip -d ...
0
votes
0answers
12 views

Screenshot error with import linux command on enlightenment 17

I have installed enlightenment 17 on a debian 8 Jessie and I have issues about doing screenshot with import command. Once I type "import test.png" from a terminal, and after selecting the area with ...
0
votes
1answer
34 views

How to print full path of OSX applications

I would like to get the full path of OSX applications like Safari, Chrome, iTerm... As I see, OSX packages have a specific folder structure, and so, the main binaries will end up in ...
1
vote
2answers
65 views

Is there a UNIX box with Ethernet and nothing else (interaction only via SSH)?

So, hypothetically, I could sit this UNIX box by my router and all configuration would be done via local SSH. Then once it's set up, I could SSH in from the internet and use UNIX (and all the tools ...
61
votes
7answers
17k views

Is there a shortcut to mkdir foo and immediately cd into it?

This is something I do frequently $ mkdir foo $ cd foo This works as a single command, but it's more keystrokes and saves no time. $ mkdir foo && cd foo Is there a shortcut for this? ...
1
vote
1answer
25 views

Why does CTL-3/CTL-# equal CTL-[? (and others) in the case of ASCII control characters

I've been rediscovering ASCII control characters as I fiddled with some terminal emulation code, and wrote a small program that outputs the hex value of each key I press (tcsetattr() with ~ICANON). ...
0
votes
2answers
212 views

How can I change terminal font size in i3 on arch linux?

I installed xorg, I can successfully startx and I installed i3 on arch linux. How can can I change, or more specifically; increase the size, in the default terminal in i3? From the i3wm documentation ...
0
votes
0answers
10 views

Scrolling up in iTerm2 shows previous Vim sessions

In iTerm2 (Version 2.1.4), when I scroll up to see previous commands, I'm seeing chunks of previous Vim sessions, which I don't want to see. Any idea why that would be happening and how to fix that? ...
1
vote
1answer
17 views

How can I direct my output to screen and to file simultaneously?

Linux, (Ubuntu) here. Should be effective every time I open a new terminal. Output to file should contain all messages including errors and warnings, should be the same as shown in the screen. Can ...
0
votes
4answers
431 views

Trackpad scroll in Yosemite's terminal broken, now only showing command history

Since upgrading to OS X Yosemite I have been experiencing this sporadic issue where I suddenly lose the ability to scroll up/down in terminal using my trackpad. Scrolling on the trackpad will instead ...
7
votes
1answer
150 views

How to make copying command from website to terminal secure?

Today I found intriguing example website-terminal-copy-paste. For example you may need to clone git repository. In webpage it looks like: git clone git://git.kernel.org/pub/scm/utils/kup/kup.git ...
0
votes
1answer
33 views

Open very long name file with terminal

Is there is a way to open very long name file from command Prompt in easy way ? rather than start fileName.type
0
votes
2answers
3k views

Cowsay doesn't say anything

Okay, I know this is kind of a stupid question to bring to the table here... but why not. I'm using OS X 10.9.2, Mavericks, and have installed cowsay in my terminal with $ sudo gem install cowsay and ...
5
votes
3answers
1k views

Bash History Not Preserved Between Terminal Sessions on Mac

My bash history mysteriously stopped working, and I have no idea how to fix it. This is what my .bashrc looks like: HISTSIZE=500 HISTFILESIZE=500 HISTFILE=$HOME/.bash_history However, when i ...
0
votes
0answers
33 views

How to arrange for the shell to autocomplete git branch names?

Is there a way to make the shell autocomplete git branch names like it does in linux(mint). While typing, for example, git push -u origin so<tab> in linux, this will give me all the branches ...
0
votes
0answers
23 views

How come I have to `source ~/.profile` every time I launch a new terminal?

When I launch my terminal and I do node --version I get 2. w/e Then I try to do nvm use 5.3.0 and it says nvm: command not found So then I have to source ~/.profile Then I can use the nvm ...
32
votes
2answers
32k views

List files bigger than filesize specified

How can I make ls (or any other particular command) to list me only files bigger than a specific file size?
0
votes
1answer
79 views

Able to delete part of the system log files on Mac OSX El Capitan based on a time period?

I was wondering if it was possible to delete only a portion of the system log files on the Mac OSX El Capitan based on a time period? Say I want to delete all activities that occurred between 9am - ...
5
votes
4answers
333 views

“^[[O” and “^[[I” appearing on iTerm2 when focus lost

I’m using iTerm2 2.1.1 on Yosemite. No tmux. When iTerm loses focus (when switched to another application by Cmd-Tab or clicking another window), a ^[[I and ^[[O seems to be sent to the terminal. ...
-1
votes
2answers
22 views

why is the grep command being echoed [duplicate]

I currently have something like this. I am attempting to find a process with a certain name >:~# ps | grep avahi-daemon 12499 avahi 3048 S avahi-daemon: running [BlahBlah.local] 12500 avahi ...
0
votes
1answer
16 views

Installation issues github program: truecrack

I am trying to install TrueCrack from github: https://github.com/lvaccaro/truecrack . As the description says I do this: cd truecrackDirectory ./configure --enable-cpu make However, when I do the ...
0
votes
2answers
41 views

Untarring into a temp directory, then deleting the directory

I'm a very new linux user, and I'm untarring a tarball into a directory, say that without smiling. What I want to do is create a temp directory with the mktemp -d command and use the tar command to ...
3
votes
1answer
3k views

Windows: equivalent of OS X's Terminal “&”

Is there any way, under Windows 7, to emulate the behaviour of the & character in OS X's Terminal? I'm trying to run multiple Wget instances simultaneously: I can do this without any problem of ...
1
vote
3answers
64 views

What's “terminal” about CMDs\Consoles? Why are they called this way?

I'm trying to figure out why are CMDs\Consoles\CLIs\command-lines are often called "Terminal"? I know that they are first and foremost shells for an OS... And thus usually seen as a layer and not as a ...
0
votes
0answers
26 views

Macbook small "s” key doesn't work after opening a ssh session in terminal

I have a strange situation with my MacBook. When I open a terminal window, the "S" key works as expected. When I open a ssh session within the terminal window the small "s" key doesn't work. The ...
0
votes
0answers
15 views

Can't access command line of Raspbmc/Debian on boot by pressing ESC

I can't get to the command line by hitting Esc on reboot when prompted. Kodi version from the settings screen is "Compiled: Feb 2 2015)". I can't SSH in because my RPi isn't getting DHCP renewed on ...
14
votes
4answers
8k views

OS X `say` command for Windows

The say command is perhaps OS X terminal's most compelling feature - it takes text as input and speaks it through the computer's speakers. Is there any equivalent command-line tool on Windows, either ...
0
votes
1answer
18 views

Setup xterm-256color on Minix3

Problem I'm trying to setup 256 color on Minix3. I found that the xterm-256color file exists on /usr/pkg/share/terminfo/x. I tried to set it up in ~/.profile with if [ -e ...
2
votes
0answers
715 views

Unzip Multipart Zip from Command Line

Thanks in advance for any help. I am trying to unzip a multipart zip file from the command line in OSX 10.8.5. I created the zip using zip -s 800m foo.zip foo.mov The file foo.mov is 2.7GB. So I ...
8
votes
2answers
19k views

Trying to unzip a file, 'Filename not matched' when the directory exists

While trying to unzip a file named Joomla_3.0.3-Stable-Full_Package.zip to the directory named joomla I get filename not matched. Why is that? [root@Feddy Joomla]# unzip -Z ...
0
votes
0answers
23 views

How to permanently change default spelling language for Office 365 on Mac via Command Line

I am forced to use Office 365 at work. In OneNote or Word I can change the setting to English ad hoc but whenever I start typing again, it goes back to Spanish. The only way is to select active ...
0
votes
2answers
24 views

Write command output to a file and to std out/error

I have a command that I run a lot which I like to direct it's output to a file. I do this like so: runFooBar > output.txt 2>&1 Is there a way that I can write the runFooBar output to the ...
1
vote
1answer
40 views

Quit OSX Terminal on Last Window Close

I have my preferences set so that CTRL-D closes my current window, but I'd like the Terminal application to quit if I close my last/only terminal window. iTerm2 can do this. Can Terminal do it?
153
votes
5answers
104k views

Way to avoid ssh connection timeout & freezing of terminal tab

When I connect via ssh terminal to certain servers, it timeouts and "freezes" the terminal (doesn't accept, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's ...
2
votes
1answer
45 views

Launching Finder in Mac OS X Terminal and highlighting specific files selected from the Terminal?

I have a script that creates a couple of files in the /tmp directory #!/bin/bash touch /tmp/file1.txt touch /tmp/file2.txt How can I make the script open the /tmp/ directory in Finder with the two ...
0
votes
1answer
83 views

How to display custom key icon on Terminal.app?

When sending a POST request to a server that requires user and password authentication, Terminal.app displays a blinking key icon which I believe is not Unicode. When asking the user to enter ...
0
votes
0answers
9 views

How to terminate npm install

I am running npm install usually I am pressing ctrl+c on Windows and it is cancelling the process. But it is not working for me on Mac. I pressed ctrl+c and ctrl+z and tried different similar ...
2
votes
2answers
80 views

Is there an OSX terminal command (el capitan) to disable / hide panes in System Preferences?

been Googling for the better part of an hour now and not too familiar with OSX ways of doing things via command line. If anyone has a great resource site for OSX system commands / switches that would ...
1
vote
2answers
43 views

Mac terminal prefix has been changed

I was using the terminal to verify some downloads today using SHA1/256 and my terminal prefix has changed to inside-167-7:~ [_name_]$ Previously, it contained system info. I have no idea what the ...
8
votes
5answers
3k views

How to check if cygwin mintty/bash is run as administrator?

Problem Statement: What is the most elegant and robust way to test if Cygwin mintty bash session is "Run as adminstrator"? Why, specifically? I have typically several mintty terminals open when using ...
0
votes
2answers
672 views

Scrolling in terminal (OS X) when running tail -f and ssh-ed into a machine yields some strange characters

I'm ssh-ed into a remote machine and running tail -f. Every time I scroll up/down using the trackpad, it yields some strange characters, like OB^[OB^[OB^[OB^[OB^[OOB^[OB^[OB^[OB^[OB^[O This didn't ...
0
votes
0answers
10 views

KDiff3-style *directory merge* tool for the Linux terminal?

I need a nongraphical tool (e.g. ncurses-based), that allows me to merge large directory structures. Ideally, something as nice as Beyond Compare. Or at least KDiff3. I know there was such a tool, ...
0
votes
1answer
43 views

Terminator/vim Mouse Issue

Let me start off with saying that I do try to use the mouse in vim as little as possible, but there are times that I will end up using it to click around or highlight something. With that said, ...
1
vote
0answers
12 views

How do I break out of /home/reveller?

Ubuntu newbie here. I succesfully installed Ubuntu on a VM on Windows. I am now trying to run a localhost website using nginx. I have read tutorials online on how to create your website in /var/www ...
6
votes
1answer
397 views

Disabling mouse hiding in Gnome Terminal while typing

Does anyone know how to turn off the hateful behavior that is now default in Gnome Terminal — when a key is pressed the mouse pointer hides until it is moved again. I'm honestly ready to ...
1
vote
2answers
454 views

How to select all text quickly in a Tera Term Pro window?

I am using Tera Term Pro version 2.3. I am hoping to select all then [Alt+C] to copy. I tried using [Ctrl+A] or [Alt+A] but it doesn't work. There is no "Edit > Select All" menu option. I have no ...
41
votes
5answers
63k views

List the current folder folder's sizes with the terminal?

I want a list of the folders from the current directory or one that I specify with their size. I have tried with du but I only get the size of the directories I specify (du . ./f1), and ls doesn't ...
2
votes
0answers
47 views

How to paste passwords to terminal for use with SSH?

Hi I am trying to complete the overthewire challenges. They require you to extract passwords and login as different users to proceed. Passwords are quite lengthy and I am not able to paste the in in ...
-1
votes
1answer
32 views

How do I create a new blank window in screen when I have multiple sessions running?

I'm running multiple concurrent screen sessions for a variety of projects. I'm attached to one and issue the command (Ctrl-A c) to create a new window. It creates the window, but strangely, it's a ...
1
vote
1answer
42 views

Kill Tomcat on Windows 8.1

I am trying to deploy a JavaEE application, but I get this error: Starting of Tomcat failed, the server port 8084 is already in use. The reason is obvious, the solution, not so much. According ...