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

syntax on, syntax enable, vim

I am trying to find out how to make vim to remember the syntax enable command so I don't have to type it every time I open a new .c file. I bet there is a way, I tried looking at the documentation for ...
1
vote
1answer
27 views

how to remove user from user@user$ in terminal

as topic describes, I want to remove the user@user in my terminal and iterm. What's the best way to solve this. root@root-me$ ~ I just want ~ EDIT: I found out that if I change .zshrc ...
0
votes
0answers
36 views

Ncmpcpp not changing the window title correctly

For some reason, NCMPCPP will not change the title of the terminal window properly, no matter the emulator. I've tried using it in gnome-terminal, lxterm, xterm, and terminator, and it normally leaves ...
2
votes
0answers
13 views

How to add a 'greek' character in the path using cURL?

I have a Makefile where one of many tasks is to upload a file using cURL, one of these files, has a greek character in the name and when I try to upload using cURL, I receive this error: curl: (43) A ...
1
vote
1answer
38 views

Create banners in terminal mac

How do you change command prompt in mac terminal so that it looks like above? focused on this part: se@macbook ~/Projects where it has a triangle at the end
1
vote
2answers
83 views

Start a new session from within tmux with ZSH_TMUX_AUTOSTART=true

I have enabled tmux plugin in oh-my-zsh with ZSH_TMUX_AUTOSTART=true and now every time I open terminal I am attached to a session. That part is really nice. The problem is – now I can't start a new ...
0
votes
1answer
60 views

.tmux.conf: How can I conditionally set a color variable?

Sometimes I use a light-colored terminal, sometimes a dark one. I export a THEME environment variable to conditionally set colors in my .bash_profile and .vimrc. I'm trying to do the same in my ...
1
vote
1answer
22 views

Collapse long lines of output in terminal

I often have very long lines of terminal output with no \ns that are rarely useful and get in the way of finding the output I want (eg error logs or minified files that are matched by ack). Is there a ...
0
votes
0answers
157 views

iTerm2 performance vs Terminal.app

I prefer iTerm2 for its features, but Terminal.app outperforms it in terms of responsiveness. I mostly notice this in Vim: iTerm gets choppy during scrolling and/or rapid cursor movement. Is there ...
2
votes
1answer
58 views

Open a new terminal from within the terminal

when I work I usually have a terminal with many tabs open. For example, the first tab is for my web server, the second for the console, the third for the models etc. Every time I have to manually ...
1
vote
1answer
48 views

What is the difference between Ctrl+L and Cmd+K for clearing the terminal screen?

I've to realize that both of these keyboard shortcuts accomplish the exact same goal: clearing the terminal screen in OS X. The only discernible difference I can see is that the Cmd ⌘+K shortcut ...
0
votes
5answers
182 views

Is there any only-terminal linux live usb distro?

I was looking for distro with not GUI that I could use in a live USB. The idea is that when I turn the computer on and choose to boot from the USB I could get only a terminal from which I could ...
0
votes
1answer
36 views

Set different locale in terminals and KDE

My environment I'm using ArchLinux with KDE. What I'd like to do What I would like is to have KDE in my language (fr_FR) but all the terminals and tty in en_US (for debugging and having the same ...
0
votes
0answers
21 views

How to transverse to a long path using terminal easily using keyboard shortcuts?

Well i am a beginner to Linux environment and trying to learn some Linux commands . I find a difficulty to set my path to a particular path. When the path goes too big , I cannot type the whole path ...
0
votes
1answer
428 views

Terminal Server - RDP with local admin

I have a Terminal Server setup on Windows server 2008 R2. I am trying to log in to it with RDP, using the local admin account. (Not the domain admin) I have placed the local admin in the remote ...
0
votes
1answer
24 views

Making application globally available in Terminal

I've downloaded ffmpeg and placed it in a folder, say /user/bla. Now every time I wish to run ffmpeg, i need to enter system:random/path user$ /user/bla/ffmpeg [arguments] Can I make the application ...
0
votes
1answer
58 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
54 views

how to use fzf on Mac Terminal with bash

I found a utility called fzf https://github.com/junegunn/fzf which is a fuzzy-finder for your shell. Two questions: 1) After I run fzf and run a file, I press Enter and then the file I found is ...
0
votes
0answers
25 views

How to use bash to open several terminal instances

My current setup involves starting my computer up, loading several terminal instances, resizing them to fit in a grid, then loading a command on each to watch output Is there a way where I can set up ...
0
votes
1answer
100 views

How to add indent in Python 3.4 interactive mode Terminator Linux?

I'm starting Python from basics. The Python 3.4 Tutorial has an example for interactive mode: >>> the_world_is_flat = True >>> if the_world_is_flat: ... print("Be careful not to ...
0
votes
1answer
52 views

Not seeing Terminal colors properly in OSX

I'm a new OSX (10.9) user, and I wanted to setup the Terminal with a decent color scheme, but I'm not able to. I followed simple instructions here: ...
0
votes
0answers
5 views

Number of terminal rows in Kermit after closing editor

I am connected to an embedded computer target through its RS232, I am using kermit in a terminal. When I use ls, less, and other command line programs, the whole vertical size of my terminal is used. ...
1
vote
0answers
20 views

get in a command-line process with pid [duplicate]

is there a way to get in a command-line process with it's PID for example I started apt on a terminal and launched a new terminal is there a way to transfer the output to the new terminal with the ...
25
votes
3answers
3k views

Do text based browsers reduce network traffic?

Do text based browsers such as lynx, links and elinks consume less bandwidth than a GUI based browser (ie, Firefox, Chrome etc.)? I'm guessing no reduction in traffic. Rationale: I think a text based ...
2
votes
1answer
42 views

remove duplicate lines after first word in sentace linux terminal

I was looking to remove duplicates of lines of text but after a space from the first word in this format; apples blue apples green apples are sometimes red pairs green pairs black potato brown lemon ...
1
vote
1answer
51 views

2 large text files, find the lines that are not duplicate linux terminal

I am looking to find lines that are not duplicate, example; Text file 1: cats 3 dogs 8 mice 4 pigs 10 ... Text file 2: dogs 8 mice 4 cats 78 pigs 29 bird 6 ... Cats and pigs simply got changed ...
0
votes
0answers
38 views

Can't install PIP, Easy Install or Setup Tools on a mac

I am unable to install any thing on my mac via the terminal - Pip, Easy Install or the Setup tools for python packages. A screenshot of my terminal while installing the pip looks like this: Could ...
0
votes
0answers
47 views

Neither less or less -X clear screen on exit. (Trust me, I googled…)

Neither less or less -X clear screen on exit. At the same time, vim does.... Env iTerm2, protocol mosh, server Centos + tmux + zsh iTerm2: report term as xterm-256color tmux: set -g ...
0
votes
1answer
46 views

Bash scripts are not working but on mac terminal those commands in scripts works

I'm stuck with a wired problem.My bash scripts are not working now.It worked previously.I don't know why.Interestingly the commands on the script work when I enter it directly on the terminal. This a ...
1
vote
1answer
77 views

Copy and paste text by using mouse, just as the functionality works in UNIX

Please excuse my ignorance, and possibly laziness if a similar question has already been asked. I am a UNIX user, and I am new to MAC. I am so used to copying text on UNIX by just clicking left ...
0
votes
0answers
34 views

Send email from “mail” command line client from a specific address

I am attempting to send an email from the terminal app "mail" in OS X. I can do so, however I would like to send it from a specific address, rather than the .local address that it sends from by ...
0
votes
0answers
10 views

tmux freezed pane in copy-mode

tmux seems to have a limit on scroll backs buffer and block my process when it is full. Any method to prevent accidental blocking of process? Maybe auto quite the copy-mode when I disconnect? How to ...
0
votes
1answer
78 views

What file does OSX Mavericks look at to setup environmental variables for terminal

I changed something on my Mac and when I start terminal by simply clicking on the icon, none of the PATH variables are loaded to tell terminal where basic (or any commands) are. I have edited the ...
0
votes
1answer
67 views

vim's vimrc messes up vim completely

i am using manjaro linux, and i installed vim using $ sudo pacman -S vim then i modified my vimrc file $ sudo vim /etc/vimrc then i added some cool things: set background="dark" set number set ...
0
votes
1answer
73 views

Why is “java” a valid command in terminal (bash) if it is not in my path?

On OSX, in the terminal, using the command: echo $PATH Gives me the following output: ...
0
votes
0answers
132 views

iTerm/OSX Terminal: Change text margin from edge of window

Currently, I use iTerm on OS X. My terminal looks something along these lines: I came across this picture of a terminal setup on GitHub, and I wanted to imitate it: Specifically, I wanted to ...
0
votes
1answer
303 views

Fedora17: yum update not working

I am new to linux environment and I have been assigned the task of installing a browser in my system (which I feel a really tough work in linux as a first time user). When I am trying to run the ...
1
vote
1answer
82 views

What is the significance of baud rate in stty settings on linux?

I am wondering what the baud settings have to do with my terminal settings. How is the baud speed affecting my terminal? Shouldn't the terminal do more with CPI i.e. character per second settings? Is ...
0
votes
1answer
160 views

“mkdir: cannot create directory '/cygdrive/c/WINDOWS/system32/config' [..] Setting HOME to /tmp” when starting Cygwin's terminal

Suddenly I've been getting the following error when starting up Cygwin's terminal: mkdir: cannot create directory '/cygdrive/c/WINDOWS/system32/config': Permission denied ...
0
votes
1answer
167 views

connecting to wifi using ubuntu terminal

I would like to know how i can connect to wifi using ubuntu terminal...first i gave the command "iwconfig wlan0 essid key " but then it said that it doesnt have permissions ..so i added the "sudo" ...
3
votes
0answers
19 views

Terminal file find location [duplicate]

I am using a mac terminal (.command) file to launch a Python program. My question is, how can I find the location of the .command file when I am inside of the .command file. Thank you.
0
votes
0answers
15 views

Virtualhost.sh killing apache

I got virtualhost.sh working via homebrew for developing my websites with. I was able to create virtualhosts absolutley fine and had multiple sites running magento and wordpress. Unfortunately i ...
0
votes
1answer
87 views

mac how to run a command in a different tab/window of a terminal

In Windows, I can run any program from the command prompt by typing c:> start startup.sh and windows will run the startup.sh in a different command prompt(terminal) window. How can I do the ...
0
votes
0answers
41 views

TTY doesn't scroll

I dpkg-reconfigured console-setup on my Linux Mint 17 install. Now when running long-output commands, such as apt-get, the tty doesn't scroll at all. If I hit enter a couple of times, I get new lines, ...
0
votes
0answers
36 views

Cannot enter terminal commands in PowerCmd

I recently started using PowerCmd. When I type "python" or "node" in PowerCmd I get into the respective terminal but I don't see what I type. It does appear however when I Ctrl+c to quit the terminal. ...
1
vote
0answers
37 views

In the Terminal is there a way to search for a command you previously entered? [duplicate]

In the Terminal is there a way to search for a command you previously entered? Say you typed something in just a moment ago, you can press the up arrow. But if you typed it in hours ago, or a day ...
0
votes
1answer
135 views

Open Macvim within terminal without opening a new window

Every time I try to edit a file, I do mvim file.txt in the terminal then a new MacVim window pops up. But if I do vim file.txt, it will not open a new window. Instead, it will initialise vim within ...
0
votes
1answer
57 views

How can I ring the audio bell within a bash script running under gnu screen?

In a konsole terminal window outside of screen running a bash shell with TERM set to konsole-256color if I type: echo -n $'\a' or echo -n $'\eg' or ./ringbell where contents of ./ringbell is ...
0
votes
0answers
34 views

Killing a windows terminal opened by MobaXTerm

So i am using MobaXterm to run weblogic server. I believe MobaXTerm spawn the terminal in the background. closing the window in MobaXterm doesn't close the terminal ... because when i tried to re-run ...
0
votes
1answer
26 views

How can I tell if “badblocks” is still working?

I started "badblocks" without any options on my 1 TB external harddisk as below: >> sudo badblocks /dev/sdb Its been running for the past three days, and all what I can see is a long column ...