Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [terminal]

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, ...

-1
votes
0answers
50 views

auto pagination of terminal output

Octave has a feature to automatically paginate output that is longer than what fits on the screen: How can I achieve the same in a terminal? The accepted answer to a similar question suggests making ...
0
votes
0answers
20 views

OSX Terminal: copying files to identically named subdirectories [on hold]

I am trying to mirror several hundred directories from an enormous hard drive onto another. The directories are identically named, but I only want to copy certain subdirectories (called "Audio") ...
0
votes
0answers
32 views

Vim in terminal behaves middle-click as paste

In normal mode of the Vim, I'm expecting middle-click to send the selection text as Vim's command but Vim automatically insert the text to the buffer. How can I avoid this behavior? For example, ...
1
vote
1answer
40 views

How do I exit from the Terminal in Windows Subsystem for Linux?

I have installed Windows Subsystem for Linux (WSL) on my Windows operating system and am able to see Terminal in Visual Studio Code Editor. So I typed help ssh command and hit enter, since then I am ...
0
votes
1answer
30 views

MobaXTerm : How to change mouse scroll in to terminal screen scroll up/down?

The default behavior is history commands scrolling. Any way to change it?
0
votes
0answers
11 views

Installing PHP 7 on Mac OSX so I can use Composer, why an I stuck at PHP 5.6?

I am trying to install php 7 so that I can use Composer. I am running Sierra 10.12.6. After a restart, First, I tried to run Composer with: Mac [508]$ composer require --dev phpunit/phpunit ^7 ...
1
vote
0answers
16 views

How to modify the behavior of the commands that delete “words” to the left

I've recently tried switching from being a long time tcsh user to bash and I was lamenting the extra key tapping for deleting "words" to the left, so I've been looking into modifying the behaviors in ...
0
votes
0answers
17 views

Checking Terminal Traffic | Using Proxy

As we all know using Proxy in Kali Linux simply will not pass all your system traffic via Proxy. In General Cases, the FireFox(Internet Browser) will pass its traffic using proxy. Meanwhile, i need ...
1
vote
0answers
21 views

Detach a terminal from a process in D (uninterruptible sleep) state

I have a shell command in stuck in D state (imagine doing ls on a NFS share when the network is down). How do I detach from such a command? I can't kill the process in any way (well, it's called "...
-1
votes
0answers
14 views

MacAir on 10.13.4 suspected root manipulation; terminal and console [closed]

There is a saga of amateur investigation into this; I suspect a former partner made themselves the root admin and changed all sorts of rules, etc. I've shut down all the ssh/vrm etc, and am trying to ...
2
votes
2answers
32 views

How can I hide the MacBook name and path name in terminal initial line?

When I run terminal I see my username and the path Marc-MacBook-Air:~ Marc$ Can I change it? Iso how can I change it into? Marc$
1
vote
1answer
11 views

How to disable the bash “bell” on ConsoleZ?

I am using ConsoleZ to work on multiple Cygwin bash terminals. I use the Teb extensively for path completion. But by default, the "bell" sound is heard whenever the completion is not unique. This ...
0
votes
0answers
19 views

how do I enable the “VNC viewers may control screen with password” via Terminal in Mac OS?

screenshot of the settings in the UI I am trying to enable the two highlighted checkboxes with a Terminal command that needs to be specified in part of a shell script. I have tried several different ...
2
votes
0answers
17 views

Show file's history in Time Machine via Terminal

I've checked online about Time Machine via Terminal, and I could not find this use case: Given a file path, show me a list of the file's TM backup version with their dates. The real use case is to ...
1
vote
1answer
48 views

Safely Transition from RS232 “Dumb Terminal” to RJ45 Telnet/SSH

An HPUX 11i network, running on new hardware, for what they call “mission critical” operations at a unique business, terminates for the user at Sherwood 7000STs. While functional (and lightning fast ...
0
votes
0answers
7 views

Black screen and loud fan after typing exit command in a terminal

I’m on Linux mint 19 with boot into terminal. I went to CTRL+ALT+2 and logged into the terminal, then typed exit to log out, but instead the screen went black, the pc started working really hard, and ...
0
votes
1answer
20 views

How to boot into terminal on Linux Mint XFCE?

I have a Linux Mint XFCE system running on a lenovo z70. I've been trying to boot into the terminal on startup (but still allow me to start the graphical interface with startx if need be). Changing ...
0
votes
2answers
58 views

Will “rm -r ~/Library/Application\ Support/Grammarly/” cause a catastrophe?

Just received some “expert” tech support due to a botched grammarly release. Expert told me to: rm -r ~/Library/Application\ Support/Grammarly/ Beyond the fact that I’m 90% sure this person meant ...
0
votes
2answers
28 views

Preview current directory in shell

What often happens when I work in a shell - zsh - is that I have cded somewhere and I want to have a quick look at the directory. Using ls may produce a lot of output and leaves it in the terminal. ...
1
vote
2answers
37 views

See if Minecraft Server is online with Linux Terminal

a program I'm writing for someone needs to be able to tell whether a Minecraft server is online or not. It would also be great if it could tell how many players or what players are online. I'm not ...
5
votes
1answer
90 views

Less seems to no longer accept mouse-scrolls in the Terminal in macOS

For a few years now, Terminal.app in macOS has supported mouse-scrolling with the less program, but today I noticed that it is no longer accepting mouse scrolls, and only works with the Up and Down ...
0
votes
1answer
115 views

How do I lock the terminal screen from the terminal?

Related to https://askubuntu.com/questions/7776/how-do-i-lock-the-desktop-screen-via-command-line but not the same answer. How do I lock the terminal screen from the terminal in Linux? On HP-UX it ...
1
vote
1answer
36 views

How do I launch a cmd prompt from another cmd prompt at the same location on Windows 10?

In Mac, if I am in a running terminal window, running, say, a jupyter notebook, I can click Cmd + n to get a new terminal window at the same location. How do I do the same with command windows in ...
0
votes
3answers
70 views

Why is the command history only saved on exit

I am trying to save a different history file per tab / terminal but I cannot manage to save it immediately after a command is run. The history is just saved when I run "exit". This is a problem as ...
0
votes
0answers
12 views

mlterm not showing Korean Hangul alphabet

On this Lubuntu 16.04, LXTerminal can print any Latin and Hangul symbol, but mlterm shows Latin characters only. How can this terminal (version 3.5.0) be parameterized to display also Hangul? (I mean, ...
1
vote
0answers
30 views

$RANDOM in $PS1 is not updated

I am currently trying to create a custom bash prompt, but $RANDOM is not behaving as i would expect, and I hope someone in here can explain why it is behaving as it does. I currently have a very ...
0
votes
2answers
49 views

'ls' command very slow

I have about 17k files in a directory. When I run ls directory, I have to wait for about 15-20 seconds before the results are displayed. On the other hand, when I run ls directory | wc -l or ls ...
0
votes
0answers
9 views

Putty closes on detach screen

In my putty-ssh session on Windows OS, I enable the screen using 'screen' then, run my python script. If I now try to detach the screen using 'Ctrl+A' and 'd', the screen detaches successfully but my ...
0
votes
1answer
17 views

Make links open new window in specified terminal

I use links browser for occasional browsing. Links has an option to open a new window. This can be done by pressing Esc and going to File -> New window. This will cause links to open in another ...
0
votes
2answers
28 views

Flexible renaming in terminal

Say I have a folder with some files: /Users/user101/Temp/rentest: ls fi_name1.txt fi_name2.txt fi_name3.txt I am looking for a flexible renaming method. For example if I do: /Users/user101/Temp/...
1
vote
0answers
47 views

Tools for converting 8-bit C1 control characters to ESC sequences?

The ECMA-48 ("ANSI escape sequences") standard describe two ways of encoding the C1 set of control codes: using 2 character ESC sequences, or alternatively, using 8-bit control characters. Wikipedia ...
1
vote
1answer
31 views

How to launch more than 6 virtual terminals in void linux

I would like to have more virtual terminals start at startup. I want to be able to use runit and do ln -s /etc/sv/agetty-tty7 /var/service/agetty-tty7 ln -s /etc/sv/agetty-tty8 /var/service/agetty-...
-1
votes
0answers
13 views

Open Rnw file from terminal

I looked at How to open a particular file from a terminal? to get my question answered but that didn't work (that is for .txt). I want to open a Rnw file (knitr, R) in terminal and modify the set....
1
vote
1answer
36 views

Terminal doesn't show the server name after using ssh - Centos7

Please notice that I don't have any problem with hostname and I can change the hostname by configuring /etc/hostname , and it is easily shown on the terminal. My problem: I just setup two servers on ...
0
votes
1answer
29 views

Zsh terminal not working correctly in fresh Manjaro install

recently I've been experimenting around with different Linux distros, I settled with Manjaro Linux. First I installed it on my laptop, everything went fine. When i was prompted to choose a terminal ...
1
vote
1answer
30 views

Weird file not found in WSL

I can open files with Vim, but i can't compile them with cc every time it says: cc: error trying to exec 'cc1plus': execvp: No such file or directory files are also listed in ll
0
votes
0answers
30 views

set “change input source” shortcut from terminal

I would like to have the defaults terminal command to set the keyboard shortcuts for selecting the next or previous input sources for the keyboard. They can be changed graphically via system ...
1
vote
1answer
65 views

How to switch between terminal, nerdtree and text editor?

I normally switch screen in vim using ctrl+h or ctrl+l to switch between NerdTree and vim main window. Vim8 got :term command to bring up terminal which is great! But I cannot figure out how to switch ...
3
votes
1answer
68 views

Why does iTerm paste when I left click in the terminal

Every so often I come back to a iTerm2 (v3.1.6) terminal window and for whatever reason when I left click anywhere in the window it will paste whatever is on my clipboard. This has happened many times ...
0
votes
0answers
29 views

GNU Screen utility on Mac OS

I've often used the screen utility. When I wrote screen command into the terminal, I saw a welcome page. But now I can't see that message, just nothing happened. I can only close by pressing "Ctrl+Z"....
0
votes
2answers
34 views

Mac terminal isn't recognizing wild card

I'm trying to write a script that shrinks all the images in a folder. From here I got this: for i in *.png; do sips -Z 800 "${i}" --out "${i%png}"; done but I keep getting this error: Warning: *....
0
votes
0answers
16 views

Maximize an already running/minimized program using terminal

Is there a terminal command to open an already running and minimized program in Ubuntu? I listen to Spotify when I work and I want to use one of the FN keys to pull up Spotify on the screen on some ...
-3
votes
2answers
212 views

How do I access the /usr directory on macOS?

How can I access ALL of the directories in the terminal in macOS? (usr, etc, dev and so on) macOS is hiding them. Is it possible to access them in the Terminal program on macOS, or does Apple not ...
0
votes
1answer
60 views

iTerm window highlighted on the current line

I do not understand why the active terminal command line is highlighted. I am using iTerm2 and also have zsh and oh-my-zsh installed, but even after disabling them I still see this. Any ideas?
1
vote
2answers
25 views

How can I remove the excess information at the beginning of each line in OSX terminal?

At the beginning of every line in my OSX terminal are the words Sephs-MacBook-Pro:current_dir seph$ I'd like to trim it up somehow, perhaps to current_dir seph$ or even current_dir$. As far as my ...
0
votes
1answer
199 views

Patched fonts not showing up on gnome-terminal

I installed the patched font "Source Code Pro" from https://github.com/ryanoasis/nerd-fonts#option-3-install-script on my Ubuntu 18.10 box. I can see the font showing up on the Fonts program (as ...
0
votes
1answer
86 views

How to create text substitution in command line instead of System Preferences > Keyboard > Text

Is there any way to create text substitutions in the command line instead of System Preferences > Keyboard > Text? I see that when you export text substitutions, it creates an html file, so I'm not ...
11
votes
4answers
5k views

What does `>>` mean in terminal command?

I came across a command just now given below - $ echo 'eval "$(jenv init -)"' >> ~/.bash_profile From what i can guess, it is probably used for committing the changes in .bash_profile but ...
0
votes
1answer
92 views

How to revert my .bash_profile changes?

I added the below given simple two commands in my .bash_profile - export PS1="___________________ | \w @ \h (\u) \n| => " export PS2="| => " Then commiting them through the source ....
0
votes
0answers
81 views

Is there any mono font that can display both Vietnamese and Japanese correctly?

I work a lot with Vietnamese and Japanese code files; most of the time, they're mixed up with others. But from the terminal, I can't display those at the same time; if Vietnamese works, the Japanese ...