Comparing 2 dates in bash – Debian
So I am trying to compare 2 dates in bash , but my dates contains characters like Jan or Monday . Can I compare them directly or do i need to format them like this "20201607"(and how do i do…
So I am trying to compare 2 dates in bash , but my dates contains characters like Jan or Monday . Can I compare them directly or do i need to format them like this "20201607"(and how do i do…
From https://cloud.google.com/solutions/chrome-desktop-remote-on-compute-engine Followed all docs with no errors. At the "Configure and Start" section: sudo usermod -a -G chrome-remote-desktop $USER This command returns the following error: usermod: group 'chrome-remote-desktop' does not exist Note: The Chrome Remote Desktop install section went…
I have a problem during the execution of my python script from crontab, which consists of an insert operation in the firestore database. db.collection(u'ab').document(str(row["Name"])).collection(str(row["id"])).document(str(row2["id"])).set(self.packStructure(row2)) When I execute normally with python3 script.py command it works, but when I execute it from…
When I try to install r software in debian 10 I get unmet dependencies error. The line "deb https://cloud.r-project.org/bin/linux/debian buster-cran40/" was already added in "/etc/apt/sources.list". After running "apt install -t buster-cran40 r-base", I get this message: "Reading package lists... Done…
i'm using LinuxMint with this information: hi@hiy:~$ uname -a -r Linux hi 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux hi@hi:~$ lsb_release -a No LSB modules are available. Distributor ID: Linuxmint Description: LMDE 4 (debbie) Release: 4 Codename: debbie i…
sudo apt-get install trac no longer finds trac. sudo apt-git install pip no longer finds pip, but python has the command: python -m ensurepip that is supposed to do the same thing but instead advises you to try something like:…
Recently I tried to empty the buffers cache on a Debian webserver. The command I used was: free && sync && echo 3 > /proc/sys/vm/drop_caches && free So far so good, running cat /proc/sys/vm/drop_caches prints a value of 3. When…
When I list files as a root user: root@complect-shop:~# ls -lah /www/server/php/73/var/log/ total 5.8M drw-r----- 2 root www 4.0K Oct 8 10:00 . drwxr-xr-x 4 root root 4.0K Dec 16 2019 .. -rw-r----- 1 root www 1.5M Jan 7 12:48…
I need to upgrade drbd8 to drbd9. for that I following this documentation. https://www.linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-upgrading-drbd step 1 root@oreo:~# add-apt-repository ppa:linbit/linbit-drbd9-stack This PPA contains DRBD9, drbd-utils, LINSTOR (client, python API, server). This differs from official, production grade LINBIT repositories in several ways,…
I'm following this guide for the installation of Docker inside a Jenkins container This is the Dockerfile of the Jenkins container: FROM jenkins:1.596 USER root RUN apt-get update RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers # setup docker repository RUN…