fork(2) download
  1. #!/bin/bash
  2.  
  3. find /usr/share/applications/ ~/.local/share/applications/ \
  4. -name '*.desktop' \
  5. -exec sed -rn ':b;$!{N;bb};s;.*\nName=([^\n]+).*\nExec=([^\n]+).*;\1!\2;p' {} \; \
  6. | sort -u
Success #stdin #stdout #stderr 0.08s 5288KB
stdin
Standard input is empty
stdout
About!gnome-control-center info-overview
Access Prompt!/usr/lib/gcr/gcr-prompter
Advanced Network Configuration!nm-connection-editor
Applications!gnome-control-center applications
Background!gnome-control-center background
Bluetooth!gnome-control-center bluetooth
Byobu Terminal!env TERM=xterm-256color byobu
CLIPS!clips
Color!gnome-control-center color
Date & Time!gnome-control-center datetime
Default Applications!gnome-control-center default-apps
Displays!gnome-control-center display
Dock!gnome-control-center ubuntu
DrRacket!drracket -singleInstance %F
Emoji Choice!ibus emoji
Emoji Choice!/usr/lib/ibus/ibus-extension-gtk3
Evolution Alarm Notify!/usr/libexec/evolution-data-server/evolution-alarm-notify
Evolution Calendar!evolution -c calendar
Geoclue Demo agent!/usr/lib/geoclue-2.0/demos/agent
GNOME Shell!/usr/bin/gnome-shell
Handler for snap:// URIs!/usr/bin/snap handle-link %U
Help!yelp %u
Htop!htop
IBus Preferences!ibus-setup
Input Method!im-config
Keyboard!gnome-control-center keyboard
Keyboard Layout!gkbd-keyboard-display
Language Support!/usr/bin/gnome-language-selector
Mouse & Touchpad!gnome-control-center mouse
Mutter!mutter
Network!gnome-control-center network
Network Login!gapplication launch org.gnome.Shell.PortalHelper
Network!nm-applet
Notifications!gnome-control-center notifications
Online Accounts!gnome-control-center online-accounts
Power!gnome-control-center power
Printers!gnome-control-center printers
Printers!system-config-printer
Privacy!gnome-control-center privacy
Python (v2.7)!/usr/bin/python2.7
Python (v3.7)!/usr/bin/python3.7
Region & Language!gnome-control-center region
Removable Media!gnome-control-center removable-media
Search!gnome-control-center search
Settings!gnome-control-center
Sharing!gnome-control-center sharing
Shell Extensions!/usr/bin/gnome-shell-extension-prefs %u
Sound!gnome-control-center sound
Startup Applications!gnome-session-properties
Thunderbolt!gnome-control-center thunderbolt
Universal Access!gnome-control-center universal-access
Users!gnome-control-center user-accounts
View file!/usr/bin/gcr-viewer
Vim!vim %F
Wacom Tablet!gnome-control-center wacom
Wi-Fi!gnome-control-center wifi
stderr
find: ‘/home/7vtihw/.local/share/applications/’: No such file or directory