apt-get install tzdata noninteractive

This is the script I used (Updated Version with input from @elquimista from the comments) #!/bin/bash ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata dpkg-reconfigure –frontend noninteractive tzdata Seems to work fine. As one liner: DEBIAN_FRONTEND=noninteractive apt-get install -y –no-install-recommends tzdata

Linux wrong path exported. How to recover ~./bashrc file

Put something like: PATH=/your/jdk/bin/path:${PATH} export PATH That way, your path gets prepended to the regular PATH environment. And simply log out and log back in to reset your environment. Or type this: export PATH=/usr/bin:/usr/local/bin or this . /etc/profile to reload a basic environment if you can’t get an editor to work right now.

How to delete rows from a csv file based on a list values from another file?

What about the following: awk -F, ‘(NR==FNR){a[$1];next}!($1 in a)’ blacklist.csv candidates.csv How does this work? An awk program is a series of pattern-action pairs, written as: condition { action } condition { action } … where condition is typically an expression and action a series of commands. Here, the first condition-action pairs read: (NR==FNR){a[$1];next} if … Read more