linux:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:start [2025/12/23 10:53] – [AppImages] mhlinux:start [2026/01/01 10:23] (current) – [Useful shell] mh
Line 108: Line 108:
 $ ./example.AppImage $ ./example.AppImage
 </code> </code>
 +
 +Some AppImages support:
 +
 +<code bash>
 +./MyApp.AppImage --install
 +</code>
 +
 +This automatically:
 +  * Creates a .desktop file
 +  * Extracts the icon
 +  * Registers everything correctly
 +
 +If it works, this is the cleanest solution. If not, manual extraction remains the most reliable path.
  
 ---- ----
Line 531: Line 544:
  
 ---- ----
 +
 +=== Empty a file ===
 +
 +<code bash>
 +: > ~/path/to/file
 +</code>
 +
 +  * : is the shell’s no-op builtin
 +  * Redirection truncates the file to zero bytes
 +  * File permissions and ownership are preserved
  
 ===== apt and dpkg ===== ===== apt and dpkg =====
  • linux/start.1766483591.txt.gz
  • Last modified: 2025/12/23 10:53
  • by mh