Copy shell configuration from one machine to another?
I've got login to another server where shell configurations are not like I would want. For example I don't see my username and CWD on prompt, and when I press arrow key, instead of giving last entered...
View ArticleOpen new terminal tab and execute script
I need to merge two osascript scripts, so that with one command I can open a new terminal tab and execute a script like echo hello into that new tab.This one opens a new terminal tab.osascript -e 'tell...
View ArticleWhy 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 ArticleFailed to enable unit: Invalid argument systemctl enable .service
I have made a startup_test.sh with the following contentscd /home/xyz/Desktop/gnome-terminal -e "bash -c ./efg"#desktop folder contains an executable named efg.If I run gnome-terminal -e "bash -c...
View Articlegit is unable to properly determine the terminal width (git-bash, windows)
As you can see in the screenshot, the terminal is currently 100 characters wide, and both methods of detecting such that I'm aware of are returning the correct value. Despite this, unless I explicitly...
View ArticleRecover Linux Mint HDD
I have an HDD that doesn't work anymore. It was working fine, but the OS was lagged and the user turned off the computer using the power button, after that the bios doesn't recognize the HD anymore.So...
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 ArticleOS X Terminal command to change color themes
Is there a command that can be used to change the color scheme of the Mac OS X Terminal? I like the idea of being able to change colors depending on scripts I run. So far I am just changing the color...
View ArticleHow do I create a pty without a shell?
Backstory: I have a CLI Python application. I want to be able to debug it without interfering with the CLI of the main application. The Python debugger allows you to specify an alternative stdin/stdout...
View ArticleLinux/Ubuntu/Orange Pi5 retrieve open tabs on Chromium (kiosk mode) via...
I have a problem as of late where I am developing some PowerShell script to manage and update some digital displays. Please see below for my work in progress (By no means done).I am struggling to be...
View ArticleHow do I split a .zip file into multiple segments?
I have all the command line utils installed, and need to split an existing .zip (or) new file(s) into (50MB) .zip segments in Terminal.i.e. Folder X = 900MB > Create self extracting .zip archive...
View ArticlePutty history access weird behavior
I'm using PuTTY v0.78 on a Win10 host, connecting to Ubuntu v22.04. After I've pasted any command into the PuTTY terminal, when I scroll though the history using ↑, I can't scroll up to the prompt sign...
View ArticleHow can I run Cygwin Terminal under a current Cygwin installation under...
In the past I have used Cygwin Terminal, i.e. a window similar in external appearance and external behavior to the DOS/Windows command line window that runs natively under Windows.Right now, in my...
View ArticleWindows Terminal: Open cmd.exe then run script
I want to create .bat file to open cmd.exe in Windows Terminal and activate python environmentcd D:\pythonAppvenv\Scripts\activatethis successfully open cmd in Terminal and set the directorywt.exe -d...
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 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 ArticleIssue Decrypting File with OpenSSL: "hex string is too short, padding with...
I'm encountering an issue while trying to decrypt a file using Open SSL. I have a file named fc382Crypto.bin provided by my instructor, and I need to decrypt it using the blowfish algorithm with CBC...
View ArticleHow do I write code of more than 1 line in the Python interpreter?
I have a problem coding Python in terminal. I'm just learning basics so I have no need to create .py files.In terminal I can run one line of code in the Python interpreter, but how do I write more than...
View Articleusing scp or echo in zsh with alias parameter print 'No such file or directory'
here zsh on MacOSX.I would like to point out that I have tried several ways, with and without quoting, single or double quoting, with and without brackets, with/out $variables. But I receive ever this...
View ArticleScript to auto execute creation of ssh tunnel
I'm a CS student, and still learning a lot of these things, and so please bear with me if I don't have a full grasp on what I'm trying here.I'm on a Mac, connecting to a linux machine. I can set up an...
View Article