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

Why do I get quite a few lines of 'declare -x' everytime I open my terminal

Since around Thursday last week I have been getting a load of 'declare -x' lines printed in my terminal. The terminal works fine however its quite frustrating to see. I've been on a couple threads on ...
0
votes
0answers
20 views

Use existing application session's CLI over ssh?

I'm currently in a situation where I need to interact with an application's CLI over an ssh session. The application, upon startup, simply allows commands to be entered in an interactive console and ...
0
votes
1answer
25 views

Typescript (script) in bash at launch new terminal

Currently i need to capture ALL the output of my terminal (bash) for later review. Right now i have the following scripted at the last line of my .bashrc file: . /home/[USER]/.bash_profile Hereby i ...
0
votes
0answers
22 views

Sort files by date added not modified

I am trying to open the last application that was added to the /Applications directory on MacOS. For now, in order to find the latest app and open it, I run: open -a "$(ls -t1 /Applications/ | head -...
-1
votes
0answers
28 views

spawn a basic linux terminal on windows

Is there a quick method to spawn a quick terminal on a windows 10 that can run curl and built in Linux commands, I have searched online and found that I can get an Ubuntu App from Microsoft store, but ...
2
votes
1answer
39 views

Is there a way to `cat` a terminal's screen?

I just switched from st to alacritty. The main reason I was using st was for its external pipe which allows me to quickly and easily grab some of the terminal's output (as an example on st's page). ...
0
votes
1answer
30 views

“File name too long” while deleting directories

I am deleting a directory which has almost 600 nested directories inside it using rm -rf <directory name> . This command is showing error : File name too long. I tried find <path to ...
0
votes
1answer
22 views

ls doesn't work in mobaxterm local terminal

I'm having a strange issue running mobaxterm v20.2 on Windows 10: I am unable to use ls to see the contents of the local directory. For example, in this screenshot, the output of ls is empty, but the ...
0
votes
1answer
41 views

Terminal showing Unknown, how to fix it?

Every time I open my Terminal app in Mac, the first string it shows is this marcosantos@Unknown Well, I know that marcosantos is my username. But what is this Unknown part, what should it actually ...
0
votes
0answers
18 views

Windows Terminal, just translucent (not blurry) background is impossible?

I want to achieve something like the screenshot below (not mine, found by Google image search) with Windows Terminal (1.0.1401.0). Just black with low alpha value. Setting the acrylic efect, I can ...
2
votes
0answers
70 views
+100

How to make ranger's image/pdf preview persist in terminal?

Just got image/pdf preview working in ranger, but I've noticed that when moving my mouse away from the ranger terminal window, the preview disappears. More annoying than this is that you can't run ...
0
votes
1answer
76 views

Why cant i change directory on desktop in terminal?

When i want to change the directory to a specific folder on my desktop (summer 2020 classes) it tells me that no such user or named directory exists. I want to open 'summer 2020 classes' from ...
0
votes
0answers
35 views

Way to restore ssh connection after reboot?

I'm using iTerm2 on Mac. Sometimes I'll have a tab or window with an active SSH session. Then I turn my computer off. Upon reopening iTerm2 post-reboot, it has scroll-back history, but I'm no longer ...
0
votes
1answer
33 views

Linux Terminal - Copy All Directories with JS or TS files, setting a max depth of each item being copied

I have hundreds of directories, each with one or more .js or .ts files in them but also other files. Many of them are nested multiple levels deep. What I am trying to do is copy each sub directory ...
0
votes
0answers
15 views

mac terminal § key issue

I have stange behavior of § key in terminal, when i press in on fresh terminal i have <ffffffff> how can i find where the § key is defined? I use zsh with default configuration, and i have some ...
0
votes
0answers
36 views

PowerCmd does not print out aws commands' outputs

aws commands works well with cmd.exe. But the outputs are not shown when I use it with Powercmd. I've attached one example. It seems that Powercmd is not throwing any error. I can enter credentials ...
0
votes
1answer
46 views

Why was the “meta” key replaced on modern terminals?

I want to understand how the alt key behaves on terminals. From some reading it appears that the "meta key" has been replaced on modern systems with sending Esc+ instead, why is that? What is the ...
0
votes
0answers
29 views

Why did “su” stop working in my xfce terminal?

I recently tried to log into a xfce4 terminal as root. When i enter su it asks the password, i enter it and then, it hangs forever. I can not even stop the process with ctrl+c... su hanging forever ...
0
votes
0answers
100 views

Make windows terminal default terminal for cmd.exe?

Want to have cmd.exe pop up in Window Terminal instead of its own window. The fix outlined by Furty here (Is there a way to replace cmd window with the new windows terminal?) works for .bat files, ...
0
votes
0answers
16 views

macOS Catalina terminal theme not standardising

I tried to change the theme of terminal on my MacBook and it looks as it's supposed to on when I click and open the app itself: How it looks when I open it normally When I do open new terminal from ...
0
votes
1answer
29 views

How do I exit vim, that is within emacs term mode with evil?

I am trying to make transition from vim to emacs (specifically doom-emacs). I was using term mode and habitually used vim in an attempt to edit another file forgetting that I was inside emacs. I ...
0
votes
0answers
8 views

How to user rclone sync --delete?

I got error while trying --delete option on rclone $rclone sync --delete origin b2:destination Error: unknown flag: --delete Usage: rclone sync source:path dest:path [flags] Flags: --...
0
votes
1answer
109 views

should I get rid of mutiple git installations, if so how? (OS X)

I hope the title isn't confusing, but I seem to have accumulated a couple of different versions of git in various directories over the years. I'd like to clean it all up and just have one version, and ...
0
votes
1answer
26 views

How to delete locked app on MacOS (Catalina)

I'm trying to delete a locked app on Catalina. In recovery mode, I disabled SIP, restarted and gave Terminal Full Disk Access. Tried this: /Volumes/Macintosh\ HD/Applications/Crashplan.app: ...
1
vote
1answer
99 views

Can't login to terminal i get the following … login: login: could not determine audit condition (process completed)

I was upgrading my HDD to SSD on my mid 2011 iMac 21.5 in 2.5 GHz intel core i5 running High Sierra 10.13.6 used superdooper to clone the original HDD to SSD then made another superdooper clone to a ...
0
votes
0answers
11 views

Initiating new terminal window always starts in the very corner; Can i change that?

It seems that it's a design choice that creating a new terminal window creates it in the corner of the screen, as far away from the center as possible. Whether I launch a terminal program from the ...
0
votes
1answer
9 views

mintty support for sixel graphics?

I have mintty 3.06 installed, running Ubuntu 18.04 with WSL1. This should support sixel graphics as far as I know, but no graphics have worked. I try: img2sixel png|jpeg w3m -o ext_image_viewer=0 ...
0
votes
0answers
18 views

Blocking certain git commands in macOS terminal

I'm using zsh on a macOS terminal. I would like to block certain commands, particularly git commands, to prevent myself from accidentally running them. For example, I would like to block my terminal ...
0
votes
1answer
50 views

How can I quit VLC from Mac terminal?

Anybody knows how to quit VLC app (VLC v3.0.10) from Mac Terminal? already tried "killall VLC" and "vlc://quit" to no avail. If I quit the already open instance from MacOS GUI, a new instance start ...
0
votes
1answer
15 views

Issue multiple commands in ubuntu terminal

I'm using ubuntu 18.04 server edition and I'm in terminal. # hdparm -I /dev/sd[a-c] | grep "/dev\|level\|Model" will issue the equivalent of # hdparm -I /dev/sda | grep "/dev\|level\|Model" # ...
0
votes
1answer
25 views

How to let sudoedit source ~/.bashrc file

I have Vim shortcuts which requires me to edit the ~/.bashrc file to stop some terminal shortcuts like <C-S> - which freezes the whole terminal - so I can use them in Vim. when I open a Vim file ...
2
votes
2answers
41 views

Create 1 zip file per file in dir

To zip a file I use : zip -r 1.zip 1.graffle This works as expected. But how can I modify zip to zip each document in the current folder where each zip file is a 1:1 mapping. In other words all ...
0
votes
1answer
26 views

Mac - new terminal takes an unexpectedly large amount of time to open

I have observed lately that my bash takes a large amount of time to open. It seems it is running some commands in the background. I am using Oh My ZSH framework for the terminal. On the new terminal ...
0
votes
1answer
110 views

zsh compinit: insecure directories, run compaudit for list

After I installed nvm locally, it auto added paths to .bash_profile file. But my default terminal use .zshrc so I copied those path over. Everytime I fire terminal after above change, terminal auto ...
2
votes
1answer
28 views

Pipe the output of “ls -G1” to “sed” while retaining output colors in macOS

When using the terminal in macOS I created an alias in ~/.bash_profile that lets me list folders and files in one column and with color using the -G1 option like this: something = "ls -G1" This work ...
0
votes
0answers
19 views

Sending sysrq through the picocom or TigerVNC

I have some VM on qemu, which occasionally freezes. Thus I need some way to send sysrq to my VM. I use both TigerVNC and picocom, but the appropriate hotkeys (e.g. Alt + PrtScr + B) don't work. ...
0
votes
1answer
28 views

Running bash script inside VS Code with Cmder terminal

I've just installed VS Code and added Cmder as a default terminal on a new Win10. I am trying to import my git for Windows .bashrc aliases to be used with Cmder. So I've added them to user_aliases....
0
votes
0answers
14 views

How can I access afc:// iOS files from the Ubuntu terminal?

I am trying to access iOS files from gnome-terminal. This is a re-incarnation of this question, because the answer no longer works for recent iOS and recent Ubuntu. I have also tried this solution to ...
0
votes
0answers
23 views

What would cause ls to list a directory from a SMB share slowly on a macOS client?

I have a Windows Server 2019 installation sharing via SMB to a macOS 10.15 (Catalina) workstation and noticed that while ls works generally very quickly for most folders, folders that have large file ...
1
vote
1answer
41 views

how to enable command line navigation shortcuts in fish shell running in iTerm on Mac

Setup: MacOs Mojave, iTerm, Fish shell 3.0.2, using fisher have theme bob-the-fish installed as well. Would like to be able to use command line navigation keyboard shortcuts such as ctrl-A to get t ...
0
votes
1answer
35 views

why are osx `say` command voices worse in a newer macbook pro?

My older macbook pro, bought in 2015, has Mojave 10.14.6. The following command say -v anna uh sounds like a German speaker saying the long letter "u", like an American would say "ooooo!" to express ...
0
votes
0answers
44 views

Terminal commands for file backup

MacBook Pro late 2012 Having issues with OSX and hard drive Have been told to get the hardware upgraded however in the meantime need to back up files I do plan to take a disk image however as an ...
2
votes
1answer
44 views

How do you make minikube ssh work with kitty

If you use minikube ssh with kitty backspace and other characters do not work properly. The problem is that the terminfo is not copied across, however, it's not possible to do kitty +kitten ssh as ...
0
votes
0answers
28 views

How to use commandLine property in Windows Terminal settings?

I'm playing with new Windows Terminal. I love the concept of predefined tabs, which I use for many recurring tasks at work, but I miss a possibility to launch for example gatsby develop in a proper ...
0
votes
1answer
30 views

Restrictions when using diskutil coreStorage unlockVolume

I wrote a very simple brute force script on my Mac that runs the $ diskutil coreStorage unlockVolume <UUID> -passphrase <PASSWORD> command against a HFS+ encrypted drive by going through a ...
0
votes
0answers
4 views

terminator configuration file doesn't work

I can't seem to make the terminator configuration file work on Ubuntu , either w/ i3-gaps or KDE plasma. Here is my config file : [global_config] borderless = True titlebars = False [...
0
votes
0answers
9 views

Terminal on Linux Crostini on ChromeOS shows white screen

I'm running Linux on ChromeOS, and whenever I go to the terminal, it start OK but when I install something that takes a long time and/or when I go to another window, the screen turn white and doesn't ...
0
votes
0answers
6 views

How to send arrow key in iTerm2 mapping

What would be the proper way to send a ctrla↑ in iTerm2? Currently I have something like this: \<C-a><up> I know the \<C-a> part is correct, but how to send the arrow keys?
0
votes
0answers
19 views

Validate Simple Input and Output of a program on terminal

I do competitive programming so I need to check certain output for certain input. For which what I do is I compile my program with g++ file.cpp and than I paste input values in a new file called in....
-1
votes
1answer
32 views

How come I'm having trouble cp this file to another directory?

cp fanpage.html path/Desktop I am using this command to cp the fanpage.html file from my prework-about-me directory to my Desktop directory. When I run the exact command I posted here how come it ...

1
2 3 4 5
85