App for teaching CLI to new users

Get involved, create or participate in a project.
Post Reply
plaealefridays
Level 1
Level 1
Posts: 3
Joined: Fri Oct 27, 2017 10:09 am

App for teaching CLI to new users

Post by plaealefridays » Fri Oct 27, 2017 10:18 am

I'm new to python and programming but have a simple idea.

It's a desktop widget that sits on your screen and live displays CLI commands for the things you're actively doing with the GUI so you can learn from doing and learn the things you need to know as you actually use them.

I don't know how to send the input information to the app, thats way above my head at this point. Even a direction to start looking would very helpful.

Or better yet, does this app allready exist?

rene
Level 8
Level 8
Posts: 2228
Joined: Sun Mar 27, 2016 6:58 pm

Re: App for teaching CLI to new users

Post by rene » Fri Oct 27, 2017 2:07 pm

Such a widget cannot exist.

Most people consider the/a GUI to be higher level than the/a CLI but some together with the incorrect assumption that the GUI sits above the CLI; that commands typed into a terminal are somehow "the real system" and actions performed through a graphical interface get translated and/or fed to a command interface. This is not the case; Command Line and Graphical User are two Interface types which as far as the system itself is concerned exist at the same level; neither sits above nor needs the other; neither necessarily even translates to the other. How would I translate selecting a window, opening a menu, switching to another window, ...

A graphical file manager would be the most directly translatable example. It is however not hard to remember that cp means copy, rm remove and so on; it's for example the selection of files to operate on that is the potentially interesting aspect of a graphical file manager but also the exact one that isn't translatable to a command line; there's no command line equivalent to dragging a box around a few files to select them; in a command line interface you simply spell them all out, or use for example wildcards.

Certainly not anything as generic as what you seem to be envisioning exists, can exist, nor really even makes sense as a concept.

plaealefridays
Level 1
Level 1
Posts: 3
Joined: Fri Oct 27, 2017 10:09 am

Re: App for teaching CLI to new users

Post by plaealefridays » Sat Oct 28, 2017 10:31 pm

thanks for the info.

aes2011
Level 5
Level 5
Posts: 504
Joined: Wed Jul 06, 2011 10:39 pm

Re: App for teaching CLI to new users

Post by aes2011 » Sat Oct 28, 2017 11:41 pm

What about http://web.mit.edu/mprat/Public/web/Ter ... /main.html?

I haven't tried it myself.

plaealefridays
Level 1
Level 1
Posts: 3
Joined: Fri Oct 27, 2017 10:09 am

Re: App for teaching CLI to new users

Post by plaealefridays » Sun Oct 29, 2017 7:04 am

thank you so much aes2011!!

User avatar
lazydazy
Level 1
Level 1
Posts: 2
Joined: Wed Jun 01, 2016 6:53 pm
Location: Sierra Nevada, California

Re: App for teaching CLI to new users

Post by lazydazy » Fri Feb 02, 2018 4:38 pm

:roll: Hi there,

I just tried that link and it was quickly and fastly fun!

I think I am going to learn Python programming language myself. Many of the promotional emails I receive from online coding instructors come with statistics indicating this is promising. There are also inexpensive online books from various sources that indicate it could be not only fun but feasible that some brains could adapt to learning that.

When I read the original post I thought of the drop down menus in some software programs that indicate the keyboard commands that accomplish the same function. Maybe you could start with a simple idea as that. Don't you wonder how some people come up with the correct CLI commands when no one can? I think they are secretly programmers.

I, myself am using an online IDE now to learn Web Development. The IDE's have the Linux Bash Shell for loading frameworks and manipulating files. How did they learn it initially. I think one would have to be an internet search engine slueth.
Dandelion seed production occurs without pollination. A single plant can produce more than 2000 seeds. The so-called weed also reproduces by its root system. Pulling one dandelion from the grass will produce many other dandelions all over the place...

User avatar
JerryF
Level 10
Level 10
Posts: 3148
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: App for teaching CLI to new users

Post by JerryF » Fri Feb 02, 2018 5:54 pm

What you're looking for reminds me about the old days. There was a program called dBase III Plus. It was a database program.

Any commands that you performed through the menus would translate to written commands to a dot prompt CLI.

For an example, you could have something like that for commands performed in the file manager. Obviously, someone would have to write such a program.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

Post Reply

Return to “Community Projects”