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 [2021/08/19 14:55] – [Wired network doesn't work after suspend (does not work)] mhlinux:start [2022/09/06 12:59] (current) – [Misc Ressources] mh
Line 502: Line 502:
  
 <code bash> <code bash>
-#All the following commands are verbose (-v) +#All the following commands are verbose (-v) and target a file archive (-f
-$ tar -xvf file.tar #Unpack tar +$ tar -xvf file.tar #Unpack tar (-x : extract) 
-$ tar -xvzf file.tar.gz #Unpack compressed (gzip) tar +$ tar -xvzf file.tar.gz #Unpack compressed (gzip) tar (-z : filter through gzip) 
-$ tar -cvf file.tar /path/folder #Pack folder into file.tar archive +$ tar -cvf file.tar /path/folder #Pack folder into file.tar archive (-c : create) 
-$ tar -cvzf file.tar /path/folder #Same as above with compression (gzip)+$ tar -cvzf file.tar /path/folder #Same as above with compression (gzip) (-z : filter through gzip)
 </code> </code>
  
Line 512: Line 512:
 ---- ----
  
 +=== Samba ===
 +
 +<code bash>
 +sudo service smbd start/stop/restart
 +</code>
 +
 +----
 +
 +===== apt and dpkg =====
 +
 +==== Fixing apt dependency problems ====
 +
 +This can fix some states in which apt is broken and refuses to update because some libraries fail :
 +
 +<code bash>
 +$ dpkg --configure -a
 +$ apt --fix-broken install
 +</code>
  
  
Line 609: Line 627:
  
   *[[https://en.wikipedia.org/wiki/Magic_SysRq_key#Configuration|SysRq Keys]] -- Best combo is ''Alt + SysRq + R E I S U B''   *[[https://en.wikipedia.org/wiki/Magic_SysRq_key#Configuration|SysRq Keys]] -- Best combo is ''Alt + SysRq + R E I S U B''
 +
   *[[https://www.guruadvisor.net/en/software-saas/465-advanced-linux-troubleshooting-methods-and-tools-for-diagnostics-and-problem-identification|Advanced Linux Troubleshooting]]   *[[https://www.guruadvisor.net/en/software-saas/465-advanced-linux-troubleshooting-methods-and-tools-for-diagnostics-and-problem-identification|Advanced Linux Troubleshooting]]
 +
 +  *[[https://wiki.networksecuritytoolkit.org/nstwiki/index.php?title=HowTo_Create_A_GPT_Disk_With_EFI_System_And_exFAT_Partitions_Using_Parted|Creating GPT/exFAT partitions using CLI]]
  • linux/start.1629377711.txt.gz
  • Last modified: 2021/08/19 14:55
  • by mh