Recent content by edizgeorgi

  1. edizgeorgi

    Add New User with Specific Expire Date

    You can use the -e and -f options like below. $ useradd -e 2017-02-28 -f 60 john For more details: How To Add New User Account To Linux
  2. edizgeorgi

    Disable Selinux Temporarily

    You can use the -e and -f options like below. $ useradd -e 2017-02-28 -f 60 john For more details: How To Add New User Account To Linux
  3. edizgeorgi

    Check Java version from Command Line

    You can use the -version parameter for the java command like below. java -version Reference: How To Check Java Version
  4. edizgeorgi

    List Only Usernames

    You can use the cut command which will select the specified column. $cat /etc/passwd | cut -d : -f 1 Reference:How To List All Users and Groups in Linux – POFTUT
  5. edizgeorgi

    List installed packages

    It is easy as just use the following command. For more details take a look How To List All Repository Packages With Yum Command – POFTUT
  6. edizgeorgi

    How to list databases from Linux command list?

    You can use mysql command like below. For more information look How To List MySQL/MariaDB Databases – POFTUT
  7. edizgeorgi

    Shutdown system after 3 minutes

    You can use the shutdown command + option like below. $ sudo shutdown -h +3 Reference: How To Shutdown Linux System? – POFTUT
  8. edizgeorgi

    Remove A User From the specific Group In Linux

    It is easier than you think. Use the usermod command with root privileges. Following example will remove the user george from the root group. $ sudo usermod -G root george Referance: User Groups in Linux – POFTUT
  9. edizgeorgi

    Run Local Script On Remote System via SSH

    It is very easy just put the script file path after the ssh command like below. ssh ismail@192.168.142.144 'bash -s' < cat myscript.sh Look: How To Run Shell Script or Command On Remote With SSH – POFTUT
  10. edizgeorgi

    Match for a word in a text with the PHP script

    There are different functions and ways to match a word in PHP. Best way is using preg_match() function. In the following example we will search the forum word in the $bigtext content. preg_match('/forum/',$bigtext) Look: How To Check If String Contains A Specific Word in PHP? – POFTUT
  11. edizgeorgi

    Install Nessus Vulnerability Scanner To Linux

    You have to download it from nessus web site and install it by using dpkg command and start the nessus service "How To Install Tenable Nessus into Kali? – POFTUT" and Install Nessus on Linux (Nessus)
  12. edizgeorgi

    chrome browser dropdown auto closes

    If you have recently installed an application it may have affected its plugins. Check and re-install later
  13. edizgeorgi

    Remove Qemu/Kvm Snapshots

    Hello, Actually this is easy question where you can find answer easily but for you from virsh console. virsh # snapshot-delete poftut1 --snapshotname 1477620808 reference : https://www.poftut.com/how-to-create-snapshot-of-kvm-libvirt-qemu-vm/
  14. edizgeorgi

    Windows 7 How to Identify and Fix Slow Computer Settings After Unauthorized Changes

    See user settings, see Processes settings, and services settings. Is there any change here? If there are extra installed programs, wipe the fronts.
  15. edizgeorgi

    Windows 7 How to Check PowerShell Version on Windows 7 for Script Compatibility

    You can run different commands to get version but the most eeliable and straighforward one is $PSVersionTable.PSVersion command. Reference: How To Determine Installed Powershell Version? – POFTUT
Back
Top