Search results

  1. S

    VM NAT Private IP Address

    Virtual Box has two type of network adaptor for NAT features. - NAT ( - - NAT Network ( - Both are /24 and having the different functionality and working. Please don't get confused with Network Classes here. This is something Virtual Box implemented...
  2. S

    Today's article has a couple more ways to generate passwords in the terminal...

    Using Linux cmd, you can generate password with desired password length: passwordLength=16 && (cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-$passwordLength} | head -n 1) Where you can enter the desired passwordLength.
  3. S

    Today's article has you using wget with one or the other of IPv4 or IPv6

    For wget over IPv4 , you can use "-4" argument: [[email protected] ~]# wget -4 "" --2022-07-13 12:30:09-- Resolving (,,, ... Connecting to (||:80... connected...
  4. S

    [SOLVED] PING can't redirect errors

    @SlowCoder, you can redirect STDOUT and STDERR to /dev/null ping -q -c 1 computer.local 1>/dev/null 2>/dev/null
  5. S

    Bash script

    @Athin here is your script code : #!bin/sh for i in {1..10} do mktemp file$i.XXX done getLatestFile=$(ls -Art | tail -n 1) echo "Last Modified File :" $getLatestFile chmod 600 $getLatestFile - Code will create 10 files - Add Extension ".new" to all the files in a directory...