<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Linux-cli-intro</id>
	<title>Linux-cli-intro - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Linux-cli-intro"/>
	<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Linux-cli-intro&amp;action=history"/>
	<updated>2026-05-17T04:56:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.marcelpost.com/wiki/index.php?title=Linux-cli-intro&amp;diff=2111&amp;oldid=prev</id>
		<title>Admin at 04:15, 26 November 2015</title>
		<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Linux-cli-intro&amp;diff=2111&amp;oldid=prev"/>
		<updated>2015-11-26T04:15:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The following pointers can be used to get a basic understanding of a Linux system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Concepts:&lt;br /&gt;
&lt;br /&gt;
*kernel&lt;br /&gt;
*debian/raspbian&lt;br /&gt;
*root&lt;br /&gt;
*shell&lt;br /&gt;
*filesystem (ext2)&lt;br /&gt;
*firmware&lt;br /&gt;
*apt&lt;br /&gt;
*mount points&lt;br /&gt;
*shm&lt;br /&gt;
*proc&lt;br /&gt;
*dev&lt;br /&gt;
*tty&lt;br /&gt;
*stderr/stdout&lt;br /&gt;
*sound&lt;br /&gt;
*putty/ssh&lt;br /&gt;
*ncurses (text based gui)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
command line&lt;br /&gt;
------------&lt;br /&gt;
shutdown - shut down or reboot system&lt;br /&gt;
passwd   - change password&lt;br /&gt;
man      - man(ual) page with info&lt;br /&gt;
date     - prints date and time&lt;br /&gt;
sudo     - do as root&lt;br /&gt;
su       - substitute user&lt;br /&gt;
ls       - list files in a directory&lt;br /&gt;
alias    - shortcuts to commands&lt;br /&gt;
ps       - process information&lt;br /&gt;
df       - disk free&lt;br /&gt;
du       - disk usage&lt;br /&gt;
cat      - print contents (of a file)&lt;br /&gt;
echo     - print text (on screen)&lt;br /&gt;
touch    - create/update file/timestamp&lt;br /&gt;
more     - show output per-screen&lt;br /&gt;
grep     - filter output by keyword(s) match&lt;br /&gt;
head     - show top of (a file)&lt;br /&gt;
tail     - show bottom (of a file)&lt;br /&gt;
sort     - sort alphabetically&lt;br /&gt;
find     - search for matching files or directories&lt;br /&gt;
cp       - copy file(s) or directories&lt;br /&gt;
mv       - move file(s) or directories&lt;br /&gt;
rm       - delete file(s)&lt;br /&gt;
pwd      - print working directory&lt;br /&gt;
cd       - change directory&lt;br /&gt;
mkdir    - make directory&lt;br /&gt;
rmdir    - remove directory&lt;br /&gt;
chown    - change ownership permissions of a file or directory&lt;br /&gt;
chgrp    - change group permissions of a file or directory&lt;br /&gt;
chmod    - change access and execute permissions of a file or directory&lt;br /&gt;
groups   - show group memberships&lt;br /&gt;
ifconfig - show network interfaces&lt;br /&gt;
netstat  - show network connections&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cron                 - execute scheduled commands&lt;br /&gt;
crontab -e           - edit user&amp;#039;s own crontab&lt;br /&gt;
crontab -e -u &amp;lt;user&amp;gt; - edit other user&amp;#039;s crontab&lt;br /&gt;
crontab -l           - show contents of crontab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt; &amp;amp;     - background a process&lt;br /&gt;
nohup &amp;lt;cmd&amp;gt; - background a process independent of shell&lt;br /&gt;
screen      - background shell&lt;br /&gt;
&lt;br /&gt;
CTRL-PGUP   - scroll screen up&lt;br /&gt;
CTRL-PGDN   - scroll screen down&lt;br /&gt;
arrow up    - previous command&lt;br /&gt;
arrow down  - next command&lt;br /&gt;
history     - show list of previous commands&lt;br /&gt;
!&amp;lt;nr&amp;gt;       - issue command nr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
apt (software package management)&lt;br /&gt;
apt-get update                  - fetch a current list of all packages from the Internet&lt;br /&gt;
apt-get upgrade                 - check for and install any packages that need updating&lt;br /&gt;
apt-get clean                   - empty cache of downloaded packages&lt;br /&gt;
apt-cache search &amp;lt;name&amp;gt;         - find if a package exists&lt;br /&gt;
apt-cache show &amp;lt;name&amp;gt;           - show detailed information about a package&lt;br /&gt;
apt-get install &amp;lt;name&amp;gt;          - install a package&lt;br /&gt;
apt-get remove &amp;lt;name&amp;gt;           - remove a package&lt;br /&gt;
apt-get remove --purge &amp;lt;name&amp;gt;   - remove a package + any configuration files&lt;br /&gt;
&lt;br /&gt;
dpkg -l                         - show list of all installed packages&lt;br /&gt;
&lt;br /&gt;
aptitude                        - curses based package management&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
rapspi-config - configure raspberry pi&lt;br /&gt;
rpi-update    - update rpi firmware&lt;br /&gt;
&lt;br /&gt;
startx        - start x environment&lt;br /&gt;
iptraf        - monitor network activity&lt;br /&gt;
bwm-ng        - bandwidth monitor&lt;br /&gt;
&lt;br /&gt;
Files&lt;br /&gt;
-----&lt;br /&gt;
/etc/hostname&lt;br /&gt;
/etc/hosts&lt;br /&gt;
/etc/debian_version&lt;br /&gt;
/etc/fstab&lt;br /&gt;
/etc/network/interfaces&lt;br /&gt;
/etc/resolv.conf&lt;br /&gt;
/etc/wpa.conf&lt;br /&gt;
/etc/rc.local&lt;br /&gt;
/etc/apt/sources.list&lt;br /&gt;
/etc/default/keyboard&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Directories&lt;br /&gt;
-----------&lt;br /&gt;
/usr/local/bin&lt;br /&gt;
/home&lt;br /&gt;
/boot&lt;br /&gt;
/etc&lt;br /&gt;
/usr&lt;br /&gt;
/var/www&lt;br /&gt;
/mnt&lt;br /&gt;
/tmp&lt;br /&gt;
/dev/shm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Applications&lt;br /&gt;
------------&lt;br /&gt;
Apache - web server&lt;br /&gt;
Samba  - Windows-compatible File Server&lt;br /&gt;
MySQL  - Database Server&lt;br /&gt;
NTP    - Time server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Programming&lt;br /&gt;
-----------&lt;br /&gt;
Bash&lt;br /&gt;
Python&lt;br /&gt;
Perl&lt;br /&gt;
C/C++&lt;br /&gt;
PHP&lt;br /&gt;
Scratch (RPi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Interfacing with the Raspberry Pi GPIO&lt;br /&gt;
--------------------------------------&lt;br /&gt;
Level Converter&lt;br /&gt;
Python&lt;br /&gt;
I2C&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further reading:&lt;br /&gt;
----------------&lt;br /&gt;
&lt;br /&gt;
http://www.debian.org&lt;br /&gt;
&lt;br /&gt;
http://www.raspberrypi.org&lt;br /&gt;
&lt;br /&gt;
http://www.themagpi.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Putty, the Windows SSH client:&lt;br /&gt;
------------------------------&lt;br /&gt;
&lt;br /&gt;
http://www.chiark.greenend.org.uk/~sgtatham/putty/&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>