Extract .zip file (unzip) via unix command line
To extract a zip file into current directory, enter this code in your terminal window. # unzip filename.zip
View ArticleZip only some files (jpg) via unix command line
To create a new zip archive ‘filename.zip’ including only select files, you can use an expression argument after the command. Enter the following in your terminal to compress all jpg fies in current...
View ArticleDelete folder and contents with rm via unix command line
To delete a folder and it’s contents, enter the following in your terminal # rm -dfr foldername Analysis of the above command -d remove folders -f remove the files without prompting for confirmation or...
View ArticleRename folder cp via unix command line
To rename a file or folder, enter the following in your terminal: # cp oldfilename newfilename # cp oldfoldername/ newfoldername/
View ArticleWhat version of Apache am I running?
Httpd is the Apache HyperText Transfer Protocol (HTTP) server program. To display the current apache version, type the following in your terminal window: # httpd -v Sample output: Server version:...
View ArticleDisplay date and time via unix command line
To display the date and time, enter the following in your terminal: # date Sample output: [myserver:~] username$ date Sunday, April 22, 2012 8:29:14 AM GMT
View Article