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 [2022/09/06 12:59] – [Misc Ressources] mhlinux:start [2026/01/01 10:23] (current) – [Useful shell] mh
Line 1: Line 1:
 ====== Linux ====== ====== Linux ======
  
-  -[[linux:RBS|Razer Blade Stealth in Linux]] +  -**[[linux:RBS|Razer Blade Stealth in Linux]]** 
-  -[[linux:lampp|LAMPP local server]] +  -**[[linux:lampp|LAMPP local server]]** 
-  -[[linux:git|Git basics]] +  -**[[linux:git|Git basics]]** 
-  -[[linux:bash|Bash]] +  -**[[linux:bash|Bash]]** 
-  -[[linux:sed|sed]]+  -**[[linux:sed|sed]]**
  
 ===== PATH ===== ===== PATH =====
Line 92: Line 92:
 Extract the content of an AppImage : Extract the content of an AppImage :
  
 +<code bash>
 ./your.AppImage --appimage-extract ./your.AppImage --appimage-extract
 +#And copy to somewhere sensible
 +sudo cp squashfs-root/myapp.png /usr/share/icons/hicolor/256x256/apps/
 +</code>
  
 This is useful if you want to get the Icon. This is useful if you want to get the Icon.
  
 [[https://github.com/AppImage/AppImageKit/releases|Link to AppImage Daemon]] //This Daemon scans well known places for appimages and creates menu entries and extracts icons// [[https://github.com/AppImage/AppImageKit/releases|Link to AppImage Daemon]] //This Daemon scans well known places for appimages and creates menu entries and extracts icons//
 +
 +To run an AppImage just make it executable :
 +
 +<code bash>
 +$ chmod +x /path/to/example.AppImage
 +$ ./example.AppImage
 +</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 519: 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.1662461970.txt.gz
  • Last modified: 2025/06/02 21:18
  • (external edit)