Quantcast
Channel: Active questions tagged terminal - Super User
Browsing latest articles
Browse All 503 View Live

How to repair .zip files?

To begin with, I don't know a single thing about coding, computers, etc. It'd be nice of computer masters if my question could be answered in detail (ex: type this in, screenshot, if possible).First of...

View Article


Unzip Multipart Zip from Command Line

Thanks in advance for any help. I am trying to unzip a multipart zip file from the command line in OSX 10.8.5. I created the zip using zip -s 800m foo.zip foo.movThe file foo.mov is 2.7GB. So I have...

View Article


Bash on MacOS doesn't seem to store history?

So I'm trying to teach myself Unix and I changed my MacOS terminal shell from the default zsh to bash, because the Coursera courses that I studied use Bash scripting and so does the First Semester in...

View Article

How can I ring the audio bell within a bash script running under gnu screen?

In a konsole terminal window outside of screen running a bash shell with TERM set to konsole-256color if I type:echo -n $'\a'orecho -n $'\eg'or./ringbell.shwhere contents of ringbell.sh...

View Article

How to figure out terminal keys with telnet MUD?

I started trying out MUD's recently. Via the terminal on Mac, I had no issues. I then tried logging on via my Linux computer, in RXVT-unicode/Bash.$ echo $TERMrxvt-unicode-256color$ telnet...

View Article


How can I make a video out of frames with a transparent background?

The script i'm using is ffmpeg -i ./AAA/%5d.jpg -vf colorkey=white 5d.mp4It's just not really doing anything other than changing the format or causing an encoding issue which is solved by using a...

View Article

How do I prevent my Powershell terminal from closing when I press CTRL-C...

I'm running the following script in Powershell:start powershell @' $Host.UI.RawUI.BackgroundColor = \"red\" $Host.UI.RawUI.ForegroundColor = \"black\" [console]::WindowWidth=100;...

View Article

Why is “less -R” not displaying colors in macOS Sierra?

I am on macOS Sierra, using iTerm2.I have a small project that does some simple parsing of markdown in golang which then prints certain lines in color to the terminal...

View Article


Mac OSX Mavericks - ZSH can't 'source ~/.zshrc', too many open files

I can't source any changes to my .zshrc (or my .bash_profile for that matter), because I get this error when I try:/Users/ME/.zshrc:source:100: too many open files: /Users/ME/.zshrcI've tried ulimit -n...

View Article


How to run a program with a specific version of Python from the terminal on...

I have several versions of Python installed on my system, and a software I use requires using Python3.11, the problem is that the most recent version of Python is the one Windows defaults to, i.e. if I...

View Article

Looking to get a list of two levels of subfolders through Terminal on a Mac

total n00b here.I've got an extensive music collection and am looking to generate a list of artists and their respective albums within this library. Everything is organized as Music/Artist Name/Album...

View Article

Ctrl-C not working on MacOS/Zsh

I have a similar problem to Ctrl-C Not working in zshBut it is not the stty setting or the key-bindings.It definitely happened in one terminal, while on others it works.I get: from stty:eol2 =...

View Article

How to know whether a terminal runs on a virtual machine or Docker?

How to know whether a terminal runs on a virtual machine or a container like Docker? Curious to find it.

View Article


Zsh prompt with current working directory

In bash I have my PROMPT set like so PS1="$(scutil --get ComputerName) \W\\$ "Where I only see the computer name and only the name of the current directory that I am in, not the full path and a $...

View Article

Use netcat to tell a remote Mac to run/open a file

I have very limited (almost no) knowledge of how netcat works other than I've managed to get one Mac mini to listen on port 13370 [using nc -l 13370] (for TCP commands?) and I have a MacBook that has...

View Article


Windows terminal log history?

When I used linux something so useful was the log history of terminal.Windows only stores history of session which I can see by pressing up arrow. I am okay with that but I need my terminal to log all...

View Article

How to reopen Tabby terminal with N windows?

When Tabby terminal is opened it opens by default with 1 Window and can be created N tabs, if that window is closed with the x icon (there is no other way - perhaps some plugin to install? - pls let me...

View Article


How to dynamically set the PHP version used by my terminal by extracting it...

I run a file called doskeys.cmd every time Windows Terminal opens to set amongst other things, command aliases.Should composer.json exist, I want to extract the PHP version from it so I can dynamically...

View Article

'cd' command in terminal - using partial folder name

If I want to navigate inside folder with long hard-to-type name, is there way to use cd with some kind of shortened name of this folder, to get free from unnecessary work?

View Article

Why can't I scroll in the terminal?

I'm using Ubuntu 16.04 Cinnamon. After repositioning a terminal window (GNOME Terminal 3.18.3), I suddenly can't scroll up through the terminal output.Shift+PgUp writes 2~ on the command line instead...

View Article

What is a simple way to send characters to USB serial device on macOS using...

I have a simple serial device that I need to talk to (but not listen to) periodically via command.The device is connected OK as /dev/usbxxx.What is the simplest/easiest way to do this?Installing...

View Article


Why is libcurl showing as not usable on Mac OS X?

I'm running the configure command to install a particular software package, but it fails when it reaches it's libcurl requirement. This is the output it gives: checking for the version of libcurl......

View Article


Brew cask uninstall does not remove installed cask

I've installed cask via brew cask install and I would like to remove it, however, brew cask uninstall cannot find it:me-bash-3.2:/$ brew cask listmacdownme-bash-3.2:/$ brew cask uninstall macdownError:...

View Article

ddgr not showing relevant results

the number of search results is always limited to 10. even if I pass argument as 5,ddgr shows 10 results. would you please be kind enough to pass some examples of search results with number of results...

View Article

Image may be NSFW.
Clik here to view.

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. Here are my...

View Article


Prevent commands with leading space from showing up in .zsh_history and...

I would like commands with a leading space to not show up in any shell history. I'm using zsh.I have the following option set at the bottom of my ~/.zshrc, however it does not seem to work as I...

View Article

Extremely slow Terminal startup on macOS Sequoia (M3 Mac Pro)

ProblemOn my new M3 Mac Pro (36 GB RAM) running macOS Sequoia 15.3.2, launching a new interactive shell in both the built‑in Terminal.app and the GPU‑accelerated Ghostty takes orders of magnitude...

View Article

error downloading wine32 on kali linux - 'Package 'wine32' has no...

\\the command I wrote:root@kali:~# apt-get install wine32\\what I got:Reading package lists... DoneBuilding dependency tree Reading state information... DonePackage wine32 is not available, but is...

View Article

Problem with arrow keys in Midnight Commander under Mac OS X after update to...

After updating Mac OS X to 10.6.3 the arrow keys do not work in MC anymore - instead of moving the cursor it types, for instance, B for down key, C for right key. Although, if I quit MC and try it in...

View Article



file" fail to execute on MacOS">"echo $VAR | base64 -di > file" fail to execute on MacOS

On Linux I can do:echo ${ANDROID_KEYSTORE} | base64 -di > android/keystores/staging.keystoreBut on MacOS, the same commands gives:base64: option requires an argument -- iUsage: base64 [-hvDd] [-b...

View Article
Browsing latest articles
Browse All 503 View Live