{"id":255,"date":"2020-08-06T07:35:45","date_gmt":"2020-08-06T05:35:45","guid":{"rendered":"https:\/\/data-samurai.ch\/?p=255"},"modified":"2021-02-08T09:17:54","modified_gmt":"2021-02-08T08:17:54","slug":"raspberry-pi-basic-commands","status":"publish","type":"post","link":"https:\/\/rel01.data-samurai.ch\/?p=255","title":{"rendered":"Raspberry Pi Basic Commands"},"content":{"rendered":"\n<p>Bellow some Basic Raspberry Pi Terminal Commands snippets.<\/p>\n\n\n\n<p>In program for Unix-like computer operating systems <strong>sudo<\/strong> stands for Super User Do. Depending on the situation you may need it (due to laziness I just use it all the time).<\/p>\n\n\n\n<h4>Update your Raspberry Pi<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get upgrade<\/code><\/pre>\n\n\n\n<p>If you want automatic updates and upgrades.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install unattended-upgrades\nsudo dpkg-reconfigure -plow unattended-upgrades<\/code><\/pre>\n\n\n\n<p>If you want to know more go here https:\/\/www.elektronik-kompendium.de\/sites\/raspberry-pi\/2002101.htm<\/p>\n\n\n\n<h4>Install \/ Uninstall an App<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># Install an app\nsudo apt install &#91;package name]\nsudo apt install hostapd\n\n# Remove the package from use\nsudo apt-get remove &#91;package name]\n\n# To completely remove the package from the system.\nsudo apt-get purge &#91;package name]\n\n# To clean up the local repository\nsudo apt-get clean &#91;package name]<\/code><\/pre>\n\n\n\n<h4>Modify Files as Admin<\/h4>\n\n\n\n<p>Nano is an easy to use command line text editor. It is especially helpful if you do adjustments in config files which you only can change as superuser.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/dhcpcd.conf<\/code><\/pre>\n\n\n\n<h4>IP Configuration<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>ifconfig<\/code><\/pre>\n\n\n\n<p>If you need the IP only<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname -I<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bellow some Basic Raspberry Pi Terminal Commands snippets. In program for Unix-like computer operating systems sudo stands for Super User Do. Depending on the situation you may need it (due to laziness I just use it all the time). Update your Raspberry Pi If you want automatic updates and upgrades. If you want to know [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[31,32],"tags":[],"_links":{"self":[{"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=\/wp\/v2\/posts\/255"}],"collection":[{"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255"}],"version-history":[{"count":6,"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rel01.data-samurai.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}