<center><h3>HOST</h3>A short summary of building a personal Linux environment.<br><a href="https://steempeak.com/@wglenz">Published with SteemPeak</a> <br>[home](https://steempeak.com/@wglenz) ~ [previous](https://steempeak.com/linux/@wglenz/2gofcx-linuxopolis-host)</center> <center>![screenshot by willi glenz](https://files.steempeak.com/file/steempeak/wglenz/r7qJSSBX-image.png)</center> ``` $ vim ~/.config/fish/functions/ghost.fish function ghost --description "host" clear echo neofetch echo lsb_release --id lsb_release --description lsb_release --release lsb_release --codename echo sudo inxi -v7 | vim - end ``` <br> ``` Hostname I $ hostname Hostname II $ cat /etc/hostname; hostnamectl; uname --nodename Hostname III $ cat /proc/sys/kernel/hostname Hostname IV # hostname mars IP-Address $ hostname -i Uptime and load $ watch uptime Last reboot history $ last reboot System information I # inxi -v2 System information II # inxi -v7 -c0 | tee system.txt Prelogin message $ cat /etc/issue Shell $ echo $0 Operating system $ cat /etc/os-release; lsb_release -a; uname --operating-system Debian version $ cat /etc/debian_version Debian Upgradeable packets $ apt-show-versions -u > upgradeableVersions.txt; vim upgradeableVersions.txt Kernel $ uname -a Kernel name $ uname --kernel-name Kernel release $ uname --kernel-release Kernel version $ uname --kernel-version Kernel ring buffer I # dmesg | less Kernel ring buffer II # dmesg | tail -n 25 Rootkit scanner # chkrootkit System log I # logwatch | less System log II # tail -f /var/log/syslog Systemd journal # journalctl CPU Model $ cat /proc/cpuinfo Memory $ watch free -h Physical Memory $ grep MemTotal /proc/meminfo MEM Info $ cat /proc/meminfo Processes I $ ps auxw | sort | less Processes II $ atop Processes III $ htop Processes IV $ top Processes V $ glances File System Hierarchy (FHS) $ man hier Disk I # lshw -short -class disk Disk II $ df -hT Disk III # e4defrag /home -c Disk IV # du -hs /home/userxyz Disk V # du -h --max-depth=1 /home/userxyz | sort -n Disk VI # du -h --max-depth=1 / 2>/dev/null | sort -n Volumes # lshw -short -class volume USB # usbview; lsusb Documentation $ man -k . | less /etc/hosts /etc/hostname /etc/resolv.conf /etc/network/interfaces /etc/init.d/networking /etc/NetworkManager/system-connections/ /etc/ssh/ssh_config # macchanger -r eth0 # nm-connection-editor # hostname mars; cat /proc/sys/kernel/hostname ``` <br> ``` SOURCES manpages : e.g. $ man ip apt-sources : e.g. $ apt-cache search inxi gnu software : gnu.org/software/software.html ```
post_id | 82,440,313 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
author | wglenz | ||||||||||||
permlink | linuxopolis-2019-12-10-host | ||||||||||||
category | linux | ||||||||||||
json_metadata | {"app":"steempeak\/2.2.6","format":"markdown","tags":["linux","debian","bash","opensource"],"users":["wglenz"],"links":["\/@wglenz","\/@wglenz","\/linux\/@wglenz\/2gofcx-linuxopolis-host"],"image":["https:\/\/files.steempeak.com\/file\/steempeak\/wglenz\/r7qJSSBX-image.png"]} | ||||||||||||
created | 2019-12-10 13:31:33 | ||||||||||||
last_update | 2019-12-10 17:06:48 | ||||||||||||
depth | 0 | ||||||||||||
children | 0 | ||||||||||||
net_rshares | 280,687,696,209 | ||||||||||||
last_payout | 2019-12-17 13:31:33 | ||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||
total_payout_value | 0.023 SBD | ||||||||||||
curator_payout_value | 0.022 SBD | ||||||||||||
pending_payout_value | 0.000 SBD | ||||||||||||
promoted | 0.000 SBD | ||||||||||||
body_length | 2,844 | ||||||||||||
author_reputation | 1,724,513,770,671 | ||||||||||||
root_title | "LINUXOPOLIS # 2019-12-10 ~ HOST" | ||||||||||||
beneficiaries |
| ||||||||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||||||||
percent_steem_dollars | 0 | ||||||||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
saltiberra | 0 | 1,061,327,472 | 10.66% | ||
minibot | 0 | 3,294,365,609 | 50% | ||
pg-live-pt | 0 | 1,342,823,461 | 3.19% | ||
wglenz | 0 | 18,544,561,022 | 100% | ||
isaandrich | 0 | 9,746,725,457 | 75% | ||
ibc | 0 | 164,884,450,998 | 80% | ||
linuxbot | 0 | 13,706,554,520 | 80% | ||
joelpugapt | 0 | 94,880,728 | 100% | ||
clifun | 0 | 556,415,140 | 100% | ||
steemitportugal | 0 | 66,389,975,709 | 21.32% | ||
gustavoagt | 0 | 416,187,227 | 100% | ||
sembdelgado | 0 | 201,818,027 | 50% | ||
abojasim880 | 0 | 447,610,839 | 100% |