I am a new Manjaro user. I would like some commands new users like me should know about.
Are you already a linux user? I found this helpful switching from debian
man
$ man man
see in wiki manjaro
- mhwd & mhwd-kernel
- pacman-mirrors & pacman
- pamac
- manjaro-chroot
The commands and info in this guide for when you canât boot, super easy to do as a new to Linux user, if thatâs the case. How to work with an unbootable Manjaro (black screen, login failed, cant boot, etc)
Learning how to use pacman to manage pkgs from the start will save lots of hassles in learning pains.
$ man pacman
Hi @AniketMandal, you just visited the best place on earth to learn about Linux
CommandsâŚ
Well, there are a lot of them, depending on the thing you are doing or the problem youâre facing. In Manjaro there are no problems, so donât worry
If I where you, I would start reading the forum. Lots of info here. How to keep your system up to date, what if it doesnât boot anymore, etcâŚ
And if you have a particular question, just ask and you will get the answer.
When Iâve started my journey with Linux, there was this link â Linux Essentials It helped me a lot.
**EDIT Ok, are you a new Linux user or a new Manjaro user? Maybe I misunderstood your question
RTFM
is a good one I mean really you have to find out what you need when you need it - rather than going looking for stuff to do.
Boot your computer, think what youâre going to do, and if it isnât obvious - then ask how other folks do it and take your pick.
CTRL+ALT T opens a terminalâŚ
We use pamac in Manjaro, so look at that.
Yay is another âwrapperâ for the main Arch package manager âpacmanâ. You can get yay by doing pacman -S yay
in terminal.
For upgrades, you can just type âyayâ or follow advice in the thread. I usually switch to TTY and do sudo pacman -Syu followed by âtopgradeâ.
Topgrade is a nice âupgrade everythingâ wrapper which works well to catch anything missed on the pacman -Syu run. As it isnât the official tool, I use it as a follower.
I highly recommend LinuxCommand.orgâs âLearning the Shellâ and âWriting Shell Scriptsâ. It will show you the fundamentals and provide you a strong foundation to build on. It is clearly written and not too long.
Also, The Linux Foundation offers a free course, Introduction to Linux, through edx.org.
What youâll learn:
- A good working knowledge of Linux
- How to navigate through major Linux distributions
- System configurations and graphical interface of Linux
- Basic command line operations
- Common applications of Linux
As a standard, all commands have help in some form. You can view the help with the -h
or --help
option (cmd -h) or access the manual page with the man
command. man pageâs have their own format. The output is displayed in a pager, usually less
. The man pages can also be viewed online, in html format, at many locations, for example Linux man pages online. Normally at a terminal you would type man bash
(replace bash with any command) but you can also format the output to meet your needs.
- Create PDF doc from man:
man -t bash | ps2pdf - bash.pdf
- Create HTML doc from man:
man --html=firefox bash
NOTE: replace firefox with favorite browser - Create TEXT doc from man:
man bash | col -b | kate -i
NOTE: replace kate w/favorite editor.
The Core Utilities come from the GNU organization and they have documentation also online. You may also hear about info
, another documentation system.
These days, because of systemd
and desktop standards, you will hear a lot about freedesktop.org. There is a lot of doc to read there, but much of it is available via a man pages.
Tips on using less
:
q - exit
/str - search for str forward
?str - search for str backward
n - next
g - top
G - bottom
h - help
arrow keys work
ctrl-c - escape