./configure : /bin/sh^M : bad interpreter
To fix, open your script with vi or vim and enter in vi command mode (key Esc), then type this: Finally save it :x! or :wq!
To fix, open your script with vi or vim and enter in vi command mode (key Esc), then type this: Finally save it :x! or :wq!
Issues were: IPV6 enabled Wrong DNS server Here is how I fixed it: IPV6 Disabling Open Terminal Type su and enter to log in as the super user Enter the root password Type cd /etc/modprobe.d/ to change directory to /etc/modprobe.d/ Type vi disableipv6.conf to create a new file there Press Esc + i to insert data to file Type install ipv6 /bin/true on the file to … Read more
This happens because you may have done a sudo su user_name and then fired the screen command. There are 2 ways to fix this. Login directly to “user_name” via ssh. Take ownership of the shell by typing script /dev/null as the user user_name and then type screen
I have actually followed this example and it worked for me 🙂 Then do: /etc/init.d/httpd restart
Use ls command for files and du command for directories. Checking File Sizes ls command will not list the actual size of directories(why?). Therefore, we use du for this purpose. Checking Directory sizes Including -h option in any of the above commands (for Ex: ls -lh * or du -sh) will give you size in human readable format (kb, mb,gb, …) For more information see man ls and man du
Try ssh -t -t(or ssh -tt for short) to force pseudo-tty allocation even if stdin isn’t a terminal. See also: Terminating SSH session executed by bash script From ssh manpage:
One way to do it is: As pointed out in the comments, this has the side effects of trimming leading whitespace, interpreting backslash sequences, and skipping the last line if it’s missing a terminating linefeed. If these are concerns, you can do: Exceptionally, if the loop body may read from standard input, you can open the … Read more
A better way to describe “mount” is “attach”. The filesystem being mounted is attached to an empty directory of the existing filesystem. That is, the top level directory of the mounted filesystem becomes the directory on the existing filesystem. Subdirectories of the mounted filesystem become the subdirectories of the former directory on the existing filesystem, … Read more
you need to execute the following command to install pip sudo apt-get install python3-pip and to remove you need to use sudo apt-get –purge autoremove python3-pip