Is there a “goto” statement in bash?

No, there is not; see §3.2.4 “Compound Commands” in the Bash Reference Manual for information about the control structures that do exist. In particular, note the mention of break and continue, which aren’t as flexible as goto, but are more flexible in Bash than in some languages, and may help you achieve what you want. … Read more

-bash: fork: Cannot allocate memory

I also faced this issue with my Ubuntu 14.04 desktop. Even these basic command showed Can’t allocate memory error. On investigating, found that system is using all the memory for Caching and is not freeing up memory. This is called Cache Ballooning and solved this by clearing the cache.

TCP congestion control version: HTCP module vs highspeed module in linux kernel

Doesn’t HTCP stands for highspeed TCP? No. It stands for TCP for high-speed and long-distance networks and is described in this document from the Hamilton Institute. HighSpeed TCP is published in RFC 3649. So what is the differences between “HTCP” and “highspeed” module here? The common point first, is that they want to turn high bandwidth long distance networks more efficient. The main difference, … Read more

“Unable to find remote helper for ‘https'” during git clone

It looks like not having (lib)curl-devel installed when you compile git can cause this. If you install (lib)curl-devel, and then rebuild/install git, this should solve the problem: This worked for me on Centos 6.3. If you don’t have yum, you can download the source to curl-devel here: http://curl.se/dlwiz/?type=devel If you are running Ubuntu instead:

scp gives “not a regular file”

I have a problem when using scp on Linux, it says “not a regular file”. I looked at other questions/answers about that, but I can’t find out what’s wrong… I wrote: to copy file.fits from aa@aa, /home/pictures to the current directory. I also tried without using /home/, but it didn’t work neither… Do you understand what’s wrong?

How to download a file from server using SSH?

In your terminal, type: replacing the username, host, remote filename, and local directory as appropriate. If you want to access EC2 (or other service that requires authenticating with a private key), use the -i option: From: http://www.hypexr.org/linux_scp_help.php

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)