Reduce the size of a pdf file from the Linux terminal using Ghostscript:
Compress/Reduce PDF size Linux terminal
Continue reading
0 Comments
Append text to file if it doesn’t exist Sed terminal
Assume you wanted to add the text “mytext” to a file if it doesn’t exist: -i writes the output to the input file. If this isn’t specified, output is written…
Continue reading
0 Comments
Replace text in file with Sed terminal
Assume you wanted to replace “abc” with “def” in a file, you can do so using sed as follows: -i tells sed to write the contents to the input file.
Continue reading
0 Comments
How to enable/disable CageFS for user in CloudLinux
To DISABLE CageFS for a particular user on CloudLinux you can running the following command: To ENABLE CageFS for a particular user on CloudLinux you can running the following command:
Continue reading
0 Comments
How to send an email with Telnet
Sending a mail using the command prompt or terminal is possible with a Telnet client. Press Enter Press Enter Press Enter Press Enter Press Enter Press Enter Be sure to…
Continue reading
0 Comments