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
104 views

My cursor is at the beginning of my bash prompt. Any ideas why?

I'm using a slightly modified version of Gary Bernhardt's (destroyallsoftware.com) .bashrc with homebrew bash 3.2.51. # . ~/bin/bash_colors.sh . ~/bin/colorize.sh [... snipped ...] # ...
2
votes
2answers
361 views

terminal.app: how to read the terminal window title

I have seen many questions about how to set the tab (or window) name, but how to get it? I have setup terminal to open 8 tabs, each tab having its own name (dev1, dev2, ... dev8) Is there any way for ...
2
votes
2answers
1k 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?
2
votes
2answers
450 views

gnome-terminal - color palette

I'm trying to assign color palette on my gnome-terminal but it doesn't change at all... any clue? Screenshot > http://i.imgur.com/MXXhoOo.jpg Aditional info: Fedora 18 64bits (shiny new) GNOME ...
2
votes
2answers
286 views

Mac Terminal Forgetting Aliases

Every time I set a new alias in terminal and exit out it seem to forget them. Any ideas as to why that is? I had Git installed too, but whenever I try to use it I get a command not found error.
2
votes
2answers
210 views

Key bindings in zshrc do not take any effect

I have just switched to zsh, and I would like to bind Home, End and Delete keys such that they would act similar to how they do in bash. I have found some commands that work if I enter them directly ...
2
votes
2answers
307 views

How do I use non-latin alphabet characters in a framebuffer console?

How do you guys use Linux when you have lots of files with non-Latin alphabets, or even Chinese/Japanese? I don't have a problem with Windows, because I do everything in the GUI (it's hard not to), ...
2
votes
2answers
393 views

Emacs-style backward word delete in Vim through OS X terminal

Using vim through terminal in OS X, I don't seem to be able to bind meta-backspace to delete a word. I'm using xterm-color, delete sends ctrl-h, and I have 'Use option as meta-key' checked. This ...
1
vote
2answers
30 views

Connecting to server using ssh command in Terminal

I'm on a MacBook Pro running the latest OS and im connecting to a server in Terminal using the ssh command to connect to one of my university's servers. we connect using our username then must punch ...
1
vote
2answers
620 views

.bashrc: command not found

I am trying to edit my .bashrc config, but when I try to access the configuration with: computer:~ home$ .bashrc I'm getting a: -bash: /.bashrc: No such file or directory error. Why isn't ...
1
vote
2answers
38 views

how to log information when a file is executed

I want to log information when a file is executed and hopefully tail that information. What is the best way to log for example a timestamp and ip address when a file is being executed via ssh terminal ...
1
vote
2answers
156 views

Choose which binary is default binary on Mac OS X Mavericks

I have installed the latest SVN 1.8 via homebrew on my Mac. However now If I run svn --version I get back that I have 1.7. Next thinng I run which -a svn which then shows me I have it twice: ...
1
vote
2answers
118 views

Why do I see the unicode character è when I type Alt-h in my xterm on CentOS?

I am sshing into a centos box from an ubuntu box. I keep seeing è when I type alt+h (aka M-h). I want to use this key combo in tmux bindings but it doesn’t work because tmux doesn't recognize utf8 ...
1
vote
2answers
448 views

Concise IP information in OS X Terminal

Is there a command for the OS X Terminal that shows you only the most vital IP configuration information about your machine? I know there is "ifconfig" but that brings up a bunch of (in most cases) ...
1
vote
2answers
93 views

Message appears every time terminal is opened

On OS X Mavericks, whenever I open up iTerm (or the default Terminal), the following message appears: -bash: /etc/profile.d/sm.sh: No such file or directory -bash: /etc/profile.d/rvm.sh: No such file ...
1
vote
2answers
247 views

How do I launch a command file (e.g. *.sh) in a separate shell interaction utility (e.g. iTerm2) on my user's login?

iTerm2 is an awesome utility and makes my interaction w/ the command line much easier. There are a lot of update commands I run on a daily basis, and thought it would be amazing if those could be ...
1
vote
2answers
1k views

Adding highlight to ubuntu terminal

My current terminal looks like this: I know that I can change the font colour and the background colour, but I wanted to know if I can make the words be highlighted according to what they are ...
1
vote
2answers
295 views

Any way to wipe out everything I have installed via Command Line?

So I have borked my system. Running OS X 10.8.3, I have installed a mess of stuff; Ruby, RVM, Git, Node, Brew etc... As well as playing with dotfiles (http://dotfiles.github.io/) Which I really ...
1
vote
2answers
45 views

Logging into multiple servers simultaneously

We have a service which is a distributed system running across about 16 machines, each doing different things. When an operational issue is reported, I would ideally like our dev/ops team to be able ...
1
vote
2answers
282 views

Deleted system files in fonts folder, can't put them back

My friend decided to pull a prank on my computer the other day and I decided to return the favor. I came across a the idea to remove the files in his files in the /Volumes/System/Library/Fonts folder. ...
1
vote
2answers
129 views

terminate the background task launched by xterminal

I used Xterm -e command to run six programs in the background in six X terminals in my shell script. When I used PS command, I can see 6 Xterm process running in the background but I can't see the ...
0
votes
2answers
230 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
2answers
60 views

Pass mouse events through tmux

I have noticed that scrolling in tmux is a hazzle and was wondering if it was possible to have tmux pass them along to the application or terminal. I may be understanding things wrong here but I have ...
0
votes
2answers
53 views

Bash: What command can I use to redirect the entire contents of my current Terminal window to a text file?

Lets say, I have a bunch of text in my Terminal session since the window was first opened (or since the last "clear" command was used), and exactly all of that is what I want in a text file. Instead ...
0
votes
2answers
72 views

Add a newline after each terminal command except at the beginning

I want to add a newline after every command I enter in the terminal. Right now, I have this line in my .bash_profile file: export PS1="\n\u$ " This works as expected: However the issue with ...
0
votes
2answers
162 views

Open a Command in a New Instance of Various Terminal Emulators

I am trying to open a terminal emulator while simultaneously passing a compound command to it. What are commands for doing this (two versions: where the terminal stays open after completing or where ...
0
votes
2answers
40 views

Checking for changes on Linux live OS's

I am a novice to the terminal of linux live OS's (eg Kali Linux). Please advise what 1) in built programs (e.g. Syslog...), 2) Commands in the Terminal (eg ls, ps, md5sum, ...) one can use for ...
0
votes
2answers
130 views

How to Set my Mac $PATH back the way it was before in Mac OS X

I’m just getting started with “Terminal,” the other day I might have messed something up with my /usr/local/bin. When executing echo $PATH it returns me with: ...
0
votes
2answers
79 views

Mac OS .bash_profile errors

I'm running Mavericks 10.9.5 and I have tried to install Metasploit from this guide. It was until the Install Homebew I used echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile ...
0
votes
2answers
95 views

Terminal executes a seemingly arbitrary command when opening a new tab in Mac OS X 10.10

I’m on Mac OS X 10.10. All of the sudden, my “Terminal” started running a command whenever I open a new tab. This is frustrating because I'm used to being able to type immediately when opening a tab ...
0
votes
2answers
142 views

Load Images and play Videos online using linux terminal

I am using ubuntu 12.10 and I am browsing website using w3m module. But this module cannot shows images and play videos. Is there any way to load images and play videos in linux terminal?
0
votes
2answers
281 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
2answers
81 views

Can you see whats happening under the gui?

When I start application with gui from linux terminal, i am able to see whats happening iunder the gui in that terminal. And if it crashes, most of the time there is problem why did it crashed. So my ...
0
votes
2answers
111 views

Mac Terminal Hostname problems

I have an Imac with Yosemite installed with all latest updates. It uses a static IP. When I open up a Terminal window it appears like this: IMac\203975092370517331:~ peter$ This is very strange. ...
0
votes
2answers
565 views

Mac addresses of devices on network

I'm on OSX Mavericks. I'm connected via wifi to my network. How can I find the mac addresses of all other devices on the network?
0
votes
2answers
197 views

Copy shell configuration from one machine to another?

I've got login to another server where shell configurations are not like I would want. For example I don't see my username and CWD on prompt, and when I press arrow key, instead of giving last entered ...
0
votes
2answers
58 views

Why do I not have access to defined aliases on the server while connected via ssh?

Why do I not have access to defined aliases on the server while connected via ssh? How can I force the terminal to use their defined aliases?
0
votes
2answers
218 views

What are the differences between each virtual console (Ctrl+Alt F1 - F6)?

In Ubuntu, there are 6 virtual consoles, which can be accessed by pressing Ctrl +Alt + F1 - F6, and F7, to exit. What are the differences between these virtual consoles? Do they run different things, ...
0
votes
2answers
539 views

Undo chmod -R a+rwX command

How can I undo the following command: chmod -R a+rwX / I used it to modify some permissions, but it did not do as I had expected. I want to undo it, or at least reverse it.
0
votes
2answers
851 views

Guake transparency not working

I would like to recover transparency on Guake on my workstation (CentOs 6.4, linux 2.6.32-358.23.2.el6.x86_64) I use it for a long time on Suse or Ubuntu, I already know how to adjust transparency. ...
0
votes
2answers
4k views

Terminal fails with a “Could not create a new process and open a pseudo-tty.” message

Yesterday, I upgraded my Mac to Mac OS X 10.9 (Mavericks), and since then I couldn’t open the “Terminal,” each time I open a session, the following error is shown: [Could not create a new process ...
0
votes
2answers
452 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
2answers
145 views

Broken OS X terminal prompt after installing GRASS via homebrew

I'm using GRASS on OS X. After installing GRASS I can no longer open my terminal to a prompt. On opening the terminal, the following line runs by itself ...
0
votes
2answers
163 views

some environment variables not load under certain circumstances

It is most weird. I have set the environment variable TEST in .bashrc, .bash_profile, .profile, /etc/profile and /etc/profile.d/ - everywhere a sane computer might look for it: TEST=successfull ...
0
votes
2answers
325 views

How can I get the terminal in full resolution when running Ubuntu CLI in VirtualBox?

I've installed Ubuntu (latest version) with CLI only, inside VirtualBox running in Windows 7 x64. Switching to fullscreen (CTRL + F in my setup) works, but of course the terminal windows has a low ...
0
votes
2answers
656 views

Script to auto execute creation of ssh tunnel

I'm a CS student, and still learning a lot of these things, and so please bear with me if I don't have a full grasp on what I'm trying here. I'm on a Mac, connecting to a linux machine. I can set up ...
0
votes
2answers
24 views

Misplaced Terminal.app

How can I find Terminal.app manually? I believe that I moved it somewhere using a command line like this: sudo mv Terminal.app ./Desktop It didn't show up on my desktop, and it isn't in ...
0
votes
2answers
46 views

Regarding Backup While Using CP

I have some files on the Desktop /Desktop/F1/T1 /Desktop/F2/T2 I want to copy those files to another folder like Destination but If the destination contains a file with same name I want to backup ...
0
votes
2answers
849 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
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 ...