-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitial-check.sh
More file actions
executable file
·32 lines (24 loc) · 926 Bytes
/
initial-check.sh
File metadata and controls
executable file
·32 lines (24 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 1. System state
uname -a
lsb_release -a
systemctl is-active unattended-upgrades
# 2. Browser installs — figure out HOW they were installed
which firefox 2>/dev/null && echo "firefox: in PATH"
dpkg -l | grep -E "firefox|floorp" 2>/dev/null
flatpak list 2>/dev/null | grep -E "firefox|floorp|Firefox|Floorp"
snap list 2>/dev/null | grep -E "firefox|floorp"
# 3. Home directory
ls -la ~/
# 4. Existing bashrc
cat ~/.bashrc
# 5. DNS config
cat /etc/systemd/resolved.conf
# 6. XDG dirs
cat ~/.config/user-dirs.dirs
cat ~/.config/user-dirs.conf 2>/dev/null || echo "user-dirs.conf not present"
# 7. Fonts already installed
fc-list | grep -i "nerd\|jetbrains\|fira\|cascadia" 2>/dev/null || echo "no nerd fonts found"
# 8. Installed packages of interest
dpkg -l | grep -E "ufw|git|docker|micro|bat|eza|zoxide|tldr|btop|tmux|fzf|ripgrep|jq"
# 9. Flatpaks installed
flatpak list 2>/dev/null || echo "flatpak not installed"