@NathanOsman So, if you call just python on a Python 3 script with the correct Python 3 shebang, it will be executed using the correct Python 3 interpreter?
Of course, that won't prevent someone from doing python3 somepy2file.py but...
@RPiAwesomeness If it's executable and has a valid shebang, you don't need to invoke the Python interpreter on the command line - it's done by the shell.
But won't it just affect the specific user with that specific .bash_aliases files only when they themselves specifically call python within BASH/Terminal?
@Mateo Yes. That is true. But ignoring that fact (let's hope the OP knows better and can recognize when he's using a different version of Python) wouldn't my statement be true?
@NathanOsman I think I know why he wants to change the default Python version so that pip installs modules correctly. At least, that's what it sounds like from his comment on my answer.
@NathanOsman: You're a mod. How is it generally seen if I would add a banner for a new site on StackExchange to all of my answers on another site? (see my comment here)
Simply my problem is: When I share my site url on Facebook it shows a "404 Not Found" title or "Welcome to Ningx" Title.
I am new to Ningx, I am using Debain Linux (Ningx + PHP-FPM) Config.
All sites hosted on this server having a problem wile Scrape Information by Facebook (Open Graph)
https:/...
@Mateo: when you get back, I checked over the logs again. Turns out that for some reason, when you accessed quickmediasolutions.com, you were using an IPv4 address.
Yeah, even Facebook is trying (and failing) to access us over IPv6 :(
I'm finding some strange things in our access logs...
Screenshot
About
Completely overhauled styles, including default and dark themes
Reply to, star and flag messages
Slide-out Sidebar for easy menu/star list access
Tweaks to make typing easier (including Return -> Send, @username completion)
The app works by injecting extra CSS and JS i...
I have been trying to tune my Samba server for a while now and have had very little luck. At first I thought it could have had something to do with my router but recently purchased a new one with 10/100/1000 connections. The Samba server and Windows PC that access it are both wired directly to th...
From my point of view, there are ~880 questions in the close review queue. I don't recall a time when it was below 700 (I became active only around last June).
Do we need to put in a concerted effort to clear it out?
One suggestion I have is to:
gather a group of at least 10 people who can re...
I am trying to create a virtual host to just test a basic html website.
Guest OS - Ubuntu 14.04
Host OS - Ubuntu 14.10
In the Host OS, I connect through a proxy server which requires me to enter a user ID and password. I have a bridged network in the guest OS and I am able to connect to the in...
I've configured tmux to skip words on Ctrl+right / left :
set-window-option -g xterm-keys on
It works just fine, but as I do SSH, it doesn't work and prints ;5D or ;5C..
The same issue occurred when I used screen, is there some specific configuration for tmux/screen on SSH ?
I've used a storage with IP (10.10.133.50) and size is 10 TB. I have a server with static IP address (this server is same subnet with storage: 10.10.133.60) then I can mount the storage to the server with mount command.
I can see it's 10 TB in the mounted folder. (Centos 6.5)
But when I used sam...
I have three VPS Linux machines running on Ubuntu 13.10 (with Nginx1.6).
I want (need) to upgrade to ubuntu 14.4 for several reasons.
On these servers I have company software running like JIRA, GITLAB, DOKUWIKI and DoveCot mailserver.
Can I just update from 13 to 14 without any (failure) risks,
...
First of all, I'm using elementary OS (based on Ubuntu 12.04).
I have a cron job set up to run a script every day at 23:30:
30 23 * * * /path_to_script/
Is there a way to add it to cron via a single terminal command? All examples I've seen involve invoking cron first via crontab -e and then a...
I'm trying to run a python script on a remote linux machine accessed by SSH from my local Windows machine. The script contains a loop where for all files in a directory it's going to go to a certain directory on my local windows and run the command line based program. I am not the root user and i...
I'm using Ubuntu 14 LTS with two machines. When I ssh into the remote machine, I keep getting pipe broken after une minute or two, and in my ssh client I set up the keepalive already.
What could it be?
I have a broken Ubuntu installation. It's actually a Lubuntu, but I suppose the procedure would be the same. The laptop crashed physically (falled 20 cm) and when restarting, something was wrong and the desktop environment wont start. I suppose some package is broken.
I have access to command-l...
I have two 2 hosts (A and B), each with a single network interface, directly connected to a 3G router, via the LAN ports. I've configured both host A and B gateway to point to the 3G router. However, host A is ONLY supposed to be connected to host B. How do I limit host A access to the exterior (...