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:

 

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

 

Zorin OS

  • OS Type: Linux
  • Based on: Debian, Ubuntu (LTS)
  • Origin: Ireland
  • Architecture: i386, x86_64
  • Desktop: GNOME, Xfce
  • Category: Beginners, Desktop, Live Medium
  • Status: Active
DistributionZorin OS
Home Pagehttp://www.zorin-os.com/
User Forumshttp://www.zoringroup.com/forum/viewforum.php?f=3
Screenshotshttp://zorin-os.com/gallery.html
Download Mirrorshttp://zorin-os.com/free.html

Aliases – Zorin, Zorin Linux

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

Zevenet

  • OS Type: Linux
  • Based on: Debian
  • Origin: Spain
  • Architecture: i686
  • Desktop: No Desktop, WebUI
  • Category: Server, Specialist
  • Status: Active
DistributionZevenet
Home Pagehttps://www.zevenet.com/
User Forumshttps://groups.google.com/a/zevenet.com/forum/#!forum/zevenet-ce-users
Download Mirrorshttps://sourceforge.net/projects/zevenet/files/
Bug Trackerhttps://github.com/zevenet/zlb/issues

Aliases – Zevenet Linux

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

Zeroshell

  • OS Type: Linux
  • Based on: Independent
  • Origin: Italy
  • Architecture: armhf, i386, x86_64
  • Desktop: No Desktop, WebUI
  • Category: Firewall, Live Medium, Server
  • Status: Active
DistributionZeroshell
Home Pagehttp://www.zeroshell.org/
Mailing Listshttp://www.zeroshell.org/mailinglist/
Documentationhttp://www.zeroshell.org/documentation/
Download Mirrorshttp://www.zeroshell.org/download/

Aliases – Zeroshell Linux

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

Zenwalk Linux

  • OS Type: Linux
  • Based on: Slackware
  • Origin: France
  • Architecture: i486, i686, x86_64
  • Desktop: GNOME, Openbox, WMaker, Xfce
  • Category: Desktop, Live Medium
  • Status: Active
DistributionZenwalk Linux (formerly Minislack)
Home Pagehttp://zenwalk.org/
User Forumshttp://support.zenwalk.org/
Documentationhttp://manual.zenwalk.org/
Download Mirrorshttp://www.zenwalk.org/viewforum.php?f=65
Related WebsitesBlogspot • Wikipedia

Aliases – Zenwalk, Minislack

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

Zentyal Server

  • OS Type: Linux
  • Based on: Debian, Ubuntu
  • Origin: Spain
  • Architecture: x86_64
  • Desktop: No Desktop, WebUI
  • Category: Security, Server
  • Status: Active
DistributionZentyal Server (formerly eBox Platform)
Home Pagehttp://www.zentyal.org/
Mailing Listshttp://lists.zentyal.org/
User Forumshttp://forum.zentyal.org/
Documentationhttp://wiki.zentyal.org/
Screenshotshttp://trac.zentyal.org/screenshots
Download Mirrorshttp://download.zentyal.com/
Bug Trackerhttp://tracker.zentyal.org/
Related WebsitesZentyal.com • Wikipedia

Aliases – eBox Platform

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

YunoHost

  • OS Type: Linux
  • Based on: Debian
  • Origin: France
  • Architecture: armhf, i686, x86_64
  • Desktop: No Desktop, WebUI
  • Category: Server
  • Status: Active
DistributionYunoHost
Home Pagehttps://yunohost.org/
User Forumshttps://forum.yunohost.org/
Documentationhttps://yunohost.org/#/docs
Download Mirrorshttps://yunohost.org/#/install
Bug Trackerhttps://github.com/yunohost/issues/issues

Aliases – Yuno Host

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

Xubuntu

  • OS Type: Linux
  • Based on: Debian, Ubuntu
  • Origin: Isle of Man
  • Architecture: i386, x86_64
  • Desktop: Xfce
  • Category: Desktop
  • Status: Active
DistributionXubuntu
Home Pagehttp://www.xubuntu.org/
Mailing Listshttps://lists.ubuntu.com/mailman/listinfo/xubuntu-users
User Forumshttp://ubuntuforums.org/
Documentationhttp://docs.xubuntu.org/
Download Mirrorshttp://xubuntu.org/getxubuntu/
Bug Trackerhttps://bugs.launchpad.net/
Related WebsitesXubuntu Italy • Wikipedia

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

XStreamOS

  • OS Type: Solaris
  • Based on: Solaris, OpenSolaris
  • Origin: Italy
  • Architecture: x86_64
  • Desktop: LXDE
  • Category: Desktop, Server
  • Status: Active
DistributionXStreamOS
Home Pagehttp://www.sonicle.com/index.jsp?pagename=xstreamos
Mailing Listshttp://lists.sonicle.com/
Download Mirrorshttp://sourceforge.net/projects/xstreamos/files/

Aliases – XStream OS, X Stream OS

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