From Mageia wiki
In my opininion, it would be very good to have a page with some easy commands for beginners.
However, when I write this, the page doesn't look easy at all.
It looks confusing because
- it seems just a random collection of commands
- there is little explanation
- it is hard to see where the code stops and the explanation starts.
For a beginner's page, I think it would be better to only keep and add commands that do nothing more than give information. Some people are so frightened of breaking things by using the command line, that I think it is better to let them start with things that don't change anything.
Should the commands be listed alphabetically, or grouped (if so, in what way?).
Cheers, Marja
Simonnzg has place the following here to keep it safe. It could be put in a page for use with "sudo" at some time, but shouldn't be in a page for rank beginners:
pack / unpack file\directory : tar -cvjf ./into_this_file.tar.bz2 ./from_this_file_or_dir --- Creates : tar -xvjf ./this_archive_file.tar.bz2 --- eXtracts ---- harddiscs, flashdrives and cd\dvd : blkid --- show all devices with partitions (drives) in system ; mount --- show drives enabled in system ; mount /dev/sdX /mnt/dir ---mounts device in directory ; umount /dev/sdX ---unmount drive ---- working with install\update packages : drakrpm --- is the X software center ; drakrpm-update --- X package updater : urpmi --replacepkgs @package_name --- reinstalls a package ; urpmi --auto-update --- update packages in command line ; urpmi @package ---installs a package ---- network interfaces : ifconfig --- shows all interfaces ; ifup ethX ---enable interface ; ifdown ethX ---disable interface ---- file management : mc ---terminal file manager ; ls --- list directory ; cd some_place ---change directory ; rm ---remove file\dir ; cp ---copy file dir ; cd .. ---to move out of this_dir ---- setting up dual screen for xrandr 1.4 : xrandr --output DVI-0 --primary --mode 1680x1050 --rate 60 --output HDMI-0 --mode 1280x1024 --pos 1680x0 --rate 60