This is a quick “This is what” Setup guide for people who are devs who have expierence in things on windows and are now on linux. This guide expects you to know the basics and also is less of a “What to do” paper.
What is the Linux version of?
The root file system or C: ?? > The Linux Equivalent to the C: drive is the ROOTFS which is /. On Linux drives do not have letters but are instead stored in the /mnt/ or /media/ folder.
The equivalent of CHKDSK for linux?? : > Thats fsck . sudo fsck -y /dev/sda(Drive number here)
Where is programfiles?? > There is no universal solution for that if you are wanting to view the appdata of a flatpak than it is at ~/.var/app/ other than that you need to be more specific.. there is no universal program files folder on Linux.
What is the linux version of event viewer?? > journalctl. However if you want to view what happening just on your current session and not stuff from the last reboot then do sudo dmesg
MORE to add here
Do you have any commands to help debug things. What is the linux version of event viewer.
sudo dmesg
is how you view ALL kernel and some userspace logs on your current session(*everything up until the last time you turned on the computer). If you want to search for keywords do sudo dmesg | grep KEYWORDUWANTHERE
If you want to view more data however I recommend learning journalctl. Its a bit harder to learn but it can be handy.
How to use Linux commands from someone who uses windows CMD.
Alright now were at the knitty stuff. Ill list this to you straight. No nonsense and no anything.
cd (Same as windows. You can do cd ../ to go back a directory.)
ls (This is the linux version of the windows command dir. although technically it dates back to UNIX not windows oh wait said I wouldn't nonsense you. Dir still works on most linux distros however.)
cat (Spill the contents of a file into your terminal to read it)
echo (You can make this say cuss words when your bored. Because I know you and I know what kind of person you are)
rm (remove a file. ALWAYS RUN -I because while rm -rf / is prohibited in modern linux rm -rf /* IS NOT and you can wipe your entire drive. its better to just use the file manager)
python3 pythonfile (This is what people who hate convience use instead of LUA. We are not here to teach python.)
chmod (chmod is how you change the permissions of a file. doing chmod 777 allows you to have full control of a file/directory. doing -R allows you to change subdirectorys to.)
These are the basics YOU need… I also recommend learning piping. But you don’t have to.
The Key Difference between windows and Linux, FILES
On linux and Unix Everything is a file. Its important we go over the differences. Im going to go over the important stuff in the / folder that will help you understand what im talking about.
/mnt/ is a drive folder where your devices like USB devices, Hard drives, and SSD’S(besides the root drive) is stored. Acting as a magical folder that replaces drive letters like “B:/” or “C:/” The files from said drive do not physically exist as a folder but rather a “Magic portal” that takes you to the drive. On linux and unix there are such things as SPECIAL files. Files that have properties that do not follow typical file standards that you come to know on windows.
/dev/ is where all devices are stored. On linux, stuff like your graphics card, Storage device, are all registered as a FILE. A file that can be accessed from the /dev/ folder.
Drivers also exist in dev. For example. the random number generator for linux is stored in dev under /dev/urandom. You can access and use this driver by reading it like a file. Try doing in a terminal cat /dev/urandom (Cat is a command for reading a file on your computer). and see it be accessed like any normal file.
more into /dev/(For experienced people only)
Files in dev are not technically file but rather are represented as files. its complicated i know, and most of you should not be tinkering with this folder.
Drives are registered under /dev/ much like driver letters on windows.
SDAnumber - this is typically for stuff like disks. Infact YOUR main drive(C:/ on windows) is stored under /dev/sda (No you can’t delete it nor would deleting it delete you acutal disk).. This also includes USB drives which would be /dev/sda1 and then /dev/sda2 and then etc as well as portable hard drives/ssds or even a second SATA device. It goes up to … well forever
nvme0n1p1 - This is what rich people have. Basically this is for NVME drives
SDBnumber - Sometimes devices are registered under(Not for your main disk or C: drive) this instead of sda.. same with SDA these go up like /dev/sdb1/ or /dev/sdb2/