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

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

0
votes
0answers
18 views

Changing file names based on their filetype extension [on hold]

So am kind of new to using command lines in Terminal and stuff. However, I was interested if someone could help me with this thing. I would prefer if somebody with Terminal knowledge can help, but ...
0
votes
0answers
15 views

Use iterm2 or terminal app which can filter results, not just highlight results

Right now I am on MacOS, and I am using iterm2 as my terminal app. It's got some great features but one limitation is that when I use ctrl-f to search for something, it will highlight the results in ...
1
vote
4answers
64 views

How do I only use keyboard to control my computer for all everyday usages?

I have searched about this but I mainly get articles about broken mouse and temporary use of command line tools or GUI interface through keyboard. I only use Linux OS (Ubuntu and Debian). What I want ...
0
votes
1answer
29 views

Tmux in bash script executing too fast

I am trying to write a bash script that performs the following actions: open 8 tmux terminals each of the terminals connects in ssh to a remote server start a script X on 3 server, and when it's done ...
1
vote
3answers
32 views

OSX Command line Find Duplicate Filenames with different extensions

I've gone through all the similar questions + installed few command line utilities like duff but with no sucess. In my Images directory, I have images with same name but with different extensions (...
0
votes
0answers
18 views

Why does tmux require setting 256 color mode manually?

I just logged-in to a machine and realized that the colors changed inside tmux. It seems like even with TERM=xterm-256color and tput colors ⇒ 256 tmux switches to TERM=screen and tput colors ⇒ 8. ...
0
votes
0answers
59 views

Please make my terminal behave like a word processor because I'm old and jaded

How do I make the terminal input behave like a multi-line word processor that lets me select text, delete some text (no hex codes), move around, then only really send it over the wire when I press ...
-5
votes
0answers
72 views

Rip images from a website [closed]

I've been trying to rip a website (https://colnect.com/en) of its images using wget (as mentioned here Rip a website via HTTP to download images, HTML and CSS) but with little success. I followed one ...
1
vote
1answer
75 views

Stop terminal command once output reaches a certain size?

If I want to run somecommand > somefile but stop it once somefile reaches a certain size, how would I do that?
0
votes
1answer
41 views

Tabs in Xubuntu terminal showing up as characters

I'm writing code using Vim in my terminal in Xubuntu 14.04, but when I hit tab, instead of showing whitespace,it looks like this: I've tried to search for a solution but haven't found anything. ...
0
votes
1answer
21 views

Setup different path for fish shell temporally

User libraries are normally in /usr/local/lib. However I want to build some third party libraries in for example /Users/user/Public/lib. I only want to do it during my testing. Is there a elegant way ...
0
votes
1answer
38 views

nvim: langmap doesn't work with alt?

I run nvim 0.1.7 in gnome-terminal. I map a-a to something and set langmap so that I can use the same shortcut when entering in other language: nnoremap <a-a> :echo 'it works'<cr> set ...
0
votes
0answers
17 views

Is there any keycode available to perform Field Exit in VT220 , VT320 Terminal?

Basically i need to move cursor from one input field to another field without hitting enter. How should i do it in the terminal ? For example i found keys like : TabKey[0] = "\u0009"; TabKey[1] = "\...
0
votes
1answer
52 views

vim: alt mappings conflict paste mode in terminal

I use vim in terminal. Sometimes I want to paste text from outside into it, but avoid autoindent, abbreviations and such. Vim has paste mode for it, but when I enable paste mode most shortcuts stop ...
0
votes
1answer
27 views

How can some terminal programs ignore redirections and pipes?

I've been fiddling with my network card tonight, when I noticed something when I run ip link help. Here are two cases when I noticed something different: ip link help | grep set and ip link help &...
1
vote
0answers
19 views

Creating multible bootable partitions on USB drive from terminal? (macOS)

I have a 64GB UBS flash drive, and I want to divide this in multiple partitions. Then I would like to put a different bootable volume on each partition, for example various USB/Live versions of ...
2
votes
0answers
8 views

How to add tab in console2

I am using Console 2 in Windows. I have two different working directory. One is for php and mysql [e\wamp\www] related projects and the other is for frontend projects (angular , React)[e\frontend]. ...
2
votes
2answers
57 views

CMD.exe immediately resizes on invoke

Anytime I use cmd, the window shrinks and snaps to the top left corner of my screen . This happens regardless of terminal emulator (Visual Code integrated terminal, CMDer, "run -> cmd", Powershell -> ...
0
votes
0answers
7 views

open gnome terminal in fixed position

My Desired effect want the terminal on right corner each time I launch it Not a duplicated problem. here are two similar methods I tried the system settings way I am on Fedora 28. Only size works ...
0
votes
2answers
69 views

Loop through directories in a given path until an existing directory is reached

I have an unknown path given by the user where I would create a file. Since I don't have write permissions I need to find the first existing dir in the path going from inside to outside and check for ...
0
votes
0answers
20 views

Install Cisco Anyconnect on Ubuntu using terminal

I want to establish vpn connection with the remote server. I've already tried Cisco Anyconnect Client on Win7 PC without any issue, but now I have to do the same on Ubuntu 14.04. using terminal only. ...
0
votes
0answers
131 views

MacOS Mojave terminal and colour issues

Since I installed Mojave I have 2 issues: My secondary monitor doesn't show colours right, they are somewhat vague from what they used to be. It's like someone washed out the screen. I tried ...
0
votes
1answer
23 views

how to change directory and spin off process

I know how to change directory: cd path I know how to detach a process: command &, nohup command > /tmp/test_output.txt 2>&1 &, nohup command > /dev/null 2>&1 &, ...
0
votes
0answers
33 views

Mount partition in android x86 live?

i installed android-x86-4.2-20130228 as a live but does'nt read my partition of my hardisk How can i mount all partition of hadrdisk ?
0
votes
0answers
31 views

tmux prevents bash from seeing ctrl commands

in my .bashrc, I have bind -r '\C-s' stty -ixon #bind C-s to go backword (puns) - moves cursor to previous [:space:] on cmd line set -o ignoreeof bind '"\C-s": shell-backward-word' #bind C-d to go ...
1
vote
1answer
44 views

Is it possible to use vim key bindings in iterm2?

I want to use w for next word and b for previous word. If I could do more than that I would be even happier. I use bash if that matters.
-1
votes
3answers
26 views

Get the content of a terminal

I'd like to make a mini game / terminal saver like cmatrix but in the original concept it would use the actual content of the terminal. Is there a way to get the content currently displayed in the ...
0
votes
1answer
11 views

How to display images in hterm + screen

I am using the SSH extension on CrOS to connect to another machine. I would like to use the hterm-show-file script to display images directly in the terminal. This works fine in a normal shell, but ...
1
vote
0answers
13 views

Error When Trying to Reset Password using macOS Recovery Mode

I haven't used my old MacBook Pro for a while and forgot its password. So I tried resetpassword using Recovery Mode, but this error is displayed when I enter the password of my Apple ID: "Couldn't ...
0
votes
3answers
174 views

Bash: I want to type a tilde. Pressing F10 gives me '1~' instead of just '~'

Previously I was able to output the tilde symbol in my bash terminal by pressing F10. Now when I press F10 I get two characters: '1~'. Same goes for F9/F11/F12. Weirdly, the other function keys F1-F8 ...
0
votes
0answers
23 views

How to change iterm theme with keyboard shortcut?

I want to switch the theme with a keyboard shortcut but I can only find information on switching the colour schemes. I looked in the custom key mappings and the view tab on the menu bar but I couldn't ...
0
votes
0answers
35 views

Connect to F5 BIG-IP VPN using Mac OS Terminal (command line)

Short version: How do I connect to my organization's VPN (F5 BIG-IP VPN) on my MacBook Pro using the terminal? Longer version: I'm a researcher who is trying to get more adept at using the command ...
0
votes
0answers
11 views

How to set ConEmu as default terminal for windows task scheduler?

I followed the guide to set ConEmu as default terminal for explorer.exe. https://conemu.github.io/en/DefaultTerminal.html It replaces the default cmd console successfully for Win+R command. However, ...
1
vote
1answer
19 views

How to add chmod +x on a file, from right click menu service in mac

so i need to use chmod +x alot, and i thought it could be easier to make a service in Automator to add it to the right click menu, so it will run chmod +x on the selected file as choose it from the ...
1
vote
1answer
36 views

Restore bootable USB flash drive to normal

I’m trying to create a persistent installation of Parrot OS on my 16GB USB flash drive. I made the mistake of making the USB flash drive bootable without partitioning the drive into 2 in the beginning....
0
votes
0answers
36 views

Permission Denied when try calling “sh -c SOMEALIAS” on mac terminal

On mac I made an alias to mitmdump and then I tried through terminal sh -c fullpathto/mitmdump # works sh -c fullpathto/mitmdump_alias # Permission Denied error while double click of mitmdump_alias ...
0
votes
2answers
41 views

Can anyone know how to add tab at terminal start just like photo link? thanks a lot

Just like subject, I miss my configuration with Terminal setting? anyone can help?
0
votes
1answer
41 views

How to change title and icon of a terminal program in Gnome 3?

I have a couple of terminal based programs which I'll never be able to leave behind. When I start them from the command line with something like gnome-terminal --command foo or when I make a Foo....
1
vote
0answers
16 views

Mac OSX: How to restore Chrome to default settings after having run it in the terminal once

I ran the following command: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 so that I could debug an application I'm developing; however, now whenever I ...
0
votes
1answer
13 views

What terminal command can I tell Mac OS X:s software-firewall to block all incoming connections?

I want to script the turning on and off of the "block all incoming connections"-function of the built-in firewall in OS X. What terminal-command would achieve this? I'm not talking about sudo ...
4
votes
1answer
93 views

How to keep the command line prompt on the first line of terminal?

I need to keep the command line on the top of the screen and see the output of any command below it. How can I achieve this using any available tools on any platform? Currently, on the all terminal ...
0
votes
0answers
18 views

Why doesn't vim mouse in WSL work in any terminal emulator other than Windows console?

I can open the vanilla Windows console, type "bash," and use vim with mouse mode (placing cursor, scrolling, etc.). However, it DOES NOT work with the terminals in: Atom VS Code Cloud9 MobaXTerm ...
0
votes
0answers
18 views

Change Windows 10 cmd.exe taskbar icon within the terminal

Once I have a cmd.exe terminal open, is there any command that can be run from within the terminal to change it's taskbar icon for just that session? Perhaps my Google-fu is lacking, but I've been ...
0
votes
1answer
24 views

Applescript to restore foreground color doesn't work

When I attempt to restore a MacOS terminal window's default color by executing the following: osascript -e "tell application \"Terminal\" to set current settings of window 1 to settings set \"...
0
votes
0answers
18 views

'reset' Doesn't Clear The Terminal In Windows Subsystem For Linux

I've installed Debian (stretch) in the Windows Subsystem For Linux. In bonified Linux installations, this will clear the backlog of the terminal window, but does not work in this environment. Is there ...
0
votes
2answers
106 views

LC_ALL=C is set, no idea why

I‘m using st, the simple-terminal or suckless-terminal, which is a terminal with Unicode-support. I have two machines, both run Arch Linux with basically the same system settings but i only get ...
2
votes
1answer
42 views

How to exclude multiple file extensions in tree?

When using the tree command, I'd like to exclude listing *.png and *.svg from the output. The problem is that every bracket expansion I try doesn't work. Is it because of how tree processes ...
0
votes
0answers
19 views

urxvt key combination for emacs

I am struggling to configure emacs in urxvt. alt seems to be working, however some sequences like alt+w, escape are not working. In view-lossage I see ESC w ESC on this one. So it sees alt like ESC. ...
0
votes
2answers
168 views

How to configure zsh with oh-my-zsh to keep git history visible after pressing “q”?

I use zsh with oh-my-zsh on a daily basis but there is a small thing that bothers me. If I use git log or any other similar command then the output occupies full terminal window. After pressing q the ...
0
votes
0answers
52 views

Program output redirected to file, but file remains locked for a fraction of time after program ended

The problem When I run the following command in a Command Prompt: devenv /? > out.txt & del out.txt I get the following error: The process cannot access the file because it is being used by ...