import datetime
def trunc_datetime(someDate):
return someDate.replace(day=1, hour=0, minute=0, second=0, microsecond=0)
a = trunc_datetime(datetime.datetime(2018,2,15))
b = trunc_datetime(datetime.datetime(2018,3,20))
print(a <= b)
[ "$BIOS_VERSION" = "NAME01" ]
после [ должен быть пробел обязательно.BIOS_VERSION=$(dmidecode -r bios | grep Version | awk '{print $2}' | sed -e 's/-dev//')
git clone https://github.com/chrisjbillington/git-nautilus-icons.git
cd git-nautilus-icons
sudo apt-get install python3-gi python3-nautilus python3-pip
pip3 install --user git-nautilus-icons
nautilus -q
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT