LINUXOPOLIS # 2019-12-10 ~ HOST by wglenz

View this thread on steempeak.com
· @wglenz · (edited)
$0.05
LINUXOPOLIS # 2019-12-10 ~ HOST
<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
```

👍  , , , , , , , , , , , ,
properties (23)
post_id82,440,313
authorwglenz
permlinklinuxopolis-2019-12-10-host
categorylinux
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"]}
created2019-12-10 13:31:33
last_update2019-12-10 17:06:48
depth0
children0
net_rshares280,687,696,209
last_payout2019-12-17 13:31:33
cashout_time1969-12-31 23:59:59
total_payout_value0.023 SBD
curator_payout_value0.022 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,844
author_reputation1,724,513,770,671
root_title"LINUXOPOLIS # 2019-12-10 ~ HOST"
beneficiaries
0.
accountsteemchiller
weight100
1.
accountsteempeak
weight100
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars0
author_curate_reward""
vote details (13)