-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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 [email protected] 'bash -s' < cat myscript.sh Look: How To Run Shell Script or Command On Remote With SSH – POFTUT- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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- edizgeorgi
- Post #3
- Forum: Linux Forums
-
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)- edizgeorgi
- Post #3
- Forum: General Computing
-
chrome browser dropdown auto closes
If you have recently installed an application it may have affected its plugins. Check and re-install later- edizgeorgi
- Post #3
- Forum: Windows Software
-
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/- edizgeorgi
- Post #2
- Forum: Linux Forums
-
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.- edizgeorgi
- Post #8
- Forum: Windows Help and Support
-
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- edizgeorgi
- Post #2
- Forum: Windows Help and Support