Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: zsh

Linux

How to search case insensitive with find shortcut in linux terminal(ctrl+shift+f)

admin April 8, 2021

I am using find shortcut in linux terminal (ctrl+shift+f) quite often. The problem is that it is case sensetive, so searching for example: “syn/ack” is no the same as “SYN/ACK”. I’…

bashlinuxzsh Comment on How to search case insensitive with find shortcut in linux terminal(ctrl+shift+f)
Linux

When using PowerShell on Linux, is there a way to set the shell $PWD on exit of the PS script?

admin March 16, 2021

When running a PowerShell script from bash, is there a way to have PowerShell set the current directory of the calling shell up exit? I have tried the following things (independently, not all at once) …

bashlinuxpowershellterminalzsh
Linux

There was an error creating the child process for this terminal

admin October 7, 2020

I am trying to launch a new gnome-terminal with a command executed When I execute gnome-terminal, a new terminal opens smoothly. Now when I run this gnome-terminal — “zsh; echo hello” I …

gnome-terminallinuxshellterminalzsh
Linux

ZSH environment on remote computer broken, crashes as soon as logging in via ssh

admin August 20, 2020

I had trouble running oh-my-zsh on a remote computer, to which I don’t have root access, so I tried downloading and compiling zsh by following these steps. I know I messed up on the last step, where …

linuxterminalzsh
Linux

Moved from bash to zsh – some commands / binaries not recognised

admin February 14, 2020

I’ve recently started using zsh. I notice some commands which work in bash no longer work in zsh. In particular, I’m using virtualenv with virtualenvwrapper for Python virtual environments, which has …

bashlinuxlinux-mintzsh
Linux

scanf/cin is stucks in loop

admin December 10, 2019

I have a C++ program that performs a calculation on the given size of the array. it works fine on the small array but on the large array, scanf and cin get stuck and if I enter any non-digit, it …

linuxshellstdinzsh
Linux

Linux Shell Scripting: if/else works on bash but not zsh or sh

admin July 30, 2019

Here’s an installer I’m writing with all the irrelevant bits removed: #!/bin/bash echo “In the prompt below, type ‘install’ or ‘remove’ (without the quotes)” echo “If you type neither, this script …

bashlinuxshellzsh
Linux

ZSH on Linux doesn’t recognize valid options in a shell script

admin December 2, 2018

zsh doesn’t recognize options set with -o, but only when its in a shebang, and on Linux. The following script fails on zsh 5.0.2, zsh 5.6, and the latest git: #!/bin/zsh -o pipefail thiswillfail | …

command-linelinuxshebangshellzsh
Linux

Recursively padding 0’s in names of files and folders

admin October 4, 2018

I have a folder containing video lectures on some particular topic. It is structured like this: . ├── 1_fol │   ├── 1_file.mp4 │   ├── 2_file.mp4 │   └── 3_file.mp4 └── 2_fol ├── 10_file.mp4 ├…

bashlinuxpadrenamezsh
Linux

Can’t execute a .sh script from mounted disk (Ubuntu 18.04): zsh: permission denied

admin July 8, 2018

Ubuntu 18.04 – Installed Zsh and Oh-My-Zsh from here. Given the following echo ‘#!/bin/bashnnls ~;’ >> myscript.sh chmod 755 ./myscript.sh ./myscript.sh Executed in my home folder, all goes …

bashfstablinuxoh-my-zshzsh

Posts navigation

1 2 3 Next
Privacy Policy