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
0answers
11 views

Scrolling up in iTerm2 shows previous Vim sessions

In iTerm2 (Version 2.1.4), when I scroll up to see previous commands, I'm seeing chunks of previous Vim sessions, which I don't want to see. Any idea why that would be happening and how to fix that? ...
1
vote
1answer
17 views

How can I direct my output to screen and to file simultaneously?

Linux, (Ubuntu) here. Should be effective every time I open a new terminal. Output to file should contain all messages including errors and warnings, should be the same as shown in the screen. Can ...
0
votes
1answer
39 views

How to print full path of OSX applications

I would like to get the full path of OSX applications like Safari, Chrome, iTerm... As I see, OSX packages have a specific folder structure, and so, the main binaries will end up in ...
0
votes
2answers
713 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
1answer
40 views

Open very long name file with terminal

Is there is a way to open very long name file from command Prompt in easy way ? rather than start fileName.type
0
votes
0answers
46 views

How to arrange for the shell to autocomplete git branch names?

Is there a way to make the shell autocomplete git branch names like it does in linux(mint). While typing, for example, git push -u origin so<tab> in linux, this will give me all the branches ...
9
votes
4answers
265 views

How to quickly get the previous line output in a terminal without using a mouse?

Linux (e.g. Ubuntu) terminal, is there a method to get the last line? Say I am randomly typing a td command, which has not been installed on my system, so I will get a message like below. I would like ...
0
votes
0answers
44 views

How come I have to `source ~/.profile` every time I launch a new terminal?

When I launch my terminal and I do node --version I get 2. w/e Then I try to do nvm use 5.3.0 and it says nvm: command not found So then I have to source ~/.profile Then I can use the nvm ...
0
votes
1answer
266 views

Able to delete part of the system log files on Mac OSX El Capitan based on a time period?

I was wondering if it was possible to delete only a portion of the system log files on the Mac OSX El Capitan based on a time period? Say I want to delete all activities that occurred between 9am - ...
-1
votes
2answers
24 views

why is the grep command being echoed [duplicate]

I currently have something like this. I am attempting to find a process with a certain name >:~# ps | grep avahi-daemon 12499 avahi 3048 S avahi-daemon: running [BlahBlah.local] 12500 avahi ...
0
votes
1answer
24 views

Installation issues github program: truecrack

I am trying to install TrueCrack from github: https://github.com/lvaccaro/truecrack . As the description says I do this: cd truecrackDirectory ./configure --enable-cpu make However, when I do the ...
0
votes
2answers
52 views

Untarring into a temp directory, then deleting the directory

I'm a very new linux user, and I'm untarring a tarball into a directory, say that without smiling. What I want to do is create a temp directory with the mktemp -d command and use the tar command to ...
1
vote
3answers
68 views

What's “terminal” about CMDs\Consoles? Why are they called this way?

I'm trying to figure out why are CMDs\Consoles\CLIs\command-lines are often called "Terminal"? I know that they are first and foremost shells for an OS... And thus usually seen as a layer and not as a ...
0
votes
0answers
38 views

Macbook small "s” key doesn't work after opening a ssh session in terminal

I have a strange situation with my MacBook. When I open a terminal window, the "S" key works as expected. When I open a ssh session within the terminal window the small "s" key doesn't work. The ...
0
votes
0answers
23 views

Can't access command line of Raspbmc/Debian on boot by pressing ESC

I can't get to the command line by hitting Esc on reboot when prompted. Kodi version from the settings screen is "Compiled: Feb 2 2015)". I can't SSH in because my RPi isn't getting DHCP renewed on ...
0
votes
0answers
43 views

How to permanently change default spelling language for Office 365 on Mac via Command Line

I am forced to use Office 365 at work. In OneNote or Word I can change the setting to English ad hoc but whenever I start typing again, it goes back to Spanish. The only way is to select active ...
0
votes
1answer
30 views

Setup xterm-256color on Minix3

Problem I'm trying to setup 256 color on Minix3. I found that the xterm-256color file exists on /usr/pkg/share/terminfo/x. I tried to set it up in ~/.profile with if [ -e ...
0
votes
2answers
32 views

Write command output to a file and to std out/error

I have a command that I run a lot which I like to direct it's output to a file. I do this like so: runFooBar > output.txt 2>&1 Is there a way that I can write the runFooBar output to the ...
0
votes
1answer
290 views

How to display custom key icon on Terminal.app?

When sending a POST request to a server that requires user and password authentication, Terminal.app displays a blinking key icon which I believe is not Unicode. When asking the user to enter ...
0
votes
0answers
22 views

How to terminate npm install

I am running npm install usually I am pressing ctrl+c on Windows and it is cancelling the process. But it is not working for me on Mac. I pressed ctrl+c and ctrl+z and tried different similar ...
2
votes
2answers
129 views

Is there an OSX terminal command (el capitan) to disable / hide panes in System Preferences?

been Googling for the better part of an hour now and not too familiar with OSX ways of doing things via command line. If anyone has a great resource site for OSX system commands / switches that would ...
1
vote
2answers
50 views

Mac terminal prefix has been changed

I was using the terminal to verify some downloads today using SHA1/256 and my terminal prefix has changed to inside-167-7:~ [_name_]$ Previously, it contained system info. I have no idea what the ...
0
votes
0answers
12 views

KDiff3-style *directory merge* tool for the Linux terminal?

I need a nongraphical tool (e.g. ncurses-based), that allows me to merge large directory structures. Ideally, something as nice as Beyond Compare. Or at least KDiff3. I know there was such a tool, ...
0
votes
0answers
12 views

How do I break out of /home/reveller?

Ubuntu newbie here. I succesfully installed Ubuntu on a VM on Windows. I am now trying to run a localhost website using nginx. I have read tutorials online on how to create your website in /var/www ...
1
vote
1answer
49 views

Quit OSX Terminal on Last Window Close

I have my preferences set so that CTRL-D closes my current window, but I'd like the Terminal application to quit if I close my last/only terminal window. iTerm2 can do this. Can Terminal do it?
-1
votes
1answer
41 views

How do I create a new blank window in screen when I have multiple sessions running?

I'm running multiple concurrent screen sessions for a variety of projects. I'm attached to one and issue the command (Ctrl-A c) to create a new window. It creates the window, but strangely, it's a ...
0
votes
0answers
47 views

What is the client.exe on Windows?

I have been trying to use a package called terminal-plus of the Atom editor. One I install Atom, I can install the package with apm install terminal-plus. However, when I the tool, it freezes. If I ...
0
votes
1answer
78 views

Terminator/vim Mouse Issue

Let me start off with saying that I do try to use the mouse in vim as little as possible, but there are times that I will end up using it to click around or highlight something. With that said, ...
1
vote
0answers
66 views

iTerm2: Numeric keypad enter does not get mapped to <CR>

I've set up iTerm2 to map numpad keys to send correct xterm key codes as suggested in this answer. However, I have an issue with the Enter key: all I get is the bell in my shell. When I try to set up ...
0
votes
0answers
16 views

Use xbindkeys to auto-fill forms or output a template in the terminal

I would like to use some of the programmable G-keys on my G11 keyboard to output templates of commands in the terminal. What I tried so far: "xdotool type "TEST"" m:0x10 + c:180 Mod2 + ...
1
vote
1answer
51 views

Launching Finder in Mac OS X Terminal and highlighting specific files selected from the Terminal?

I have a script that creates a couple of files in the /tmp directory #!/bin/bash touch /tmp/file1.txt touch /tmp/file2.txt How can I make the script open the /tmp/ directory in Finder with the two ...
1
vote
0answers
63 views

How to paste passwords to terminal for use with SSH?

Hi I am trying to complete the overthewire challenges. They require you to extract passwords and login as different users to proceed. Passwords are quite lengthy and I am not able to paste the in in ...
1
vote
0answers
143 views

brew doctor errors - safe to remove files?

It seems that I made a mess as the brew doctor returns a number of errors: brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an ...
0
votes
1answer
19 views

Is there an easy way to create a drop event in a running GUI app from the shell?

Normally, I work in a terminal in a desktop window. I chat with co-workers in Slack, which is a GUI only app. I can share files by dragging and dropping them from Nautilus, but it would be nice if I ...
0
votes
2answers
24 views

Looking to adapt this terminal command to block pages, not full websites

I am trying to block a specific page on a website (a Reddit thread) from being accessed on my Mac laptop. It contains the answers to a mystery game I got for my fiancée, and I want to make sure she ...
0
votes
0answers
60 views

OS X 10.11 wrong encoding in terminal output in IDE (Netbeans, IDEA)

I have strange problem with encoding of polish letters in terminal output in Netbeans 8 and IntelliJ Idea 15. I can't figure out how to fix it. Maybe somebody would be able to help me. When I have ...
0
votes
1answer
141 views

Trigger an echo command after ssh in iterm2

I'm trying to trigger the following command after "ssh somehost": export PROMPT_COMMAND='echo -ne "\033]0;$HOSTNAME\007"' nothing seems to work, any suggestions?
0
votes
0answers
68 views

Mac terminal showing operation not permitted

I opened the terminal and tried to type in the commands but the terminal is showing the message login: -h option: operation not permitted [Process completed]. How to solve the problem?
1
vote
1answer
75 views

Terminal behaving strangely after resizing (no new line)

On Arch Linux with Gnome 3.18, I have the problem of terminals behaving strangely when I resize a terminal window and enter some commands, such as ls or mpv, for example, and resize again by dragging ...
-1
votes
4answers
84 views

Explain GUI-less to beginners

Yesterday I got asked: "why a server does not have a display?" and "why some applications have to run on the terminal, rather than having a nice look-and-feel UI/UX?" While I had my technical ...
0
votes
0answers
189 views

OS X El Capitan can’t find network share

got a little problem with my OS X El Capitan Mac Mini Server. There are a few users in the network with a statical IP range vom xxx.xxx.xx.1–255 and you can access those clients via terminal or the ...
1
vote
1answer
45 views

How can I navigate to a directory name with a special character

Normally, I'm used to navigate into directories in Linux using the cd command. Now, in a terminal, I need to get into a directory named -. I tried to navigate into the directory using cd -, but I was ...
0
votes
0answers
49 views

How can I enable cursor scrolling via mousewheel in emacs with urxvt?

mouse-wheel-mode is enabled in emacs, however the cursor does not scroll as it had in other terminal emulators, on other distros. I've done a lot of digging and cant seem to find the answer. Again I'm ...
0
votes
0answers
38 views

Non-latin letters shown bold in console when using ter-v16n font

I have to show various UTF-8 characters in my CentOS terminal and I'm playing with Terminus console fonts. If I'm using ter-u16n font I get properly drawn Cyrillic characters but available character ...
2
votes
1answer
36 views

Separate files by name into different folders

If I have a folder containing various files with the same pattern, for example: file1a file1b file1c file2a file2b file2c ... Is there a one-liner for separating them into folders named: ...
0
votes
1answer
59 views

Save shell execution output to file and display in terminal [duplicate]

I know you can save the output of executing a script/file to another file by using: ./script.sh >> script_output.log but this doesn't display the output in terminal during execution. Is there ...
0
votes
0answers
63 views

Error Resolving User Permissions + Zsh Command Not Found

This is the list of user permissions after logging them to the terminal: ➜ ~ ls -ld / /usr /usr/bin /usr/bin/manpath drwxr-xr-x 33 root wheel 1190 Nov 14 08:49 / drwxr-xr-x@ 11 root wheel ...
0
votes
1answer
215 views

Mac OS X external drive appears as empty in Finder, but when accessing from Terminal, files show up

How do I access my files visually from the Finder? The drive is mounted, it is not empty, it worked on a Windows PC. And, as stated, I can access all of the files using the terminal. A couple of ...
0
votes
2answers
81 views

How can i scroll up in text mode of linux

is it there any way to scroll up and view the contents of text mode?I was trying to view all the files listed as part of my directory I can scrollup and view the output of text mode,any way to scroll ...
5
votes
2answers
1k views

How does ping work over a proxy?

I'd changed my machine's proxy to connect to a network, but later when I came back to my home network, while chrome and other browsers could not connect, I could ping sites from the terminal and even ...