A really simple approach?
Find a popular java app, install it and then use it as a template for the app you want to set up.
So, for example…
I like to use JDownloader as my cross-platform streaming downloader that can download practically anything you want in greatest detail (point it at a YouTube video and you’ll be amazed how many things a common downloader doesn’t expose to you).
Inspect the Desktop shortcuts and menu entries it creates (YMMV depending on your Desktop).
For JDownloader, I also used it as an example how to create a menu entry for the LXDE and LXQt Desktops
For any other Desktop, you’d probably use the same connection string but set up the shortcut or menu entry differently.
I managed to make a bash script ? rotfl!
With the hint given by Malcom nand some googling.
Started a txt file, with kate, and although, I was wondering if it could work, everything on Linux is a file so why not try.
Saved it as a .sh file.
I had put in two lines and it did not work, until I released I needed to add the path to the file.
Then saved it as sheepit.sh
For your specific commands (cp and mv),
The help and MAN pages are probably most convenient.
The help is abbreviated so it’s fastest but maybe so abbreviated it’s incomprehensible.
The MAN pages are typically exhaustively detailed
And, although you can skip creating the file first by simply starting to edit a “file to be named” with vi and saving your edits
You can always create an empty file with touch
For practical commands and some beginning script building, I’ve posted some articles in my Wiki.
The Wiki for beginning scripts includes a simple online editor that’ll catch errors
Each page more often than not is more than just how to execute a command, it also is an example and illustration of something more
Omg this is embarrassing. I had of-course googled, and found one page that did help but it was from a mac user, who said this will work on Linux too.
He said to use touch, and I assumed because I never had heard of this command, it would be a mac thingy.
Even though I know mac os and Linux have the same roots, UNIX.
Learning moment about not to draw conclusions too fast.
I do not know the book, but it looks as being specific about openSUSE Leap 15.2. IMHO that would mean that it assumes you are fluent with Unix/Linux already and that the book then woudl teach you the differences, details and specialties of this version assuming certain knowledge.
There are there no starters in bash programming. They assume that you have at least a basic knowledge about bash. The third section “De onleesbare shell commando’s” is however something you will need very soon after you started writing bash commands.