porteus 5rc3 list of all commands and install packages

Post here if you are a new Porteus member and you're looking for some help.
Farid
Black ninja
Black ninja
Posts: 32
Joined: 21 Apr 2022, 20:11
Distribution: Porteus 5.0

porteus 5rc3 list of all commands and install packages

Post#1 by Farid » 24 Apr 2022, 21:31

how i understand what command i can use and what pakages is install?
i use ls /etc/
is it?
or other location for packages and commands?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

porteus 5rc3 list of all commands and install packages

Post#2 by Ed_P » 24 Apr 2022, 21:56

Menu > All Applications shows what's installed.

Added in 34 minutes 3 seconds:
From a terminal point of view these commands show apps and commands and active modules.

Code: Select all

ls -lght /usr/share/applications | sed 's^.desktop^^g'
ls -lght /opt/porteus-scripts
ls -lght /mnt/live/memory/images
Ed

Farid
Black ninja
Black ninja
Posts: 32
Joined: 21 Apr 2022, 20:11
Distribution: Porteus 5.0

porteus 5rc3 list of all commands and install packages

Post#3 by Farid » 24 Apr 2022, 22:52

Ed_P wrote:
24 Apr 2022, 22:30
very good
thanks

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

porteus 5rc3 list of all commands and install packages

Post#4 by donald » 25 Apr 2022, 01:07

compgen -c will list all the commands you could run.

to save the output as a list (file), run:
compgen -c > ~/commands.txt

for packages run ls /var/log/packages/ > ~/packages.txt

you will find both files in your home dir.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

porteus 5rc3 list of all commands and install packages

Post#5 by Ed_P » 25 Apr 2022, 18:18

Very clever donald. :happy62: :good:

Code: Select all

#!/bin/sh
#https://forum.porteus.org/viewtopic.php?p=87869#p87869 - donald
compgen -c > ~/commands.txt
ls /var/log/packages/ > ~/packages.txt
Ed

Post Reply