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

4
votes
2answers
2k views

tmux / vim split panes

I am borrowing this screenshot from another question: The terminal background seems to leak through into vim left of the dividing border. This is most noticeable near Top. Can anyone tell me why/...
21
votes
6answers
13k views

How to mass prepend text to file names?

Lets say I have a directory full of .md files all named various things. Lets say I wanted to prepend "text" to the front of each file name. So for example: file a.md, b.md, and c.md would become test -...
1
vote
1answer
1k views

How to get user information Mac?

How would I get user information from a Mac such as user domain, etc. through a Terminal command? I've tried dscl as well as dscacheutil, but they don't really have what I'm looking for. I was ...
0
votes
2answers
778 views

Get back to the default terminal in debian

I've accidentally press the key Ctrl + Alt + F1. It switches my default terminal to a virtual terminal, and I don't have the folder and user information in the command line anymore. How do I get back ...
1
vote
1answer
4k views

Ubuntu purple terminal colors to iTerm2

I've been looking for a iTerm2 theme that resembles the default purple Ubuntu terminal but have had no success so far. Does a theme for the standard Ubuntu terminal exist for iTerm2 or will I have to ...
0
votes
1answer
812 views

Recover files that were rm [duplicate]

Possible Duplicate: Can files deleted with rm -rf be recovered? How to recover files that are rm -rf? Because, I know they aren't deleted at that point. I am using OSX 10.7, is there an app I ...
0
votes
0answers
254 views

Xubuntu 12.04: Slow Login

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
0
votes
0answers
18 views

Ubuntu 12.04 - Terminal - Huge/Large text on each command line [duplicate]

Possible Duplicate: Is it possible to change my terminal window prompt text? I have been using "Ubuntu 12.04" for few days now (no previous Linux experiences at all) and I have noticed that ...
0
votes
1answer
225 views

Unable to see some Russian id3 tags in ncmpc

I'm running urxvt with the current env: $ env | grep LC LC_ALL=en_US.UTF-8 The problem is either with ncurses or ncmpc and I was wondering if anyone could shed some light on what the problem might ...
0
votes
2answers
886 views

New line when editing text files in ubuntu terminal?

I know that to symbolize a new line, I would do echo -e "line 1 \nline 2" > text.txt. I find that using \n repeatedly can be annoying, and I would to know if there a way to actually go down a line in ...
0
votes
4answers
959 views

iMacros-like program for terminal?

Is there such a program for Terminal like the iMacros plugin for Firefox, that can record what I did, then automatic do the work I have done? I hope that there is such a program to help me do the ...
2
votes
1answer
698 views

How to change the size of Linux terminal

I'm using Fedora on a laptop with external display via VGA. (the internal one is disabled, but will open when it is booting up) Internal 1024*400, External 1920*1080. The resolution is normal under ...
0
votes
0answers
12k views

Files on my Mac have disappeared and are not in the Trash

I had few folders where the contents are missing (Desktop, Documents, Download, Files and a few folders from Library/Application Support). I also realized that those folders are the first few in my ...
2
votes
1answer
2k views

Tab Auto-Completion in Mac OS X when using sftp in terminal

i have been getting very frustrated lately since the readline functionality has been removed from MacOSX and Tab Auto-Completion doesn't work anymore. So i was wondering if anyone knew a good ...
0
votes
0answers
26 views

Tab Auto-Completion in Mac OS X when using sftp in terminal [duplicate]

Possible Duplicate: Tab Auto-Completion in Mac OS X when using sftp in terminal i have been getting very frustrated lately since the readline functionality has been removed from MacOSX and Tab ...
1
vote
1answer
259 views

How do I correctly rebind select-pane commands in tmux?

By default, tmux seems to be using C-b, Left to move left a pane C-b, Right to move right pane ... I want to use C-b, h to move left a pane C-b, l to move right a pane ... Here's my current ...
1
vote
0answers
458 views

Ctrl-C does not work in tmux window

I have a Mini2440 ARM Board, and I have put a base Debian 6.0 system on it using multistrap. I have used tmux to run several processes in defferent windows from /etc/rc.local. I connect to the board ...
0
votes
1answer
949 views

Unable to run commands with “sudo” from my user

For some reason, I am unable to run any commands with su as my user. This was working before and I'm not sure what broke it. The funny thing is that I can su to root without any problems. Example: ...
1
vote
1answer
398 views

Obtain Users and Groups from Mac

How would I obtain the Users and Groups listed under System Preferences from a Mac through the terminal? I've tried dscl . list /users dscl . list /groups But they give me a list of system-ish ...
1
vote
0answers
1k views

Encoding over SSH Issues

I have a Linux machine and a Windows machine, both using Vim with the Powerline plugin. They both work great with patched fonts. Next, I want to SSH onto an OSX 10.6 machine and also use the Powerline ...
1
vote
1answer
22 views

Issues with git on Mac

I installed the command line interface from GitHub's site. I created a new folder to pull files down to and tried to initialize my folder by issuing the command git init but I get command not found. ...
8
votes
2answers
7k views

How to recursively move all folders one directory up back one directory

I have folders in scenery/terrain that contain folders called terrain and objects. These folders have folders with data files. How do I move all of the contents scenery/terrain/[name]/terrain to ...
2
votes
1answer
100 views

Using SSH, transfer webURL to remote machine

Hi so i was doing some research in the library so i could use some pictures later on my Desktop computer in my room. I have space on my Lab account which i usually SSH into, and i was wondering if URL'...
14
votes
2answers
19k views

How to cd into smb://user@100.100.100.100 from terminal?

I am using ubuntu and gnome on my computer. When I open up File Browser, on the left hand rail, I see conveniently a folder called "Work Server". When I mouse over it, the following caption appears "...
3
votes
1answer
3k views

256 Colors in Terminal over SSH on OSX 10.6

I am using either Windows 7 or Ubuntu 12.04 and trying to SSH into OSX 10.6. Using Vim color schemes, I can emulate the colors on xterm-256 color on Linux and gVim on Windows. However, I would like ...
0
votes
1answer
210 views

mac terminal run a file of commands

I am coming from Linux and trying to get a Mac to do what I want it to do. The question is what is the best tool to use. I want to mount (unmount) several remote disks. If I go into a terminal I can ...
1
vote
1answer
294 views

How to keep Ubuntu 11.10 and Kate editor w/terminal from changing command line when changing tabs?

I am programming C using Kate editor in Ubuntu 11.10. It works great, but when I change tabs in Kate, the terminal line changes to the file path of the tab I click on. Normally this is not a big deal ...
2
votes
3answers
508 views

Show all subdirectory in a folder and short the result by size

I'm using mac and I use sudo du -h to show all sub directories in a parent directory with their size. Is there anyway i can use to sort the result by size? I tried using sudo du -h | sort but the ...
5
votes
1answer
2k views

Ctrl-Z on an SSH session

When I SSH into another system and press Ctrl-Z, I expected the SSH client to go into background. However, it's the remote process that does that. Where does the magic happen?
3
votes
1answer
322 views

tmux can't handle short cuts that use my alt key

tmux can't handle short cuts that use my alt key For example: bind-key -n M-l next-window bind-key -n M-h previous-window I have noticed that when I type M-l and M-h in my shell I get these ...
2
votes
1answer
1k views

In OSX Terminal freezes on text select

Once in a while, if I've been using the terminal and click on it to select text, the terminal freezes, with the mouse pointer becoming the spinning wheel. Activity monitor also shows 100% CPU usage. I ...
2
votes
0answers
449 views

Why does this line appear every time I launch iTerm on my MacBook?

So I use iTerm on my MacBook Air and also my MacBook Pro. I've been playing around with .bashrc and .bash_profile and trying to come up with clever ways to configure things. At one point I decided I ...
1
vote
2answers
2k views

Close all Mac Terminal windows, but the one running a script

I am trying to create a shell script that runs a python simulation programing in 4 terminal windows. I have the script that launches the program four times in four separate terminal windows(total of ...
0
votes
1answer
83 views

Get the memory usage of the actual terminal

I'm trying to get the proceses of the actual terminal which are blocked, running, or ready for execution. I cant figure out to use ps or top... Can someone tell where to get that info from?
1
vote
2answers
193 views

Terminal based file browser, à la mocp [closed]

I'm looking for a file browser from the terminal. Ideally, a program that looks and feels like mocp (music on console player) dedicated to file browsing. Repeatedly typing in 'cd' and 'ls' in the ...
-1
votes
1answer
2k views

How to setup a serial terminal for DM500HD?

I need to connect to a Linux based STB (set-tob-box) over an emulated serial terminal. I'm not sure how to setup this connection. The manufacturer has given me this number to use: 115200/8N1. What ...
10
votes
3answers
53k views

How to open a particular file from a terminal?

How do I open a file from a terminal ? When I try to open a simple txt file like : open _b2rR6eU9jJ.txt I get this message : Couldn't get a file descriptor referring to the console Is that ...
2
votes
1answer
3k views

Mac OSX repair “staff” group

I accidentally removed the "staff" group from my Mac OS X 10.6.8 while trying to remove jenkins from it: $ sudo dseditgroup -o delete -a jenkins -t user staff I tried to repair this with $ sudo ...
9
votes
3answers
28k views

Ctrl+Alt+T doesn't open a Terminal in Cinnamon 1.6

I just updated to the stable version of Cinnamon 1.6 in Ubuntu 12.04 x64, but I found a bug which just get's me out of my skin. The key combination CtrlAltT which is supposed to open up the Terminal ...
3
votes
1answer
872 views

Is there any way to open an “incognito” Terminal/shell?

Under normal circumstances, a command typed in a Terminal/shell can be retrieved later via history command or other means. Is there any way to have an "incognito" Terminal/shell, i.e. one whose ...
2
votes
1answer
697 views

How do I “unbind” Ctrl+BackSpace in URxvt?

My URxvt is mapping the Ctrl+Backspace key combination to Ctrl+H. This is extremely annoying when using GNU Emacs. How do I change that behavior?
3
votes
3answers
463 views

Can I remove the ctrl-z key binding in my shell?

The background for this question: I currently have to do a lot of my work in terminal over ssh, and I use screen quite a bit. Because I found the ctrl-a key binding for screen commands so annoying ...
0
votes
0answers
91 views

OS X terminal always screws up its display of text when SSHed into other servers

When I'm SSH'd into any other server with Terminal.. Text will start display over hidden text, when I search through history, text will only show fragments. When I start typing, letters will appear ...
1
vote
1answer
358 views

Tmux causes Emacs glitch

Recently I started using Tmux, but I noticed that it causes a strange Emacs glitch. When I open source code for elisp or haskell, the comments aren't highlighted. Only the comment sign is (; in case ...
0
votes
3answers
650 views

ls -al Mac Terminal

I'm new in the use of the terminal. I have seen in a video that uses ls -al and I don't know what it is. I have found that ls -a is to list all the files even the hidden but I cannot find what does ls ...
1
vote
1answer
2k views

Batch processing with ImageAlpha

I am trying to figure out how to do batch processing with ImageAlpha. I really like this program, but I cannot figure out how to batch process. Just to be clear, I am trying to convert several images ...
0
votes
2answers
4k views

What command lists the files created in a specific month and readable for the owner?

I am supposed to find the command that lists all the files that are created in September and readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I ...
0
votes
3answers
219 views

Mac Terminal -bash warnings on start

Upon opening a new Terminal window on my Mac, I always get the following message - Last login: Wed xx xxxxx on xxxxx -bash: export: `-s': not a valid identifier -bash: export: `/Users/xxxxxx/.rvm/...
1
vote
1answer
206 views

What is the @ sign on the end of file permission on terminal?

I have a sound file in my app that the iPhone does not play. After checking other problems I checked the file permission in terminal. What I can see is that the file permission of this file has a- @ ...
0
votes
1answer
3k views

iTerm.app vs Terminal.app

So, I just downloaded iTerm2. I am using zsh in both the apps. iTerm seems to be faster than Terminal. What things matter when you have a wrapper application around a shell? I want to use iTerm but ...