0

Linux Vs Window

Should I learn linux as a fresher I am learning currently C++ and DSA after this I will go for Android development for career purpose but I want to know that is it a good idea to learn and use linux when I already have a new gaming pc on genuine window 11 pro specially in terms of career I don't know too much about operating system just know fundamental and how they work very well.

15th Oct 2024, 5:53 PM
Varun Bhardwaj
Varun Bhardwaj - avatar
6 Answers
+ 4
Windows allows you to install Windows Subsystem for Linux. That gives you a command line Linux system. You can also install Oracle Virtualbox and use that to create a full Linux installation that runs under Windows. So you don't have to decide between them. You can have both. There are reasons people like Linux, MacOS, or Windows. But as a developer, they are all great operating systems. I wouldn't get distracted by operating systems and just focus on the programming. If your job will be to write scripts for Linux Administration, or Windows Administration, then working in those environments is a big plus. But if you are developing Android apps, the OS you use is probably not that important.
15th Oct 2024, 6:44 PM
Jerry Hobby
Jerry Hobby - avatar
+ 3
Wsl (window subsystem linux) means windows can bluescreen your linux. It is safe to use linux alone as the main os for programming. It is very easy and it optimize android studio and jetbrains product more than windows. It is also easy for c++ than windows, you can use modern c++23, windows compiler only support c++20 partially not all. Also, you can say bye bye to bluescreen, diagnosing your PC and hard disk error check.
16th Oct 2024, 8:56 AM
Sharpneli
Sharpneli - avatar
+ 1
knowing Linux is always good! I have been a Fedora "user" since 2012, but used earlier as well with a lot of other Linux systems. I just wanted to find the best for me, and Fedora was the winner all the time.... because of the university I need windows as well, but if it is possible, Linux is turned on.... so, Linux is always a good option! (but not for gaming) use dual boot, or virtualization. at first I recommend virtualization, just to make a "handshake" with freedom :-) if you will be friends, then dual boot.... if you always need your windows and Linux, then you have 2 options: - virtualization - +1 machine
15th Oct 2024, 6:54 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 1
Linux admin scripts could be written for a variety of reasons. A backup script that copies files periodically to another system. Schedule with cron. Data scrubbing, importing, converting for use in a database. Adding users and setting up their accounts in a standardized way. Partitioning drives, installing apps, setting/checking file permissions, etc to maintain consistency between servers / workstations. Security scans - I've written custom scripts to look for common hacks. In one case I caught someone hacking the payroll database. Landed him in jail and got a bunch of his coworkers fired. Basically anything you would do more than once, it's better to have a script to do it so it's done the same every time.
15th Oct 2024, 7:00 PM
Jerry Hobby
Jerry Hobby - avatar
0
Jerry Hobby Thanks For answer can you elaborate writing scripts for linux admin and working in those environments(which type of environment are they not SDE? Or something different)
15th Oct 2024, 6:47 PM
Varun Bhardwaj
Varun Bhardwaj - avatar
0
Mihaly Nyilas and Sharpneli thanks for replying
16th Oct 2024, 6:09 PM
Varun Bhardwaj
Varun Bhardwaj - avatar