nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

[How to] Linux Change or Rename User Name and UID

Posted: 27 Nov 2019 09:36 AM PST


How do I change user name (rename user name) or UID under a Linux operating system using command line tools? How do I change or rename username in Linux?

The post [How to] Linux Change or Rename User Name and UID appeared first on nixCraft.

Bash Assign Output of Shell Command To Variable

Posted: 27 Nov 2019 09:27 AM PST


How do I assign the output of a shell command to a shell variable under Unix like operating system? For example, I want to store the date command output to a variable called $now. How do you do that? How can I set a variable to the output of a command in Bash?

The post Bash Assign Output of Shell Command To Variable appeared first on nixCraft.

Linux shell script to reduce PDF file size

Posted: 27 Nov 2019 08:48 AM PST

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.