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, also referred to as a "system console".

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Can no longer open terminal after editing my bash_aliases

I edited my bash_aliases to have a new alias (stars block out my email for privacy sake): alias t_cluster="u*******@notchpeak.chpc.utah.edu" I then mistakenly added this to my bash_aliases (...
1
vote
1answer
40 views

Deal with NBSP in terminal

How to deal with NBSP in a terminal? The following are the behaviors of me pasting the exact same string (which consists of a leading NBSP) to terminals: $  echo abc bash:  echo: command not found $ ...
0
votes
1answer
34 views

Access denied by Remove-Item

I am using PowerShell of Windows 10. This might be so basic question. I can't delete the folder by Remove-Item. PS C:\Users\whitebear> Remove-Item MQL_Set. + remove-item MQL_Set + ~~~~~~~~~~~~~~~~~...
0
votes
0answers
26 views

Unable To Run Sudo On Terminal (Suspect Malware)

When I Run Any Sudo Commands I get: sudo: /etc/sudoers is owned by uid 501, should be 0 sudo: no valid sudoers sources found, quitting sudo: error initializing audit plugin sudoers_audit This behavior ...
0
votes
0answers
9 views

Vim inside xfce4-terminal under Cygwin displays symbols when I enter insert mode

I am using xfce4-terminal via Cygwin/X. When I open a file in VIM and press Shift-A (to get to the end of the line and enter insert mode), some strange character is displayed at the start of the line. ...
0
votes
0answers
10 views

How to close a directory from the terminal Ubuntu 20.04?

I can use the xdg-open command to open a directory, let's say xdg-open ~ to open the home directory. What can I do then to close that directory? If I look through the opened processes, I cannot find ...
0
votes
0answers
7 views

Cannot seem to get Neofetch to auto display when opening iTerm2

This question probably has a very obvious answer, but I have yet to figure out what that answer is. I have Neofetch installed using Brew under macOS Big Sur 11.3. I can run neofetch in iTerm2 and ...
0
votes
0answers
18 views

How to run a .exe program, that uses a terminal, and execute a command in the opened terminal and run another program right after using one .bat? [closed]

I'm having a Minecraft server and I have two files that need to be run for it to work: an .exe (ngrok.exe) file that opens a terminal and in that terminal needs to be entered a specific command (ngrok ...
0
votes
1answer
16 views

unexpected EOF while looking for matching `"' ubuntu 20.04

Can someone help me ??? i don't know where is the problem ?? ./menu.sh: line 268: unexpected EOF while looking for matching `"' ./menu.sh: line 271: syntax error: unexpected end of file ...
0
votes
0answers
7 views

Create a multiple of ExecStart vsftpd

Hi i have actualy a multiple domaine and a multiple of vsftpd.conf so i want that my /lib/systemd/system/vsftpd.service have a multiple of Execstart [Unit] Description=vsftpd FTP server After=...
0
votes
1answer
25 views

rsync created a bunch of empty directories even though I specifically only transferred

I used this command on my mac terminal to only to sync only java files whose size had changed on the remote host: rsync -rP --size-only --include="/" --include=".java" --exclude=&...
0
votes
0answers
12 views

Windows Terminal: disable “follow link”

Since some new version, every single link the output is underlined, with this tooltip: Ctrl+Click to follow link I found this [1]: <data name="HowToOpenRun.Text" xml:space="preserve&...
0
votes
1answer
31 views

How can i download folder from google drive in linux

I want to download a directory that i puted in my drive to my ubuntu from terminal !! How can i download a directory from google drive to my ubuntu 20.04 with wget ?? or even another one! i searched ...
0
votes
1answer
17 views

Kde, opening a new terminal window to ssh from bash script

I have a bash scrip that does some environment setup, one of the steps require me to use SSH tunneling for licensing. The script I have works fine on a gnome environment, but I'm having trouble ...
1
vote
1answer
19 views

Kill bash/terminal/tty window/session from another terminal

Linux ThinkPad-E480 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux I have just encountered with the next situation: suspend command do nothing but ...
0
votes
0answers
18 views

In Mac Terminal, entering correct ssh passphrase drops the cursor to a blank line

I'm pretty sure this is something simple and stupid, yet I've been unable to find any answers online for it thus far. Using Terminal on a mac, I connect to a fileserver using SSH. When I enter the ...
1
vote
0answers
17 views

Bash: Open new tab in newly opened terminal

I want to open new terminal windows, each with multiple tabs, and while I've managed to open the windows, I'm having trouble with the tabs. What I currently have is: #!/bin/bash # Opens new window, ...
0
votes
1answer
32 views

Open a gnome terminal through a bash script and call and run an aliased comand

I am trying to write a bash script that opens a new gnome terminal window and runs an aliased command. I have seen that instead of using aliases using a function is the proper way to go. I have tried ...
0
votes
0answers
15 views

Installing A Framework To My App

I'm using zshell and I am trying to install a react framework called NativeBase. The issue I have is when I try to install the peer dependancies I get the error zsh: command not found: react-native. I ...
0
votes
0answers
37 views

How to give Users SUDO Permission from Bash Script

I have found a link (Bash Script) through which we can create Users in Linux. Problem is all the Users created from this script does not have SUDO Permission (root Permissions). Please help, Which and ...
0
votes
0answers
12 views

zsh beeping in Intellij-Idea

When I configure my Intellij (community edition - 2021.1) to use zsh, everytime I type in a command in the terminal there is a beep sound. I already set unsetopt beep in my .zshrc and also ticked off ...
1
vote
1answer
57 views

fish shell outputs ⏎ (i.e. an “abandon line”) during startup on smaller terminal sizes

Whenever I open a new terminal window (that's <100 columns wide) Fish prompts me with: ⏎ foo@bar ~> I'm not expecting that first line with ⏎ to appear! If it's 100 columns or wider, then this ...
0
votes
1answer
21 views

Schedule zsh scripts so it will remind me something need to be updated?

I'm using MacOSX, and the Terminal.app is now all using zsh as default shell. I use Homebrew to manage all kinds of packages/application installation, while every day I will have to open the terminal ...
0
votes
0answers
13 views

Can't run any useful commands in terminal

I recently found an Arcom Viper at an auction specifically a VIPER-400-M64-F32 with an ICE enclosure. Upon connecting to the device through its COM port using putty I am greeted with this screen From ...
0
votes
0answers
25 views

Git Bash with Windows Terminal prints weird characters instead of newline

I'm on a fresh machine and installed Windows Terminal [Microsoft Store] and Git Bash [latest]. I ran a build script that logs its progress and whenever a newline character appears (maybe others as ...
0
votes
0answers
22 views

How do I skip something files when i use * to specify the path? [duplicate]

I plan to use the terminal to modify the file permissions in the folder in batches. command like it chmod +x /users/abc/123/*.py But I had some problems, there are a few special files I cannot move ...
0
votes
0answers
23 views

Using compose key in terminal

I have set up the compose key in X on Linux with setxkbmap -option lv3:ralt_switch_multikey which sets the key to Shift + Ralt. It works just fine in GUI applications like Firefox. I can type unicode ...
0
votes
1answer
30 views

Close terminal when closing app launched from terminal

I have a fairly unusual use case, in which I often need to launch a custom program from the command line, which is a self-contained executable called ./Rustlinks contained in $HOME/Applications. ...
1
vote
0answers
21 views

How to customize shortcut keys on Git Bash Terminal (Windows 10)

How can I customize shortcut keys on Git Bash Terminal ? When I use the Option -> Keys, it only allows to turn on or off the features. What I want is to change the key combinations. Git Bash ...
0
votes
0answers
18 views

Copy to clipboard with tmux + iterm2 + OSX without reattach-to-user-namespace

When I'm in the tmux' (emacs) copy mode, I want a regular copy (e.g., M-w) to copy to my OSX clipboard. I have seen several posts that explain how to make this work without reattach-to-user-namespace, ...
0
votes
1answer
27 views

linux ps command to list number of running processes in super user root

I am looking for. a command that I can list the number of running processes by superuser root and pipe it to wc -l i already did ps -ef | grep ^$USER wc -l however that only shows for the current user
1
vote
1answer
21 views

MacOS - How to use terminal with 'set -o emacs'?

I like to do a lot of work in a shell and I usually setup the shell to use emacs keybindings. On linux, it's just a quick 'set -o emacs' and I'm good to go. However, on MacOS, the solution eludes ...
0
votes
1answer
22 views

How can I paste some text into a terminal on Jupyterlab when using Firefox?

I use Firefox on Windows 7 SP1 x64 Ultimate to connect to a Jupyterlab server. I opened a terminal on Jupyterlab and would like to paste some text into it. On Chrome I do SHIFT + right-click, in the ...
1
vote
1answer
27 views

Terminal Zsh error after just opening terminal on Mac Catalina

I am getting a weird message after just opening the terminal and could not figure out the problem. Last login: Wed Mar 31 11:10:55 on ttys000 /Users/rakesh/.zprofile:source:1: no such file or ...
0
votes
0answers
18 views

Why does the first entry in Terminal's “last” keep changing?

I have an iMac macOS Mojave version 10.14.6 late 2013. I've been monitoring the last log in in Terminal by typing in "last" I'm noticing that every day the first entry keeps changing. Eg: ...
0
votes
0answers
25 views

Use the mouse past 220 columns in Neovim with rxvt-unicode

When using neovim with mouse support in urxvt, any mouse events past the 220th column are wrapped around to the left of the screen. The mouse works normally in vim, and in nvim with another terminal ...
1
vote
1answer
32 views

Wrap text using zsh bindkey

I'm trying to make a keyboard shortcut which wraps the current command in the terminal like this: ($current_command && say done) || say error I've got it partially working with: # ~/.zshrc ...
0
votes
0answers
19 views

How to paste from Windows into Ubuntu 20 shell in the cpanel of my website?

I am in the cPanel of my website and the hosting allows me to access the shell (Ubuntu 20). I cannot use simply CTRL+SHIFT+V to paste lines from Windows, Quick Edit Mode isn't active nor can I paste ...
0
votes
0answers
23 views

Terminal unresponsive; prompt disappears after connecting to WebSocket

First off, I'm extremely new to all of this, so forgive me if I use the wrong phrasing/terminology! I'm trying to connect (via WebSocket?) to an API that'll provide me with streaming stock market data....
2
votes
1answer
49 views

How to select text or scroll without pressing Ctrl+M when “Quick edit” is disabled?

I unchecked "Quick edit" button in properties because it was freezing PowerShell. But now I have to press Ctrl+M every time I want to scroll or select a text which is a pain in the ass if ...
0
votes
0answers
16 views

Firefox Hangs: Save Console (Non-Responding & Running)

I would need a method for windows now and linux, not much later. Something on the terminal would be practical (especially for 1st scenario). I keep getting firefox hangs on my project. I regularly ...
0
votes
1answer
31 views

ZSH Plugins are not working on Mac in iTerm2

So I have installed ZSH using: brew install zsh and then I have installed oh my zsh: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" then I ...
0
votes
0answers
31 views

Case insensitive terminal completions in macOS Big Sur [duplicate]

I am totally new in MacOS environment and I can't get my terminal completions to work case insensitive. I've tried almost all google search results for this question, like editing ~/.zshrc, /etc/...
0
votes
0answers
11 views

Tera Term logged files are missing

I've logged 3 serial devices for hours with Tera Term and the output files somehow disappeared. When I try to log again, it shows the missing files in the file dialog (anchor_log_1.csv, anchor_log_2....
1
vote
2answers
96 views

Is it possible to open Windows applications from inside a Windows subsystem for Linux terminal?

So, recently I downloaded an Ubuntu installation of Linux for Windows since I wanted to learn how to use a bash shell. I've been enjoying it so far, but was wondering if there was a way to do the ...
0
votes
0answers
25 views

How is Powershell/CMD able to handle text selection/copy with keyboard and not Linux Shell(BASH/ZSH)

I was looking for the reasons as to why something like (selecting a text with keyboard, copying it) is not inherently present in prompts of linux distros (regardless of which terminal app they ship or ...
0
votes
0answers
35 views

tmux scroll without rebinding mouse click?

I used set -g mouse on bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'" ...
0
votes
0answers
20 views

Source of strange message in Terminal on mac: 'not valid in this context' followed by deleted programs

When I go into terminal on mac, I get a strage message, that looks like the following: Last login: Mon Mar 8 19:22:38 on ttys000 /Users/myname/.zshrc:export:2: not valid in this context: point:/usr/...
0
votes
1answer
21 views

Left arrow key prints `^[[D` when I do `sudo su otheruser` on headless Ubuntu 18, via ssh using MobaXterm on Win 10. How do I move one char left?

I sometimes need to login as the application user to do some manual operations, debugging, or handling a failure. I don't want to go into our password management system to fetch the application user's ...
2
votes
1answer
81 views

How to connect in ssh with root privilege to a Windows terminal?

I'm trying to port forward localy by opening the port through ssh. But the fact is for ports below 1024, you need to be in root. So when I'm trying for example : server-002@XXX.XX.X.X -L 80:localhost:...

1
2 3 4 5
89