Common Terminal Commands

2 Likes

Just a word of caution with the last one:

Blockquote
You will also learn tips for using a CLI and leveraging Hostinger’s VPS AI Assistant to easily generate Linux commands.

I've seen using AI to generate commands strongly discouraged on this forum, so we may need to be cautious with that one. If someone could offer guidance about this I'd be appreciative.

1 Like

I use this a lot to verify checksums, this tip is for new users who, like me, came from other systems than Linux

sha256sum file-name-you-are-verifying

Just open a terminal in the directory holding the file you want to verify, or cd to it, run that command (don't forget TAB is a real time saver with auto filling the file name after you have typed the first few letters), wait for the return (can be a full minute if the file is largish), copy the resulting number, CTRL+F in the web page or document with the correct hash, and paste into the search field to see if you got the match.

There is software to do this but I really dislike installing software if there is a simple built-in solution. It is one of my personality traits or character flaws.

Ok have fun checking the integrity of your files!

2 Likes

Hello everyone! Remember me?

I don't know if it was here before.

1 Like

before my time , so , no :grin:

but "hello ! "

1 Like

This is some great stuff, just what I needed. Thanks everyone.

The commands are still relative or changed little because rust and wayland comes and x11 starting kicked.

The vast majority are still relevant and while X11 commands are not applicable in Wayland, X11 will remain relevant for a few more years.

2 Likes

Had a crash on m'lady's machine during install of updated to SoftMaker Office.
If you have this issue with any package and get the message:

E: package needs to be reinstalled but cannot find an archive.

enter this:

sudo dpkg --remove --force-all [name of application/package]

Then re-install/fresh install the application.

3 Likes