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
2answers
33 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
364 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 ...
1
vote
0answers
28 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
147 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
57 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
51 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
42 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
64 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
86 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
75 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
18 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
52 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
77 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
165 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
42 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
25 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
65 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
162 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
78 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
83 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
199 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
57 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 ...
1
vote
0answers
45 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
66 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
71 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
267 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
103 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 ...
1
vote
0answers
35 views

cp -r is copying over files that don't exist

I'm trying to copy the contents of one directory to another using: cp -r ~/dev/testing/app/ ~/dev/app/ It works, but it's copying over files that don't exist (at least visually). For instance ...
0
votes
1answer
31 views

how to zip a directory with its files using Terminal on Mac

i am trying to zip a folder with files in terminal using zip -r myzipfile.zip myDir but this doesn't include the files What should i do ?
0
votes
0answers
119 views

iTerm2 color scheme not working

I have trouble setting up colors for iTerm2. I have already checked this answer and done everything it says: Color scheme not applied in iTerm2 But iTerm2 does not show any colour, besides white ...
7
votes
1answer
178 views

How to make copying command from website to terminal secure?

Today I found intriguing example website-terminal-copy-paste. For example you may need to clone git repository. In webpage it looks like: git clone git://git.kernel.org/pub/scm/utils/kup/kup.git ...
1
vote
3answers
27 views

How to combine unzip and cat to work as one in the terminal

I work for a webhost as a front level tech and often we need to install a SSL for a customer. I'm on a Mac now but am familiar with Linux as well. What I'm looking to do would be to take the zipped ...
-1
votes
3answers
48 views

Remove all files but one folder with rm

I want to use rm -rf to remove files/folders inside a folder, but skip or ignore a specific folder. It has been suggested as duplicated to another quesiton, but that is not the case. The other ...
0
votes
0answers
98 views

Launch mstsc (Remote Desktop) on Terminal Server and pass parameters

We have VLAN 1 and VLAN 2, with some clients on VLAN 1 and some servers on VLAN 2. The clients should be able to RDP into the servers. We have installed a Terminal Server with access to both VLAN 1 ...
0
votes
2answers
294 views

Command Line: z is installed but can't find the command

I recently installed iTerm2 and ZSH (with oh-my-zsh) after some months of very light usage of the stock Terminal on Mac OS. I heard of a tool called "z" and installed it via brew with brew install ...
0
votes
1answer
143 views

Batch run multiple commands in a new shell

I'm trying to open a new Konsole and run multiple commands on it basically from my opened terminal shell I need to: Open a new terminal shell Set environment located in a specific folder Run gedit ...
0
votes
1answer
136 views

How to make `git log` show colors correctly in MobaXterm?

I tried git config --global color.ui auto, but it made no difference—the git log output is still full of [[32m, [[m, etc. How can I make git log (and any other commands with color output) show up ...
0
votes
0answers
36 views

Find doc/docx/txt/rtf/ file containing 12 strings/words only - MAC OS

This is a strange request and I'm unsure if it's even possible but Google led me here through a not so similar question and so I thought I'd ask. I basically need to find a text file on my computer ...
1
vote
2answers
112 views

Cygwin opening wrong terminal from taskbar

I've installed Cygwin on a Windows 7 machine. The other day, I used the Cygwin installer to update and install a new package. After that, the Cygwin icon on my taskbar opens some other terminal that ...
3
votes
0answers
107 views

Howto Emacs nyan-mode image in console

I have emacs’ nyan-mode working in my OS X desktop emacs (24.5). But I’d very much like to get that working in my console emacs. I’m using: Ubuntu Server 12.04 LTS (precise), in a Vagrant VM. (OSX) ...
0
votes
0answers
59 views

Erroneous Space in Powerline Bash, in Tmux

When running powerline in bash, in tmux, I see an unnaturally large space after the prompt. I thought it might be a font issue, but the shell is handling the font ok, when not in tmux. Any tips on ...
1
vote
0answers
25 views

How to make an interactive subshell in tcsh?

How can I make an interactive subshell in tcsh? E.g.: % alias pathfrom 'cd `pathto -f`' ... where "pathto" is a script that asks the user (via STDOUT) for input (via STDIN) and prints a string in ...
1
vote
2answers
107 views

Show keys pressed in custom console

I have a custom client that connects to remote Ubuntu via websocket and runs bash there. But keys like Del, Arrows etc. don't work. How can I output what is being received on the server side? None of ...
0
votes
1answer
59 views

ssh port forwarding through a pseudo terminal

Here's a situation: I do all my work on a Mac. There's a certain linux server 'server01' that provides access to another linux server 'server02' via a pseudo terminal So, to ssh into ...