User Tools

Site Tools


useful_commands

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
useful_commands [2019/09/28 17:51] dinouseful_commands [2022/10/18 15:31] dino
Line 1: Line 1:
 +**Basic info about your distribution**\\
 +<code>cat /etc/os-release</code>\\
 +
 +**What is my computer's ip address**\\
 +<code>hostname -I </code> or \\
 +<code>ip -s -c -h a</code> 
 +
 **How to restart your network connection**\\ **How to restart your network connection**\\
 <code>sudo service network-manager restart</code> <code>sudo service network-manager restart</code>
Line 7: Line 14:
 **Which linux kernel/version**\\ **Which linux kernel/version**\\
 <code>uname -a</code>    <code>uname -a</code>   
 +
 +**How much RAM memory is used**\\
 +<code>free -m</code>
 +
 +**How to find out exact installation date of your Linux OS**\\
 +<code>sudo su</code>
 +<code>fs=$(df / | tail -1 | cut -f1 -d' ') && tune2fs -l $fs | grep created</code>
  
 **See sources list your OS is using**\\ **See sources list your OS is using**\\
Line 12: Line 26:
  
 **Run an app as root**\\              **Run an app as root**\\             
-<code>sudo nemo</code> +<code>sudo caja</code> 
  
 **List all installed packages**\\                  **List all installed packages**\\                 
Line 38: Line 52:
 fx fx
  
-<code>dpkg --list --> appl_list.txt</code>+<code>dpkg --list --> app_list.txt</code>
  
  
 **Shortcut to shutdown/restart/suspend**\\ **Shortcut to shutdown/restart/suspend**\\
 CTRL+DEL+END CTRL+DEL+END
 +
 +
 +**Quick I need an txt editor**\\
 +
 +This key combination fires up, an editor in the terminal, instantaneously:
 +
 +Ctrl+x+e
 +
 +
useful_commands.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1