Do yourself a favor and login as root to save yourself some time and headaches:
$ sudo su -
Install unattended-upgrades:
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
#!/bin/sh | |
# | |
# usage: ./reddit-rss-feeder.sh subreddit-name hot/new/rising/controversial/top/gilded | |
# default subreddit-name = popular | |
# default tab = hot | |
# e.g.: ./reddit-rss-feeder.sh bikewrench new | |
# | |
# This script uses rsstail to retrieve latests entries from Reddit Bikecommuting rss feed | |
# and process them through awk. Each update shows a timestamp separator. | |
# |