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
2answers
270 views

Overwraping lines when using ssh by osx terminal

I'm using ssh command from osx terminal to connect my centos remote server. If I type long string and want to go next line, the characters don't go to second line but come back the first line left ...
1
vote
1answer
1k views

Use Automator for handling multiple file inputs through shell command in OS X

I tried to make an Automator drag and drop application but I'm totally lost. The script should use cat to join multiple audio files together. Steps: Read the selected finder files (which I drop ...
3
votes
1answer
980 views

Open multiple terminals in a for loop in bash

Recently i changed to lxde on Ubuntu. And after switching it changed my x-terminal-emulator to lxterm. My script was doing the following: Go through a for loop and open a new terminal window and ...
4
votes
1answer
1k views

Split window programmatically with iTerm?

on my development workstation I often have to start the same commands every morning. zeus start, zeus server (booting rails via zeus), redis-server, and like 3 others. I know a lot of people would ...
2
votes
0answers
544 views

Realtime Code Collaboration That is Not Floobits [closed]

So... I love Floobits. I use it in Sublime and I use it in vim. But my network currently does not play nicely with its port requests. I'm looking for a desktop code collaboration system so that an ...
1
vote
2answers
1k views

-bash: __git_ps1: command not found

I recently uninstalled Homebrew and Cellar (web dev applications), and this error now appears after every Terminal command (although I can't confirm that these are the culprits!): -bash: __git_ps1:...
0
votes
2answers
489 views

How can I launch Safari Terminal on Windows 7

I want to execute some commands for my Safari web browser mainly to disable auto-refresh. And it is seems that the only way to do so, is to use the terminal to write commands. But I am using windows 7 ...
0
votes
1answer
58 views

Time command not behaving correctly

I am having a weird problem with the time command. When I try and run $ time rspec spec It should return Finished in 15.78 seconds 75 examples real 0m22.334s user 0m17.952s sys 0m2.643s ...
0
votes
1answer
402 views

Fixing truncated *zip with Terminal, keep getting stuck

I have a *zip containing a lot of pictures from the past year, and it compressed incorrectly and is missing its end statement. I've been using "zip -FF" in Terminal, but it keeps getting stuck on a *...
0
votes
4answers
925 views

$PATH is not updated

It seems all about this was already discussed, but I can't resolve my problem. I have all necessary strings in /etc/paths /usr/bin /bin /usr/sbin /sbin /usr/local/bin in ~/.bash_profile export ...
2
votes
0answers
502 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
0
votes
0answers
177 views

Terminal Hacks to Manually Transfer Ipod Music To Computer

I need to transfer a clients ipod music to a new computer and in to a new Itunes library. As you know, Apple does not allow you to reverse sync music from an Ipod to an itunes library as this would ...
2
votes
1answer
1k views

How can I trigger a notification from a remote terminal in OS X

I am running a long process on a remote shell. I would like to trigger a notification when the process is complete. This answer does not suffice, because the long command is on a remote server, so it ...
0
votes
0answers
18 views

Is there any way to check Internet connection speed through terminal? [duplicate]

How can I test my Internet connection speed through Linux terminal? Usually, I use websites for testing my speed, but since here there is no access to GUI, is there any way to test speed through my ...
0
votes
1answer
550 views

kill command working despite error

after running this command kill -9 <PID> for ./sc_serv. I am getting this output below: -bash: kill: for: arguments must be process or job IDs -bash: kill: ./sc_serv: arguments must be process ...
0
votes
1answer
16 views

Terminal License Purchasing

From where can I buy Terminal Server License? If Microsoft selling terminal license, please provide me the link for buy it. Actually we have 5 RDP users in our server system, we need to add more RDP ...
4
votes
2answers
211 views

Is it possible to highlight the non-breakable space in zsh / terminal?

I’m looking for possibility to somehow highlight the non-breakable space (\xA0) in the shell output to distinguish it from the normal space during debug sessions. E. g., I would like to see the output ...
1
vote
1answer
3k views

Missing Host File - Mac OS X

I've looked through the internet and even saw a similair posted question, but didn't really give the answer I was looking for, so I'll see if I can get any better luck. I recently had to modify my ...
1
vote
1answer
222 views

Terminal: Deleting everything except for .nef or .jpgs

I am using Mountain Lion on a Mac. I want to delete all the files in a directory which do NOT end with .psd, .jpg, or .nef using Terminal. How would I do this? Thanks in advance!
5
votes
1answer
4k views

Bash, how to globally fix ^H and ^? backspace problems

I'd like to fix this frequent problem where the shell on a remote server thinks my terminal's backspace key is ^? and sometimes it thinks it is ^H, and happens to be incorrect and outputs the wrong ...
2
votes
1answer
275 views

How can I enable command line history on a remote Ubuntu terminal session?

When logging into a remote Ubuntu session using ssh, my command line history, which I'd usually access on my local terminal with the cursor keys is replaced with ^]]A ^]]B characters etc. How can I ...
0
votes
1answer
285 views

Run multiple commands in individual terminal tabs

I'm developping some rails apps on Mac 10.8.5, and often times, I have a terminal window with a few tabs running commands: rails s rails c mongod bundle exec guard start each of which in its own tab. ...
6
votes
3answers
8k views

How to reset a broken TTY?

My Slackware TTY can be broken easily by running: cat some_binary_file After the command, the entire TTY will no longer display readable characters but still responds to keyboard events. Even if I ...
10
votes
4answers
4k views

iTerm2 Vim alt+right/left arrow

As a Linux user, I am very used to jump from word to word in vim/nano using ALT+left or right. This doesn't seem to work properly using iTerm, I am using zsh, I tried adding; bindkey -e bindkey '^[[...
0
votes
1answer
501 views

How to find out (debug) why ( /etc/rc.d/rc.local ) not executing a command that works ok via terminal?

There is a command inside my /etc/rc.d/rc.local i am not sure why it is not being executed. i think i either need to add #!bash or something on top of the script or perhaps i need to add gnome-...
1
vote
0answers
133 views

Automatically closing idle windows in Gnome

Can open windows automatically close themselves if they have not been used for X seconds in Gnome? For example, right now I have some Firefox windows and some other file browser windows etc open ...
34
votes
2answers
69k views

Updating Time : ntpdate[3108]: the NTP socket is in use, exiting

The time on my system is incorrect for some reason. i need to run an update but i can't seem to be able to this is the errror. ntpdate pool.ntp.org 31 Aug 12:31:59 ntpdate[3108]: the NTP socket is in ...
0
votes
1answer
2k views

Mac OS X 10.7.5 - console open with bash info - have i been hacked?

I woke up today and when I turned on my computer, I noticed that there was a terminal window open. It said the following: Last login: Wed Aug 28 16:44:16 on console mary-iMac:~ mary$ The terminal ...
0
votes
2answers
80 views

VIM Hotkey Creation

I'm pretty new to VIM and linux in general. So doing this on my own is well beyond my skill level now. I'm familiar with vimrc file but that is it... Let's say I have one terminal open idling. ...
1
vote
0answers
277 views

.inputrc, TAB and CTRL-i

Apparently, when we hit TAB in Terminal, CTRL+i is send instead, so we cannot have different bindings for these keypresses in our .inputrc: "\C-i": forward-char TAB: complete This makes TAB move ...
10
votes
4answers
5k views

Execute a command if Linux is idle for 5 minutes

I would like to execute a command such as notify-send 'a' if my Linux machine has been idle for 5 minutes. By idle, I mean the same thing a screen saver that gets activated would use to define "...
1
vote
1answer
41 views

Does this spawn multiple processes

I would like to know if this shell script line spawns multiple processes: nohup openocd -f board/stm32f4discovery.cfg >>/dev/null 2>>/dev/null & other operations here Basically, I ...
1
vote
0answers
104 views

Starting a program in a running rdp-terminal-server (W2008R2) session with full control over the server but no control over the client?

I have full control over a Windows 2008 R2 server. A mobile client runs a windows terminal session on the server over RDP and WLAN. Its connection and session are currently active. Now I would like ...
0
votes
0answers
125 views

Source ~/.zshrc needed after OSX terminal restart

I have some zsh custom autocomplete set up in OSX for a custom command I have. These autocomplete functions are defined in ~/.zshrc. If I restart the OSX Terminal, I see that the autocomplete does not ...
0
votes
2answers
3k views

How does one view the terminal (tty) output externally? (Not a new ssh session, but what is currently going on)

Basically I've set up a few Raspberry Pis running different programmes, and I'd like to see what is being outputted on them. I can obviously connect via SSH, but that's a new tty session. Tried ...
0
votes
1answer
2k views

GIMP command line, how to invert color of a list of picture and modify the color of them (by colorize, but in command line)

I'm trying to modify a list of images with the terminal, I want to invert the color and apply a color with colorize, all of this with the command gimp and in the terminal. Anyone can help me?
0
votes
1answer
41 views

Is there a way to avoid this crippling prompt effect in Terminal on OS X?

Here's a short video demo of the problem: http://www.youtube.com/watch?v=QOxod-ViZUw&feature=youtu.be Rather than crippling the prompt, I prefer the caret to move to the next line.
1
vote
2answers
474 views

Using a Unix terminal to encrypt a disk under OS X

I'm interested in knowing whether there are any native utilities (possibly under diskutil) to encrypt a disk via the command line in OS X 10.8.4. I can use FileVault or Mac OS's Disk Utility Erase tab,...
0
votes
1answer
137 views

Ophcrack: how to back up from drive C(sda2) to drive D(sda3) of a windows 7 machine not booting?

My laptop cant boot. So im about to reformat it, I backed up my documents using live CD Ophcrack, to drive D (sda3). At first I can copy paste my files. But not until im about done, at 75% a weird ...
0
votes
0answers
895 views

Is it possible to use a terminal emulator with the LPT port?

I am not very experienced with terminal emulators, but most of the emulators I have seen and used are asking to connect over a serial (COM) port. Is it possible to use a terminal emulator with the ...
1
vote
0answers
128 views

Bash Terminal keeps clearing / overwriting itself

My bash terminal on Ubuntu 12.04 64 bit keeps clearing itself partially when the output is too big. If I do a ls -al in a directory with many files. The terminal prints the result, inbetween it ...
1
vote
1answer
130 views

How to use arrow keys when typing into openssl terminal on OS X?

In developing for IMAP I type raw commands into an IMAP openssl connection very often, and I'm trying to figure out how to make this tool more usable. I connect via openssl s_client -connect imap....
0
votes
1answer
259 views

Launch sublime text without waiting in the terminal

I have installed Sublime Text 2. I downloaded it from the homepage, put it in /opt/, created a symbolic link in /usr/bin/ called subl. When called it correctly opens Sublime Text 2, but it also causes ...
1
vote
1answer
1k views

Terminal starting with “no such file or directory:” message on OS X

After installing/uninstalling homebrew and other command line software such as zsh, I had an issue with my command line prompt, which let me to remove several configuration files such as .bashrc, ....
0
votes
1answer
622 views

After running less command in -bash, instead of a prompt, I get “(END) ”. What's happening, and how do I get the prompt again?

I run the bash command "less" on a .txt. After printing out the lines in the file, the name of the file and "(END) " is printed. But I do not get a command prompt again. Other than closing the ...
4
votes
3answers
7k views

How to change Terminator title terminal title, ZSH on Debian?

I don't know if I should ask it here or on unix.stackexchange.com, I found this question here. My question is similar, I want to change the title of a terminal, I'm using a Debian based distro, ...
1
vote
1answer
2k views

Why does OS X Terminal say 'unknown:~'?

When I open Terminal, it comes up with unknown:~ (user name) and will not allow me to do anything. I haven't done anything to cause this, this is how the Mac started up.
2
votes
1answer
505 views

Bash Script does nothing

I am trying to create a shell script i can run from anywhere in the terminal, the script simply echoes a message #!/bin/bash echo "Excellent work Snake!" I changed the scripts permissions with ...
0
votes
2answers
1k views

Uninstalling Homebrew messed up git

I uninstalled Homebrew using http://superuser.com/a/203740. After running the above commands, I can't find .bashrc and .bash_profle. All files are gone from Documents , Desktop and Downloads :'( ...
0
votes
1answer
76 views

Terminal host changed

I opened terminal today and realized that the usual startup text: my-macbook-pro:~ myUsername$_ has been replaced by: mscs256-24197:~ myUsername$_ I tried googling but couldn't find anything. I'...