techfolks linux tutorials
Linux

Linux Commands with Action

Type “Info” to get the list on the linux terminal. Linux Commands with Action Linux Commands List * aclocal: (automake)Invoking aclocal.              Generating aclocal.m4. * autoconf: (autoconf)autoconf Invocation.       How to create configuration scripts * autoheader: (autoconf)autoheader Invocation.   How to create configuration templates * autom4te: (autoconf)autom4te Invocation. […]

PHP

Simple PHP Dropdown Menu Example

<html> <title>PHP Dropdown Menu Example</title> <head></head> <body> <form method=”POST” action=”phpdropdown.php”> <select name=”user”> <option value=”vivek” selected=’selected’>Vivek</option> <option value=”Raj”>Raj</option> <option value=”Vicky” >Vicky</option> </select> <input type=”submit” name=”go” value=”Go”> </form> </body> </html> <?php if(isset($_POST[“user”])) { $user = $_POST[“user”]; echo $user; } ?>  To get selected value use this < option value=”vivek” selected=’selected’>Vivek </ option>  Use this at top for […]

Linux

Unzip using 7zip on Linux Centos

7z x filename.zip extract all zip archives 7z x *.zip to unzip on specific location or folder 7z x filename.zip foldername 7z x *.zip foldername Install 7zip on Linux Centos yum install p7zip Install 7zip on Linux Ubuntu sudo apt-get install p7zip a to archive $ 7za a myfiles.7z myfiles/