Category: Shell command
-
Shortcut to run previous shell command as superuser
Old Procedure Most of the time when we execute a permission required command but we forget to add sudo at the start of the command then terminal throws the error permission denied So what we will do enter up arrow (navigation key) and enter home or continuously press left arrow key to go to the…
-
PPT to PDF
The above one line shell snippet in php script is used to convert the powerpoint file in to PDF file using libreoffice. The same command can be used for all the files which are able to open using libreoffice like doc, docx, odt, odp, etc., Shell command is enclosed in back tick symbol not single…