1. Edit your shell configuration file : nano ~/.bashrc # or nano ~/.zshrc 2. Add the functions : Append the following lines to your configuration file. These functions will wrap the commands and pipe their output through lolcat : function lolcat_wrapper() { command "$@" | lolcat } alias ls='lolcat_wrapper ls' alias cat='lolcat_wrapper cat' alias echo='lolcat_wrapper echo' alias grep='lolcat_wrapper grep' alias tail='lolcat_wrapper tail' alias head='lolcat_wrapper head' alias dmesg='lolcat_wrapper dmesg' alias df='lolcat_wrapper df' alias du='lolcat_wrapper du' alias free='lolcat_wrapper free' alias ps='lolcat_wrapper ps' alias top='lolcat_wrapper top' alias htop='lolcat_wrapper htop' alias ifconfig='lolcat_wrapper ifconfig' alias ip='lolcat_wrapper ip' alias ping='lolcat_wrapper ping' alias traceroute='lolcat_wrapper traceroute' alias ...
By default you cannot change the Kali Linux resolution out of the settings menu when running on a Hyper-V Virtual Machine. To change the resolution: 1. Open a terminal session 2. Run the command: sudo vi /etc/default/grub 3. Scroll down to the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet” and press the [i] Key to enable the Insert function on Vi editor 4. Change the resolution configuration for the Hyper-V Video Synthetic driver with the following: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1920×1080″ 5. Write changes and quit Vi: Press the Esc Key Type :wq 6. Update the Grub configuration by running the command: sudo update-grub 7. Reboot the virtual machine restart When you go to login to Kali Linux it will still have the default resolution but once you have logged into the operating system it will refresh and open in your new resolution.
To view the list of IP addresses of devices connected to your network in Kali Linux, you can use various commands. Here are a few options: 1. **Using `arp` Command**: ``` arp -a ``` This command displays the ARP cache, which contains a list of IP addresses and their corresponding MAC addresses of devices that your computer has recently communicated with. 2. **Using `nmap` Command**: ``` sudo nmap -sn <IP_range> ``` Replace `<IP_range>` with the IP range of your network (e.g., `192.168.1.0/24`). This command uses the Nmap tool to perform a ping scan (`-sn` flag) of all IP addresses in the specified range and displays the ones that are responsive. 3. **Using `arp-scan` Command**: First, install arp-scan if it's not already installed: ``` sudo apt-get install arp-scan ``` Then, run: ``` ...
Comments
Post a Comment