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
101 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
615 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
875 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
419 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
660 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
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
1answer
759 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
1answer
305 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? ...
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
523 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
655 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
1answer
278 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
234 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
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
7k 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
32 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
96 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
91 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
178 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
1answer
92 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
948 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
772 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
2answers
780 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?
0
votes
1answer
366 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 ...
0
votes
2answers
607 views

How to install TermKit on Linux?

The following guide seems severely out of date now, and the author does not reply to user questions, so I ask you is there any other step-by-step guide for this?
0
votes
1answer
420 views

Colors in zshell prompt cause odd behavior

I'm running OSX Lion 10.7.3, zsh version 4.3.11. I've found that if I have color escape codes in my prompt, it royally screws things up. For instance, if I scroll forward through the command history ...
0
votes
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 ...
0
votes
1answer
817 views

select copy and paste in terminal mac or ubuntu without using mouse

Is there a way to move the cursor up into text output region, visually select text, copy and paste it, all without using the mouse. I guess this is my scenario: I would do a "find . -iname ...
0
votes
2answers
2k views

Mac OS X Terminal: How can I make my pico editor syntax highlight?

I recently changed my Mac OS X Terminal colors. How can I enable syntax highlighting for pico? Or any editor in general?
0
votes
2answers
686 views

^C not working in zsh on Mac OSX

Ctrl-C stopped working for me at the terminal when using zsh (on mac osx). I didn't notice the exact moment that it happend so I can't be sure what caused it. I didd't update zsh in a while though. ...
0
votes
1answer
2k views

Recover text file deleted from trash on Mac OS X?

how can I use the grep command in termainal to undelete my text file?
0
votes
2answers
875 views

Installing graphics driver in Ubuntu

Specs: AMD Athlon XP 2400+ @ 1987 MHz / 2 x 512MB PC3200 DDR RAM / 128MB GeForce 6200 AGP / WD 160GB IDE HDD / FIC AM37 / DB: XP Pro SP3 & Ubuntu 9.10 Hi all, I just installed Ubuntu 9.10 ...
-1
votes
1answer
123 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 ...