Generate SSH Key
ssh-keygen -t ed25519 -C "[email protected]"
# or
ssh-keygen -t rsa -b 4096 -C "[email protected]"Copy Generated Key
cat ~/.ssh/id_ed25519.pubGenerate SSH Key
ssh-keygen -t ed25519 -C "[email protected]"
# or
ssh-keygen -t rsa -b 4096 -C "[email protected]"Copy Generated Key
cat ~/.ssh/id_ed25519.pub| #!/bin/bash | |
| # Description: Script to fix WLAN issues on Kali Linux by restarting interfaces and services. | |
| # Logs all actions with timestamps to wlan_fix.log. | |
| LOGFILE="wlan_fix.log" | |
| # Function to log messages with timestamp | |
| log() { | |
| echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOGFILE" |
It's just for waybar of hyprland config :
killall -SIGUSR2 waybarBash script for all time listening changes:
#!/bin/bash
CONFIG_LOC="/home/user/.config/waybar/config"important libs:
sudo pacman -S sof-firmware alsa-ucm-conf linux-firmware pipewire pipewire-alsa pipewire-pulse wireplumberfor pipewire:
sudo pacman -S pipewire pipewire-pulse wireplumber lib32-pipewirelearn current audio card stat
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| #include <netinet/tcp.h> | |
| #include <arpa/inet.h> | |
| #include <sys/time.h> | |
| #include <sched.h> |
systeminfo # displays system info
show_mount # displays the connected disk (partitions)
idletime && localtime # displays system idle time and local time
shutdown && reboot # close system or restart
ipconfig # displays the system ip config
route # allows routes to be displayed and modified
ps # displays running processes
kill <PID> # terminates the process of the related PID.
getpid # displays which PID the session is running on