Skip to main content

Posts

Showing posts with the label linux

nmcli command see password on linux

nmcli is a command-line tool for controlling NetworkManager and reporting network status. more details check this link nmcli device wifi show-password looks like this with qr code

update kali linux grub via live linux i.e linux mint

chatgpt say and it works. Identify Kali Linux Partition: Use the following command to identify the partition where Kali Linux is installed. This will help you determine the correct partition number (e.g., /dev/nvme0n1p2, /dev/sdb2, etc.) for later steps. sudo fdisk -l Mount Kali Linux Partition: Create a mount point (a directory where you will access Kali Linux's root file system) and mount the Kali Linux partition. Replace /dev/sdXY with the appropriate partition identifier you found in the previous step (e.g., /dev/sda1, /dev/sdb2, etc.). sudo mkdir /mnt/kali sudo mount /dev/sdXY /mnt/kali Bind Mount the Required Directories: Bind mount the /dev, /sys, and /proc directories from the Linux Mint system into the Kali Linux mount. This step is necessary to ensure that GRUB can detect hardware and system information correctly. sudo mount --bind /dev /mnt/kali/dev sudo mount --bind /sys /mnt/kali/sys sudo mount --bind /proc /mnt/kali/proc Chroot into Kali Linux: Change the roo...

Transferring Files Between Linux and iPhone using ifuse

How to install xampp on Any Linux distro?

Change file/folder permission/ownership in Linux

How to Install LAMP On Fedora?

Most used Application on Linux

cut, yank and paste in VIM

Copy(yank) in vim yiw - yank the current word yw - yank from the current cursor location to start of next word yb - yank from current cursor location to the end of the previous word yy - yank the whole line (along with the newline character) 4yy - yank 4 lines (along with the newline character) y$ - yank from the current cursor location to the end of the line. Cut in Vim diw - delete (cut) current word dw - delete (cut) from the current cursor location to the start of the next word db - delete (cut) from the current cursor location to the end of the previous word dd - delete (cut) the whole line (along with the newline character) 4dd - delete (cut) 4 lines (along with the newline character) d$ - delete (cut) from current cursor location to the end of the line d^ - delete (cut) from the current cursor location to the start of the line di" - delete inside double quotation place your cursor inside "  " Paste in Vim p text after cursor  P text ...

how to install spotify adblocker in linux?

spotify-adblock-install Before installation of package, INSTALL BUILDING PACKAGES sudo apt-get install build-essential fakeroot devscripts INSTALL RUST WITH THIS COMMANDS curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh OR GO-TO Download RUST IF YOU DON'T HAVE || INSTALL SPOTIFY CLIENT WITH THIS COMMANDS You will first need to configure our debian repository: curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list Then you can install the Spotify client: sudo apt-get update && sudo apt-get install spotify-client OR GO-TO Download Spotify spotify-adblock More details on this repo spotify-adblock git clone https://github.com/abba23/spotify-adblock.git cd spotify-adblock make INSTALL sudo make install LOOKS LIKE You can integrate it wit...