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

When typing in a command, my terminal will often times wrap around

So I'm having a really weird terminal problem that affects both physical login sessions as well as sessions over SSH. Basically, the terminal size is some number of columns. When printing stuff out, ...
1
vote
2answers
32 views

What was the SquashFS compression method?

I've got some SquashFS files, and I'd like to know how they were compressed so that I can have a rough idea of how they would perform when mounted. The only binaries provided by the squashfs-tools ...
1
vote
0answers
12 views

How does OS X's Terminal pass the new tab's dir to login or bash?

In OS X, you can add a shell to /etc/shells and set it as a user's default shell, such that when they open the terminal they are presented with that shell. In addition, When you have the option to ...
0
votes
0answers
5 views

OS X terminal.app selection color when window inactive

I am using a solarized color scheme in terminal.app. When I select text it looks great, and I am able to change the color of the selection in the preferences. But when I move focus to another ...
1
vote
1answer
26 views

Mouse tracking control codes for terminal using bash

I'm making a bash implementation of curses as an expermient for fun. I use infocmp to get the ANSI terminal codes. I'm a bit stuck now at how to enable mouse tracking in a cross-console way. I could ...
2
votes
0answers
34 views

Bug with resizing panes in tmux when using ZSH

I am using Tmux with ZSH and have a problem when trying to resize panels. I am currently using these bindings to resize panels as I work: unbind-key M-j ; bind-key -n M-j resize-pane -D 1 ...
2
votes
1answer
10 views

Is there a way for me to manage my iCloud settings from the terminal?

I am running OS X Yosemite 10.10.3 and would like to administer my iCloud settings (login, which services - Mail, Calendar, Notes - should be used, etc.) Is there a way for me to manage this via the ...
1
vote
1answer
16 views

Color scheme(s) in Vim not properly working

On Archlinux, using Vim 7.4 (installed with pacman), I tried to use the lucius color scheme. However, the moment I turned it on, all color went away. This happened in the Xfce Terminal emulator under ...
0
votes
2answers
23 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
0answers
18 views

Mac OS X Terminal, shows special characters like slash, space etc as strange character codes after using localedef

I have recently used localedef command to add support for the multiple locales. After doing that I noticed on my terminal for every space, backslash, forward slash etc… it is instead showing UTF code ...
0
votes
2answers
14 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
0answers
19 views

Enable tab autocomplete in PhpStorm terminal on mac?

I am using PhpStorm for a pretty big project. We use Git for our versioning control. Needless to say, this leads to me switching back and forth all day between branches. I'm using the terminal window ...
0
votes
1answer
17 views

How to switch between command-line and GUI in VM on a Mac?

I have installed CentOS 7.1 in VMware Fusion of my Mac. I logged into the terminal (default runlevel 3) and started the GUI using the command "startx". I want to switch back to the terminal. ...
2
votes
2answers
42 views

SSH to access remote screen without X

I need to access a remote computer (which is attached to a screen), using SSH - the problem is that the programs I start via SSH need to be shown on the remote screen (tail, htop, slurm, ...) The ...
0
votes
2answers
32 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: ...
1
vote
2answers
24 views

command line terminal in mac os x shows wrong version of Java

I have installed Java 1.7 on my mac at /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home In Command line I set the java version as export ...
0
votes
0answers
29 views

Change OS X Internet Sharing Wi-Fi hotspot password from terminal

I have Mac and use it as a hotspot. Is there any way I can change the hotspot's password from terminal?
0
votes
0answers
15 views

POSIX and ACL permissions Mac Server

I have a mac mini server and have a script run at login for network users that mounts a shared drive on the mac server. When they mount up, I create a folder with their name as the folder name. What ...
0
votes
0answers
23 views

Unable to start libre office from terminal

I need to start libre offices impress via SSH on various raspberry pies, each displaying a set of slides on its own screen. Now my problem is that, when I run loimpress --show file.odp it states ...
0
votes
1answer
39 views

Ctrl+Shift+C/V does not work Debian 8 Jessie

I’ve just installed Debian 8 Jessie with Cinnamon 2.2 and launched gnome-terminal. But I can’t copy/paste text using keyboard: pressing ctrl+shift+C/V only causes language switch. What can I do to fix ...
1
vote
2answers
38 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?
0
votes
1answer
18 views

Launching “emacs -nw” with 256color on a new xfce4-terminal

I have a litle question about launching emacs using this command xfce4-terminal -e "emacs -nw" I'm using TERM=xterm-256color in my .bashrc but it has effect only when i first launch a new ...
0
votes
1answer
28 views

How to find the name of the user that has been logged in the longest?

I need to determine the user who has been logged in to the Linux server for the longest time. Can't come up with the right commando. Any help is appreciated.
0
votes
1answer
22 views

Controlling tty / terminal output from other session / shell

We are told that a tty can control at most one session and furthermore that ttys can be controlled not to allow background process groups within its controlled session to write or read from it, the ...
0
votes
1answer
28 views

How to enter into process running on gdb?

So I was trying to debug a program that runs on two node. I use yod as task launcher. yod -hosts node01,node02 ./dist_task -nl 2 The program is stuck. So I wanted to use the gdb like this yod ...
0
votes
1answer
16 views

separate mappings for TAB and C-i in .inputrc

For what I have tried, "TAB" and "C-i" in .inputrc seems to mean the same thing, whatever I bind to one is bound to the other. I know that originally, it was the same thing and that this behavior is ...
0
votes
1answer
21 views

FreeBSD bash history: can't access last symbol of command

There's an old server I am working with, runs modified FreeBSD 6.1 with bash 2.05b.0(1)-release. On 'up' key press the last command from history pops up - but I can't access the last symbol, like the ...
0
votes
1answer
19 views

Cat and/or echo several things into one file on “one command line”

I know we can do things like this: stat -f%z mybigfile > RELEASENOTES.txt and echo "bytes" >> RELEASENOTES.txt Now RELEASENOTES.txt will look like this: 47556304 bytes How can I get ...
0
votes
1answer
24 views

How to show path in shell, but only a fixed number from pwd?

Basically, I want to display something like: me@host.serv.com:../projects/1234/source$ cd cpp me@host.serv.com:../1234/source/cpp$ instead of: ...
5
votes
1answer
84 views

Terminal error messages are not in English [duplicate]

I have Ubuntu 15.04 installed on my machine. Currently terminal error messages are not in English (actually they are in Russian). For example, $ mmmm mmmm: команда не найдена I want to see $ ...
0
votes
0answers
9 views

Terminal keeps on slowing down or freezing OS X

For some reason, the terminal app started to work very slowly and freeze lately. This has been an issue for a week or so. I am using it in a fancy transparent/blurred profile, but I can check from ...
0
votes
1answer
30 views

Why keys like Esc, Ctrl, Shift and Alt does not work in SSH session from my Windows PC?

I am working on Windows PC. If I open a terminal (with putty or ssh) to a linux (CentOS) maschine, I can't get keys like Esc, Ctrl, Shift and Alt to work. I need them for Midnight Commander (currently ...
0
votes
0answers
45 views

Is it possible to put a white border to the text in a terminal window?

I use the terminal a lot, and having the same terminal design gets boring. I set the background to those cool default desktop images, and every terminal window is a random image. The text is hard to ...
0
votes
2answers
35 views

How to use the mouse to scroll up/down in MacOS Yosemite Terminal when vi is open

In MacOS X, pre-Yosemite versions I could open vi in the Terminal window and scroll up and down the history of the Terminal. The vi lines in this case did not scroll. To scroll I used the ...
0
votes
1answer
14 views

Program built from source is unrecognized by the terminal but if i do it with sudo

i've built a program from source in /usr/local/sbin but now if in a terminal i write "program-name" the terminal say that the command was not found. The program is seen by the terminal only if i do ...
1
vote
1answer
27 views

Hiding internal work outputs by shell script

I make a shell script that can update a tools. I want that when i run the root@host:# sh script.sh then the output will be Its installing Its done But now my script look like root@host:# sh ...
3
votes
3answers
119 views

Prevent fork bomb when using interactive commands (like script) in .bashrc

I've often wanted to log the output of Terminal. So I tried to set script to run at startup; in my .bashrc file I put: script ~/Logs/$(date "+%Y-%m-%d.%H-%M-%S") Because the commands in my .bashrc ...
-2
votes
1answer
38 views

Download multiple files from the internet using ftp command

There are many posts about this but mine is different. There are a number of mp3 files in a remote server in the internet. I can listen to each music like: http://www.blahblah.com/demo/A1.mp3 When ...
0
votes
0answers
14 views

how to keep bash buffer in sync between ansi-term line mode and char mode

when switch into term-line-mode, if bash buffer is not clear first, the original text will be left in the front of edited line, I tried to first kill the line in term-char-mode then paste it in ...
1
vote
0answers
21 views

slow scroll in ssh connection after a while (why?)

Remote server with screen. After some time any command with a lots of lines of output causes significant scroll lag. It happens with different terminal emulators: konsole, xterm, lilyterm, ...
0
votes
0answers
24 views

How to run specified terminal command from context menu on right clicked folder?

I'm quite happy I found out about Finder > right-click > "New Terminal at Folder". To make it perfect, I'm looking for a way to run a specified command right after. Automator doesn't seem to have such ...
1
vote
1answer
24 views

How to zip a folder in osx excluding the “Icon” file?

I have been trying to zip a folder using the terminal and excluding the Google Drive pesky "Icon" file. This is the command I tried using: zip my-zipped-folder.zip -r folder-to-zip/ -x "Icon" ...
0
votes
1answer
26 views

bash script to call two functions, consecutively, each with its own argument

There are a lot of similar questions, but I cannot find an example of what I am looking for, nor in the Bash scripting guides (I'm sure it's there but its a big book...) What I want is this: I have ...
0
votes
2answers
34 views

In a Terminal profile, how can I set it to cd right after ssh connects?

I'm on OS X, using Terminal (bash) to connect to my web server. I'd like to set up the Profile so that it opens to a specific subdirectory after ssh connects.I don't always want to start in this ...
1
vote
1answer
199 views

Add minimize and maximize buttons in Debian 8

In previous versions I could do this with gsettings set org.gnome.shell.overrides button-layout close,minimize,maximize: but now I get error no such key "button-layout" In GUI there is no ...
2
votes
1answer
24 views

mac find -name *.png does not work [duplicate]

I am trying to recursively search for a filename ending in .png My find command works fine for *.js, but not for *.png. ~ >find dev -name *.png ~ >find dev -name bluerightarrow.png ...
0
votes
3answers
26 views

Listing File Names without Extensions in Terminal?

I'm using a mac. I need to get a list of files in a folder without their extensions being included in the list. This is because I need a list of products for a website import and conveniently, the ...
0
votes
1answer
22 views

Debian, doesn't work the option “Open in the terminal”

Opening nautilus and using the usual right-click and then clicking on "open the terminal" nothing happens. This has happened after (I think) the daily update of Debian or the installation of ...
1
vote
2answers
28 views

Launch interactive shell command as an emacs buffer

I'd like to run a shell command that asks a few interactive questions before proceeding, from within Emacs. The functionality I'm looking for is like xterm -e <command>, only with an Emacs ...
1
vote
1answer
37 views

Looking for shortcut key for Linux terminal [duplicate]

I opened a program via linux terminal, and after some search in Google I find out that I can close the program by Ctrl+C. If I want to run the program, but at the same time have a new line in the ...