Greetings, I wanted to print a list of my user installed flatpaks to a text file. The command I used looks like this:
flatpak list --columns=application --app flatpaks.txt
Which prints out a text file (flatpaks. txt) to my home directory. The output of the printout looks like this:
a.edestcroix.Recordbox
com.github.IsmaelMartinez.teams_for_linux
com.github.dynobo.normcap
com.github.louis77.tuner
com.github.muriloventuroso.givemelyrics
com.github.qarmin.czkawka
de.haeckerfelix.Shortwave
fr.free.Homebank
io.github.cboxdoerfer.FSearch
io.github.flattool.Warehouse
io.github.giantpinkrobots.flatsweep
io.github.jonmagon.kdiskmark
io.missioncenter.MissionCenter
net.nokyan.Resources
org.atheme.audacious
org.bitcoincore.bitcoin-qt
org.freefilesync.FreeFileSync
org.gnome.Lollypop
org.gnome.World.PikaBackup
org.gnome.gedit
org.gnucash.GnuCash
org.kde.kmymoney
org.kde.konsole
org.kde.skrooge
org.moneymanagerex.MMEX
org.videolan.VLC
page.codeberg.JakobDev.jdFlatpakSnapshot
ua.org.brezblock.q4wine
us.zoom.Zoom
Is there a way I can change the output to show only the program name and nothing else? For example:
Recordbox
Teams for Linux
Normcap
Tuner
Not that good at terminal commands and I haven’t found a way to clean-up the output so it only shows the program name? Does anyone know proper syntax is? Thanks in advance.
flatpak list --columns=application --app flatpaks.txt
Which prints out a text file (flatpaks. txt) to my home directory. The output of the printout looks like this:
a.edestcroix.Recordbox
com.github.IsmaelMartinez.teams_for_linux
com.github.dynobo.normcap
com.github.louis77.tuner
com.github.muriloventuroso.givemelyrics
com.github.qarmin.czkawka
de.haeckerfelix.Shortwave
fr.free.Homebank
io.github.cboxdoerfer.FSearch
io.github.flattool.Warehouse
io.github.giantpinkrobots.flatsweep
io.github.jonmagon.kdiskmark
io.missioncenter.MissionCenter
net.nokyan.Resources
org.atheme.audacious
org.bitcoincore.bitcoin-qt
org.freefilesync.FreeFileSync
org.gnome.Lollypop
org.gnome.World.PikaBackup
org.gnome.gedit
org.gnucash.GnuCash
org.kde.kmymoney
org.kde.konsole
org.kde.skrooge
org.moneymanagerex.MMEX
org.videolan.VLC
page.codeberg.JakobDev.jdFlatpakSnapshot
ua.org.brezblock.q4wine
us.zoom.Zoom
Is there a way I can change the output to show only the program name and nothing else? For example:
Recordbox
Teams for Linux
Normcap
Tuner
Not that good at terminal commands and I haven’t found a way to clean-up the output so it only shows the program name? Does anyone know proper syntax is? Thanks in advance.
Comment