Manjaro – Arch Linux CLI Cheat Sheet

Below you will find an easy to use Manjaro CLI (command line interface) cheat sheet. Manjaro Linux is based on Arch Linux so this is an Arch Linux CLI cheat sheet as well. This list should contain most commands that you may use and are sorted by category. If you would like to see a command added or see an error please leave a comment.

Access Rights

sudo command # executes command as root
sudo -k # empties password cache
sudo visudo # edits /etc/sudoers
passwd # changes user password
chown owner:group # changes owner and group of file
chmod permissions file # changes the file permissions
      to set permissions in octal mode:
      4 (read) 2 (write) 1 (execute)
      example - 755 read-write-execute for owner
      amd read-execute for group and others
ls -lh [dir] # displays files and permissions [of directory]

[use man command for more information]

Files and Directories

cd dir # changes the working directory
cd .. # changes to the parent directory
ls # lists directory contents
ls -a # also lists the hidden files
cp target file # copies the file
cp -r target directory # copies the directory
mv target source # move/rename target source
rm -r dir # removes directory recursively
ln -s file link # removes directory recursively
mount -t type dev path # mounts file system
mount -o loop iso path # mounts iso image
/home/user # home directory of user
/etc # directory with global configurations

[use man command for more information]

Network

ifconfig # displays network information
iwconfig # displays wireless network information
iwlist scan # lists wireless access points
/etc/rd.d/network ifup interface
/etc/rd.d/network ifdown interface
/etc/rd.d/iptables {start|stop|restart}
ufw enable # enables the firewall [package Community: ufw]
ufw default allow/deny # allows/denies all incoming traffic
ufw status # displays firewall status and rules
ufw allow/deny port # allows/denies incoming traffic on the specified port
ufw allow/deny from ip # allows/denies incoming traffic from specified IP address

[use man command for more information]

System and Screen

uname -r # displays the kernel version
uname -a # displays all the kernel version
df # reports file system disk space usage
top # displays system tasks
procinfo # displays system information [package Core:procinfo-ng]
pstree # display a tree of processes
Ctrl+Alt+Fn # switches to tty n
Ctrl+Alt+F7 # switches to the X session
rc.d start daemon # starts a daemon
rc.d stop daemon # stops a daemon
rc.d restart daemon #restarts a daemon
shutdown -h now # shuts the sytem down
shutdown -r now # restarts the system

[use man command for more information]

Package Management

pacman -Si pckg # shows package information
pacman - S pckg # installs a package
pacman -Rns pckg # removes a package, its dependencies and configuration files
pacman -Syu # complete package upgrade
pacman -Ss name # searches for packages
pacman -Q pckg # diplays installed packages
pacman -Ql pckg # lists all package files
pacman -U pckg.tar.xz # installs a package from a file
pacman -Qm # lists manually installed packages
yaourt -S pckg # installs a package from AUR [package AUR: yaourt]
yaourt -Syua # complete package upgrade including packages from AUR

man pacman.conf/makepkg # learn more about pacman
* use pacman as root or with sudo
 use yaourt as non-privileged user

 

The Most Popular Linux Distros Of 2018

2018 has come to a close and it is time to look back and see what were the 100 most popular Linux distros (distributions) of the past year.  We gathered our list from Distro Watch.  I find it amazing to see how Manjaro has come to dominate over the past year while Linux Mint has remained near the top.  Two dark horses that have made the top 5 are MX Linux and elementary while the once dominate Ubuntu has slipped to the number 5 spot.

Where is your Linux distro on the list?  What are your thoughts on the list and do you find any of the numbers surprising?

Here is the list:

 

Rank Distribution
1 Manjaro
2 Mint
3 elementary
4 MX Linux
5 Ubuntu
6 Debian
7 Solus
8 Fedora
9 openSUSE
10 Zorin
11 Antergos
12 CentOS
13 Arch
14 ReactOS
15 TrueOS
16 Kali
17 Lite
18 KDE neon
19 antiX
20 Lubuntu
21 PCLinuxOS
22 deepin
23 Endless
24 Peppermint
25 FreeBSD
26 SmartOS
27 Puppy
28 SparkyLinux
29 Ubuntu MATE
30 Parrot
31 Slackware
32 Mageia
33 Tails
34 Xubuntu
35 ArcoLinux
36 ArchLabs
37 Ubuntu Kylin
38 Q4OS
39 Bluestar
40 Bodhi
41 Archman
42 Devuan
43 Kubuntu
44 Voyager
45 Red Hat
46 Android-x86
47 Feren
48 Gentoo
49 Pop!_OS
50 LXLE
51 Slax
52 4MLinux
53 Nitrux
54 Robolinux
55 Ultimate
56 KaOS
57 Redcore
58 Netrunner
59 Ubuntu Budgie
60 KNOPPIX
61 Alpine
62 Qubes
63 Sabayon
64 SwagArch
65 ClearOS
66 Gecko
67 NixOS
68 DragonFly
69 GhostBSD
70 Ubuntu Studio
71 Neptune
72 ArchBang
73 Calculate
74 Trisquel
75 BlackArch
76 BunsenLabs
77 Scientific
78 Clonezilla
79 OpenBSD
80 Emmabuntüs
81 Pinguy
82 ROSA
83 siduction
84 AUSTRUMI
85 Tiny Core
86 NuTyX
87 Porteus
88 Raspbian
89 Container
90 Void
91 SteamOS
92 Absolute
93 BackBox
94 SolydXK
95 ExTiX
96 Oracle
97 Artix
98 Kodachi
99 Vector
100 Omarine

 

Window Maker Live

  • OS Type: Linux
  • Based on: Debian (Stable)
  • Origin: Spain
  • Architecture: i386, x86_64
  • Desktop: WMaker
  • Category: Desktop, Live Medium
  • Status: Active
Distribution Window Maker Live
Home Page http://wmlive.sourceforge.net/
User Forums http://sourceforge.net/p/wmlive/discussion/
Screenshots http://wmlive.sourceforge.net/
Download Mirrors http://sourceforge.net/projects/wmlive/files/

Aliases – WM Live, WM Live Linux, Window Maker Live Linux

If you have any more information about Window Maker Live please leave a comment or Contact Us.

PLD Linux Distribution

  • OS Type: Linux
  • Based on: Independent
  • Origin: Poland
  • Architecture: i686, x86_64
  • Desktop: Blackbox, Fluxbox, GNOME, IceWM, KDE, WMaker, Xfce
  • Category: Desktop, Server
  • Status: Active
Distribution PLD Linux Distribution
Home Page http://pld-linux.org/
Mailing Lists http://lists.pld-linux.org/
User Forums http://forum.pld-linux.org/
Documentation http://docs.pld-linux.org/
Screenshots http://pld-linux.org/Arts
Download Mirrors http://pld-linux.org/Mirrors
Related Websites PLD Live CD • PLD Rescue CD • PLD ChRoot Installer • Poldek

Aliases – PLD, PLD Linux

If you have any more information about PLD Linux Distribution please leave a comment or Contact Us.

GALPon MiniNo

  • OS Type: Linux
  • Based on: Debian (Stable)
  • Origin: Spain
  • Architecture: i686, x86_64
  • Desktop: LXDE, Openbox
  • Category: Live Medium, Netbooks, Old Computers
  • Status: Active
Distribution GALPon MiniNo
Home Page http://minino.galpon.org/
User Forums http://minino.galpon.org/en/forum
Screenshots http://minino.galpon.org/en/screenshoots
Download Mirrors http://minino.galpon.org/en/descargas

Aliases – GALPon, GALPon Linux, MiniNo, MiniNo Linux

If you have any more information about GALPon MiniNo please leave a comment or Contact Us.

GNUstep Live CD

  • OS Type: Linux
  • Based on: Debian, Morphix
  • Origin: Switzerland
  • Architecture: x86_64
  • Desktop: WMaker
  • Category: Free Software, Live Medium, Raspberry Pi
  • Status: Active
Distribution GNUstep Live CD
Home Page http://livecd.gnustep.org/
Documentation http://livecd.gnustep.org/
Download Mirrors http://debian.ethz.ch/mirror/gnustep/
Related Websites GNUstep Wiki

Aliases – GNUstep, GNUstep Linux

If you have any more information about GNUstep Live CD please leave a comment or Contact Us.

Elive

  • OS Type: Linux
  • Based on: Debian
  • Origin: Belgium
  • Architecture: i486
  • Desktop: Enlightenment
  • Category: Live Medium
  • Status: Active
Distribution Elive
Home Page http://www.elivecd.org/
User Forums http://forum.elivecd.org/
Screenshots http://www.elivecd.org/screenshots/stable/
Download Mirrors http://www.elivecd.org/download/stable/
Bug Tracker http://bugs.elivecd.org/
Related Websites Wikipedia

Aliases – Elive Linux, Enlightenment live CD

If you have any more information about Elive please leave a comment or Contact Us.

Elastix

  • OS Type: Linux
  • Based on: Debian
  • Origin: Ecuador
  • Architecture: x86_64
  • Desktop: No Desktop, WebUI
  • Category: Telephony
  • Status: Active
Distribution Elastix
Home Page http://www.elastix.org/
User Forums https://www.elastix.org/community/
Download Mirrors https://www.elastix.org/downloads/

Aliases – Elaxtix Linux, Elastic PBX

If you have any more information about Elastix please leave a comment or Contact Us.

Clear Linux

  • OS Type: Linux
  • Based on: Independent
  • Origin: USA
  • Architecture: x86_64
  • Desktop: No Desktop
  • Category: Cloud, Server, Specialist
  • Status: Active
Distribution Clear Linux
Home Page https://clearlinux.org/
Mailing Lists https://lists.clearlinux.org/mailman/listinfo/dev
Documentation https://clearlinux.org/documentation/
Screenshots DistroWatch Gallery
Download Mirrors https://download.clearlinux.org/current/

If you have any more information about Clear Linux please leave a comment or Contact Us.