Use Notepad++ from Cygwin without having the shell wait for an exit code?

I'm running Cygwin and would like to use Notepad++ as the main shell editor, kind of like what I have on my Mac, whe...

syntax error near unexpected token `}'?

I'm writing a program with some random benchmarks that my brother is asking for. But when I'm done writing it, I wen...

Converting bash to zsh: declare function and if statement?

I have copied this code from somewhere and am trying to modify it for my needs. It was designed for bash but I am ru...

: colon command for bash?

Speaking as a bash newbie I have been upgrading my .bashrc via copy/paste + github and I have come across the : comm...

Command to search programs in Linux?

Do you have any easy idea to define some alias in .bashrc for finding some command that you want to search (when you...

Ambiguous redirect error for simple echo?

I have come across an oddity when performing a simple echo command. Can anyone explain what's going on? Here's the ...

How to find the default file manager??

as a Linux user, I see that some applications can request a path to be opened and this causes a file manager to be l...

Windows Bash won't open in 10 Anniversary Update?

After I installed the Windows 10 Anniversary Update, I was eager to try the new Bash command prompt. But when launch...

How can I resolve the error “cannot execute binary file”??

When I login using SSH, all I can see is this... -bash: /usr/bin/id: cannot execute binary file -bash: [: : integer...

Open a new terminal from within the terminal?

when I work I usually have a terminal with many tabs open. For example, the first tab is for my web server, the seco...

Running an .exe file in cygwin.?

I'm absolutely new in CYGWIN and Bash in total, so, I guess that there is an answer somewhere in a documentation, bu...

How do I stop a bash script from the command line??

I have a bash script I use to run XCode on OS X, which takes several minutes. I can't find the key command to stop i...

Alternative to “fc -s” in zsh??

In bash, I had a handy alias: alias r="fc -s" Which just repeated last command. Same as !!. I am now used to it (...

How to configure PuTTY so that Home/End/PgUp/PgDn work properly in bash??

The keys Home, End, PageUp, PageDown all type a ~ in my bash session instead of moving the cursor / view around. Why...

echo text with new line in bash?

I would like to append text to a file. So I wrote in bash echo text >> file.conf However it doesn't leave a...