This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# config | |
USER=`whoami` | |
HOSTNAME=`uname -n` | |
ROOT=`df -Ph / | grep / | awk '{print $4}' | tr -d '\n'` | |
HOME=`df -Ph | grep home | awk '{print $4}' | tr -d '\n'` | |
BACKUP=`df -Ph | grep backup | awk '{print $4}' | tr -d '\n'` | |
MNT=`df -Ph | grep mnt | awk '{print $4}' | tr -d '\n'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System: Host: batputer Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0) | |
Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.3 Sylvia | |
Machine: System: LENOVO (portable) product: 80XL v: Lenovo ideapad 320-15IKB | |
Mobo: LENOVO model: LNVNB161216 v: NO DPK Bios: LENOVO v: 4WCN37WW date: 12/04/2017 | |
Chassis: type: 10 v: Lenovo ideapad 320-15IKB | |
CPU: Dual core Intel Core i3-7100U (-HT-MCP-) cache: 3072 KB | |
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9600 | |
clock speeds: min/max: 400/2400 MHz 1: 699 MHz 2: 699 MHz 3: 699 MHz 4: 699 MHz | |
Graphics: Card: Intel Device 5916 bus-ID: 00:02.0 chip-ID: 8086:5916 | |
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) |