Linux shell script to reduce PDF file size

Here is a handy and useful Linux and Unix shell script that reduce PDF file size using Ghostscript. No need to upload your PDF file to the shady third-party website. Just do it from the terminal. I tested it with both CentOS and Ubuntu/Debian Linux.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://bash.cyberciti.biz/file-management/linux-shell-script-to-reduce-pdf-file-size/…

How to install and use Nginx on CentOS 8

How do I Install Nginx on CentOS 8 Linux server? How can configure the latest version of Nginx web server on a CentOS Enterprise Linux 8 server using the CLI and host a static site?
The post How to install and use Nginx on CentOS 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-install-and-use-nginx-on-centos-8/…

How to Create a new user account in CentOS 7/8

How do I create a new user account on CentOS 7/8 Linux server using command-line options? How do I create a new user account with sudo access on CentOS 8 Linux server?
The post How to Create a new user account in CentOS 7/8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/create-a-new-user-account-in-centos-7-8-linux/…

How to install htop on CentOS Linux 8

I am a new user of CentOS Linux 8 operating system. How do I install htop on CentOS 8 using the yum command?
The post How to install htop on CentOS Linux 8 appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-install-htop-on-centos-linux-8/…

How to return pid of a last command in Linux / Unix

I need to find and return pid of a last command execute in Linux. How do I return pid of a command in Linux?
The post How to return pid of a last command in Linux / Unix appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-return-pid-of-a-last-command-in-linux-unix/…

Debian Linux 10.2 released and here is how to upgrade it

The Debian GNU/Linux project has released an updated version of its stable Linux distribution Debian 10 (“buster”). You must upgrade to get corrections for security problem as this version made a few adjustments for the severe issue found in Debian version 10.1. Debian is a Unix-like (Linux distro) operating system and a distribution of Free Software. It is mainly maintained and updated through the work of many users who volunteer their time and effort. The Debian Project was first announced in 1993 by Ian Murdock.
The post Debian Linux 10.2 released and here is how to upgrade it appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/howto/debian-linux/debian-linux-10-x-released-and-here-is-how-to-upgrade-it/…

Bash get filename from given path on Linux or Unix

How do I extract filename and extension in the Bash shell script from the given path? How can I get filename from the path under the bash shell?
The post Bash get filename from given path on Linux or Unix appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/bash-get-filename-from-given-path-on-linux-or-unix/…

bash: file: command not found. How to install file

I am running file /usr/sbin/arp command on a Debian VM minimal but getting an error that read as:bash: file: command not foundHow do I fix this error on a Debian or Ubuntu Linux system? How can I install file command on Linux cloud?
The post bash: file: command not found. How to install file appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/bash-file-command-not-found-how-to-install-file/…

How to find fan speed in Linux for CPU and GPU

What commands I need to type to find out fan speed for GPU and CPU in Linux?
The post How to find fan speed in Linux for CPU and GPU appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-find-fan-speed-in-linux-for-cpu-and-gpu/…

How to find a website’s DNS (name server) address

How can I find a website’s DNS address? How do I check the current DNS servers of a domain or website using a Linux or macOS command line option? How do I find DNS address of a website using bash?
The post How to find a website’s DNS (name server) address appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/how-to-find-a-websites-dns-name-server-address/…