In: Computer Science
Although 90% of all desktop computers use Windows as their operating system, there are two popular alternatives - Apple's Mac OS and the Linux open-source operating system. In this assignment, you will investigate an operating system other than the one you usually use to see how it handles common operating system functions.
Note: A popular Linux OS is Ubuntu (As an open-source operating system it is FREE). If you choose to test Linux you can use this link for easy to follow instructions. https://ubuntu.com/download/desktop (Links to an external site.). You will want to select the "How to create a bootable USB stick on Windows" or "How to create a bootable USB stick on MacOS" so you can test Ubuntu without changing or affecting your current Operating System. (A USB stick is also known as a USB Flash drive or USB Thumbdrive).
1. Find a friend, relative, or co-worker with a computer that
uses an operating system that you don't usually use (Windows, Mac
OS, or Linux). Try out the operating system, and observe how the
following operations work compared with the operating system that
you normally use.
OS tested :- Ubuntu Version:- 20.10
OS generally used:- Windows 10
In both these operating systems all the above operations can be performed in multiple ways. First is the trival method of using menu based systems and second is using command line or terminal.
Both these Operating system have similar menu based functionalities hence we are going to ignore that and focus on second method ie via command line or terminal.
Ubuntu ( Linux)
Create a folder:- mkdir Music/songs2020 :- creates a folder songs2020 in Music directory
Finding a file :- find / -name notes.txt :- finds file named notes.txt, files can be also searched by type and size
Copy a file into folder:- cp scenery.jpg /home/username/Pictures :- would create a copy of scenery.jpg (from your current directory) into the Pictures directory.
Move a file into folder:- mv file.txt /home/username/Documents.:- moves file from one location to another can also be used to rename files.
Delete a file:- unlink notes.txt or rm notes.txt :- both can be used to delete file
Delete a directory:- rmdir songs2020 or rm -r songs2020 :- both can be used to delete directories
Windows 10 (Windows)
Create a folder:- mkdir mynewfolder :- creates a folder mynewfolder in current directory
Finding a file :- dir "\notes file*" /s :- finds file named notes /s is used to search
Copy a file into folder:- copy c:\workfile.txt d: :- to copy the file named “workfile.txt” on the root of C drive to D drive root.
Move a file into folder:- move C:\notes.txt d: :- moves file from one location to another
Delete a file:- del notes.txt :- can be used to delete file
Delete a directory:- rmdir /S mynewfolder :- can be used to delete directories /S is used so that non empty directories can also be deleted. It asks for confirmation before deleting