Skip to content

Instantly share code, notes, and snippets.

@hwpplayer1
Created June 1, 2026 01:46
Show Gist options
  • Select an option

  • Save hwpplayer1/b990089dfa8bf1835a546a9c90cd4468 to your computer and use it in GitHub Desktop.

Select an option

Save hwpplayer1/b990089dfa8bf1835a546a9c90cd4468 to your computer and use it in GitHub Desktop.
Ubuntu SSH giriş ekranını birebir taklit eden script
#!/bin/bash
# Ubuntu SSH giriş ekranını birebir taklit eden script
# Copyright (C) 2026 QB Networks
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
echo "=== Ubuntu SSH Bildirim Ekranı (MOTD) ==="
run-parts /etc/update-motd.d/
echo -e "\n=== Sistem Bilgileri ==="
echo "Kullanıcı : $USER"
echo "Hostname : $(hostname)"
echo "Tarih : $(date)"
echo -e "\n=== CPU Bilgileri ==="
lscpu | grep -E 'Model name|Architecture|CPU\(s\)|Thread|Core'
echo -e "\n=== Bellek Bilgileri ==="
free -h
echo -e "\n=== Disk Kullanımı ==="
df -hT | grep -E '^/dev'
echo -e "\n=== Ağ Bilgileri ==="
ip -4 addr show | grep inet
echo -e "\n=== Canonical Ubuntu Bağlantıları ==="
echo " * Documentation: https://help.ubuntu.com"
echo " * Management: https://landscape.canonical.com"
echo " * Support: https://ubuntu.com/advantage"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment