What's the difference between “which” and “whereis?”
What's the difference between which and whereis?
View Articlegnome-terminal not openning in Ubuntu 20.04
Terminal does not open in Ubuntu 20.04, this is possibly after an upgrade of the software (apt upgrade). I am getting the following error when trying to execute /usr/bin.gnome-terminal in a...
View ArticleShared connection frequently closes when opening a new connection
I'm making heavy use of reusing a shared connection which I open to a remote box at the beginning of my workday.My .ssh/config looks somewhat like this:ControlMaster autoControlPath...
View ArticleHotkey/menu to select-all and copy text in the Windows Terminal App
How do I quickly select-all text using a hotkey or a menu in the new Windows Terminal App in Windows 10?In the Command Prompt or in PowerShell I can right-click on the top of the window and select the...
View ArticleWhat sequence does PuTTY send for ALT + DEL
When I connect to my Debian Wheezy Beta 4 server with PuTTY 0.62 on Windows 7 I'm experiencing a problem. My login shell is Zsh and it is configured to handle ALT+DEL for the action delete-word...
View ArticleZSH npm/node/nvm command not found after installing OhMyZSH
After installing OhMyZSH on my Linux machine, previously installed nvm, node and npm are not found. Thanks for the help.This command "source ~/.nvm/nvm.sh" allows me to make it work, however when I...
View ArticleStarting a command in a new screen session doesn't work
I want to execute a command in a new screen session (and detach from it) but I don't get it to work. I tried to start a process in a new screen session and detach from it with this:screen -d -m...
View ArticleRun python code on login to raspberry pi
Currently I'm working on a project that requires a python code to trigger as soon as we have logged into the Raspberry-Pi. I have tried many things on the internet and what most of them does is, they...
View ArticleReverse 'date created' order in desktop mac
When I create or add new Item to my macOS Desktop, macOS arrange the new one at very beging on top right, which I wish it to add the new item after latest one in very bottom left, Is there a way for...
View Articlebackup GPT table is corrupt. Running fdisk
I went to check my disk with fdisk -l and came up with one that says the The backup GPT table is corrupt, but the primary appears OK, so that will be used.I'm not sure which disk it is referring to but...
View Articledisplay the output of xterm command on terminal screen using cron
I solved a problem by querying the web, unfortunately there was no explanation as to why the command I found works.I need to run a script with cron/anacron and display the result on a terminal screen,...
View ArticleHow can I make `clear` preserve entire scrollback buffer?
Whenever I run clear in my terminal, it deletes the scrollback buffer from the top of visible part of the screen to the current line. I have tried it in multiple terminal emulators and the problem...
View ArticleWindows Bash Terminal takes over 10 seconds to load
When starting up Git Bash in a Windows terminal or VScode terminal, the screen is blank for 10 - 15 seconds before it initializes to having a working directory and cursor. After init, it runs fine.This...
View ArticleHow 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 ArticleUnzip 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 ArticleBash 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleWhy 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 ArticleMac 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 ArticleHow 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 ArticleLooking 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 ArticleCtrl-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 ArticleHow 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 ArticleZsh 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 ArticleUse 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 ArticleWindows 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 ArticleHow 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