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

2
votes
2answers
873 views

Remove bash startup behaviour (mac user)

When I start the terminal (which uses bash) a echoed message appears several times right before the message "You have mail." and it is added by someone that has used my computer. It also happens when ...
1
vote
1answer
116 views

Screen fails to release pty

On my linux box, when using screen I can open, read and write to a pseudo terminal with screen. After closing it (C-a k y) I can't connect to it again, without restarting socat, which provides the ...
1
vote
1answer
91 views

OpenSSH, FreeBSD screen overwrite when closing application

I installed a fresh FreeBSD 10 on a VM and connected via SSH and I've noticed that whenever i close a program (e.g., htop, top, nano etc) the contents of the session gets overwritten. This doesn't ...
1
vote
3answers
340 views

Incorrect hostname in OS X?

I'm not sure why the hostname is now jessica-s-phone. I am on a public wifi, and some googling revealed that the hostname is set by a DNS, so is it possible my iTerm chose someones phone as the ...
1
vote
1answer
12k views

-bash: ls: command not found at Terminal on Mac OS X

I need to start using GIT for my projects from now on and I need to use some UNIX commands. but no matter what I do, I always receive "command not found" error. I installed MacPorts, but still cant ...
1
vote
3answers
27k views

Need some help with Terminal Emulator (Android app) commands. (Similar to Linux commands)

I'm trying to follow this tutorial to install Mobile Defense as a system application on my Motorola Droid. I want to use Terminal Emulator and the commands are basically the same. The only two ...
0
votes
1answer
110 views

What 016 017 in bash prompt, how can I make it correct in Terminal

I saw a beautiful bash prompt here PS1="\n\[\e[30;1m\]\[\016\]l\[\017\](\[\e[34;1m\]\u@\h\[\e[30;1m\])-(\[\e[34;1m\]\j\[\e[30;1m\])-(\[\e[34;1m\]\@ ...
0
votes
3answers
642 views

How do I remotely execute scripts on multiple servers, mix output

Hi I'm looking for a piece of software or some sort of technique that would enable me to do following in one terminal window: Take as input a list of ssh-enabled machines with login, password and ...
0
votes
1answer
894 views

Unix: How to one-way-sync directory with FTP directory

Is there a good command I can run from the Terminal that will one-way sync a directory with an FTP directory in a smart way? I'd like it to for example delete all files on the FTP that no longer ...
8
votes
3answers
5k views

Spawn New Cygwin Window from Within Cygwin

I can't figure out how to launch a new Cygwin session from within Cygwin, similar to launching a new terminal from within bash with: gnome-terminal It's probably easy but I am missing something. ...
5
votes
1answer
1k views

How to reset system colors

I'm using Linux Mint, MATE version. I have a weird problem that occurs quite frequently when scrolling down through log files in terminal: the machine pauses for a second or two, and when it comes ...
5
votes
1answer
7k views

Mac OS X Terminal - where does the prompt name come from

Where does the word at the beggining of the prompt on my MacBook Pro terminal come from? At the moment, it looks like this Last login: Fri Oct 14 12:55:34 on ttys000 sherrythinkpad:~ ConfusedNoob$ ...
5
votes
3answers
449 views

How do I detect when I a terminal gets focus in Linux?

I want to be able to time how long I spend in front of a terminal. I'm thinking the best way will be to have some sort of timer that starts and stops when the terminal gains/loses focus. And it will ...
5
votes
3answers
3k views

How to disable command + q for Terminal on OSX

Is it possible to disable the cmd + q hotkey for Terminal on OSX? and if so then how?
5
votes
2answers
1k views

Change directory cd to another terminal's cwd

I would like to create a command like cd - (lets call it cdp) that will change directories to the last changed-to directory from another terminal window similar to the option to open a new terminal in ...
5
votes
3answers
3k views

Mac OS X Terminal - Remap Command Keys

Is there a way to remap command keys just for Terminal.app in Mac OS X? I know that I can remap keys at the system level, but I'd like a way to do it just for the Terminal app. Ideally I'd like ...
4
votes
3answers
6k views

What is the default terminal (shell) for Xubuntu?

What is the default terminal (shell) for Xubuntu? Does Xubuntu use the same shell as Ubuntu?
4
votes
5answers
8k views

How do I copy data from a Ubuntu server using terminal by telnet?

I have one folder to copy that consists of PHP and similar files for creating a web site. How do I copy one folder from the server (Linux Ubuntu) to the client PC (Linux Ubuntu) using terminal? Could ...
4
votes
5answers
4k views

Problem with arrow keys in Midnight Commander under Mac OS X after update to 10.6.3

After updating Mac OS X to 10.6.3 the arrow keys do not work in MC anymore - instead of moving the cursor it types, for instance, B for down key, C for right key. Although, if I quit MC and try it in ...
3
votes
1answer
664 views

Terminal freezes in Linux Mint 12

Since I installed Linux Mint 12, I'm encountering problems in the terminal. I'm working with two tabs in the terminal. Sometimes, when I launch a command on the terminal, it's not refreshed, like ...
3
votes
1answer
314 views

Distinguishing local and remote access in shell (TERM-related)

My default TERM is xterm-color. I would like it to be xterm-256color when I am working on my machine locally, but if I ssh to it I want to have it be xterm-color. How do I distinguish these two cases? ...
3
votes
5answers
2k views

How to run a bash script outside of a terminal?

Hey All, wrote this script to confuse my girlfriend when she is using my computer. The only trouble is that if the terminal gets closed the script stops to execute. It currently executes in the ...
2
votes
1answer
2k views

Remove file extension in OS X using Terminal

Problem: I have some 200+ files named something in line with "DSC01852.JPG.jpg". I would like to remove the file extension so the result becomes "DSC01852.JPG". Any suggestions? I looked at the mv ...
2
votes
2answers
10k views

“bin/sh: can't access tty; job control turned off” error when running shellcode”

I'm writing shellcode to exploit a buffer overflow vulnerability on a server. To do so I have port binding shellcode that I send to the server and then I run (from a linux terminal) the command telnet ...
2
votes
1answer
790 views

Dialog display with blank field assigned to variable in Mac Terminal?

I want to make a display box that has a text box that the user can enter a number into that will later be assigned to a variable. How would I do this?
2
votes
2answers
5k views

Continue process after closing terminal? [duplicate]

Possible Duplicate: Leave bash script running on remote terminal while not logged in? Recently, I tried to unzip a 30 gig zip file on a remote system using Putty. As the long unzipping ...
1
vote
2answers
66 views

Is there a folder-specific .bashrc or .bash_profile?

Is it possible to have a bash script (like a .bashrc or .bash_profile, basically) that is executed only upon cd’ing into a specific folder?
1
vote
2answers
670 views

how to load byobu automatically when terminal started?

I'm using Lubuntu 13.10, and I want to load byobu automatically when I open terminal. I found byobu very flexible and reliable tool and want to use every time when I have to use terminal. I couldn't ...
1
vote
2answers
74 views

Echoing output to file while seeing it in console in the same time

So I echo output of my programs ran in terminal by command 2>&1 >> /path/toFile.txt It creates few limitations that I want to overcome: It "freezes" and gives no output in terminal - ...
1
vote
1answer
704 views

Mac OSX Mavericks - ZSH can't 'source ~/.zshrc', too many open files

I can't source any changes to my .zshrc (or my .bash_profile for that matter), because I get this error when I try: /Users/ME/.zshrc:source:100: too many open files: /Users/ME/.zshrc I've tried ...
1
vote
2answers
509 views

How to copy/paste tab characters via the Clipboard into terminal session on gnome / ubuntu

How do i copy text that includes tab characters from a text editor, let's say gedit into a terminal session on ubuntu/gnome? I am on ubuntu 12.0.4 using gnome classic. UPDATE This same issue ...
1
vote
2answers
812 views

OS X Terminal prompt changed

My terminal prompt on OS X 10.8.3 suddenly is not the machine or hostname anymore but something like: minint-j4lfb2s:~ Where does that come from? I did not change it. How can that be?
1
vote
1answer
302 views

How to disable EMACS - Prelude colors? (terminal)

I've used PRELUDE to work better in terminal, but I'd love to work with my default Terminal theme(colors). Zenburn-theme comes default with Prelude but It just work great the first time i run emacs ...
1
vote
0answers
243 views

gnome-terminal new tab within exact same path

I'm using gnome-terminal and open multiple tabs for the same path. The behavior of gnome-terminal is to change to the real (canonical) path rather than the exact original path. E.g. a new tab opened ...
1
vote
2answers
2k views

Load RVM environment in Screen and ZSH

This topic has been driving me nuts for a while now, and I'd like to be able to figure out what's going wrong. I use zsh with screen in my terminal, and have been for a while. However, for whatever ...
1
vote
4answers
2k views

Where do files and directories go when I run 'rm -rf folder_or_file_name' in Ubuntu 10.04?

When I delete folders or files in the Nautilus GUI, those folders/files go to Trash but where do folders/files go when I run rm -rf folder_or_file_name in terminal in Ubuntu 10.04?
1
vote
4answers
5k views

How do I automatically close Terminal.app on exit in OS X Lion?

I've recently acquired a new Mac with OS X Lion, and I'm tuning it for my needs. I was trying to configure autoclose on Terminal using its preferences (as I've done with Tiger and Snow Leopard) but ...
1
vote
1answer
1k views

Append stdout to file from terminal?

I know using command > file will write the stdout of command to file, but is there a similar method to append to file?
1
vote
3answers
8k views

“command not found” when running a shell script. What did I break?

I'm on OSX Snow Leopard. Here's the full contents of grr.sh: #!/bin/sh echo wow When I try to run it from terminal: $ grr.sh -bash: grr.sh: command not found $ /bin/sh grr.sh wow $ sh grr.sh wow ...
1
vote
1answer
75 views

image background not show

i have an image background for my web....it's a JPG file.. my problem is that image not show at designer PC but after that web page open at another PC..the image can show..i created my program at ...
0
votes
1answer
44 views

How to change the color of the default title in iTerm2

Every time I execute a command, it's difficult for me to find where is the start point of the results comes from my last command. So I want to make the default line "Arthur-Mac-mini..." change color, ...
0
votes
1answer
36 views

How do you cd to the directory of another screen window?

gnome-terminal has a great feature where opening a new tab or window starts the new shell with cwd = the cwd of the previously-focussed window. I usually run GNU screen in one of my gnome-terminal ...
0
votes
2answers
139 views

Strange Vim/terminal use from ssh via Mac OSX

I am using terminal from a Mac OS X 10.10 (Yosemite) and SSH’ing into a fedora machine and am having a couple strange issues with the terminal: When I :q from vim, the contents of the vim screen is ...
0
votes
1answer
123 views

What I'm doing wrong with this Wacom Driver installation?

I'm trying to install Linux Wacom Drivers on Lubuntu 14 (32bit) but they never work on my Motion LE 1700 Tablet PC. This a computer/tablet, the pen is detected directly on the screen and is not ...
0
votes
1answer
208 views

How to use curl behind a McAfee Web Gateway?

curl seems to get some URLs just fine, while others get blocked with a response that indicates authentication is required and a valid cookie is missing. I can download the same URL in Chrome. No ...
0
votes
2answers
368 views

How to paste a tab into OS X Terminal from clipboard?

Tabs are getting removed from text that I paste into the Terminal. Any suggestions? An example of my use case is to paste sections of TSV files into a remote ssh session terminal, bypassing the ...
0
votes
1answer
98 views

trying to install Astromenace on my linux mint 14 cinnamon pc

so i am following this tutorial as it is the only one i can find and any that i can find are the same as this one: http://linuxg.net/games-on-linux-how-to-install-astromenace-on-ubuntu-and-fedora/ ...
0
votes
2answers
997 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
2answers
792 views

Linux terminal emulator with terminal autocomplete? [closed]

I've moved from OSX back to Linux and am mostly happy. One of the main things I miss is iTerm2, especially its terminal based autocompletion feature (tmux integration would also be nice). I've looked ...
0
votes
1answer
382 views

How do I supress date/time display in GNU Screen vertical splits?

I am using a copy of GNU Screen packaged for Fedora 18. I copied these neat lines over onto my .screenrc, to show me the host/date-time/windows: # Neat status bar on the bottom of the screen caption ...