



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
In this document you will get the case study of cyber security..
Typology: Assignments
1 / 27
This page cannot be seen from the preview
Don't miss anything!
⦿ Unlike a Windows operating system, Linux does not use drive letters. In Windows, you would address the floppy drive as A:, Windows system data is under C:, and so on. In Linux, all files and directories are located in a tree- like structure. The topmost directory is referred to as the file system root or just /. All other directories can be accessed from here. ⦿ The following is a short guide through the Linux file system tree, introducing the most important directories: ⦿ /home/
⦿ File management in windows can be done through Windows explorer or My Computer. Windows Explorer displays the hierarchical list of files, folders, and storage drives (both fixed and removable) on your computer. It also lists any network drives that have been mapped to as a drive letters on your computer. Windows Explorer can be used to copy, move, rename, and search for files and folders. For example, to copy a file, you can open a folder that contains the desired file to be copied or moved, and then just drag and drop the file to target folder or drive. Contents ⦿ 1 Using Windows Explorer ⦿ 2 Opening drives and folders ⦿ 3 View file details ⦿ 4 Copying and moving files using Explorer ⦿ 5 Create a new folder ⦿ 6 Rename a file or folder ⦿ 7 Delete a file or folder ⦿ When files or folders are deleted from hard disk, Windows places them in the Recycle Bin, from where they can be retrieved, until the Recycle Bin is made empty. Files or folders deleted from a ⦿ File Management in Windows ⦿ removable storage media such as network drive are permanently deleted and are not sent to the Recycle Bin.
⦿ Running: A process will be in either running(current process in system)or ready to run(waiting to be assigned to system cpu) ⦿ Waiting:The process is waiting for a resource or event.Linux differentiates two types of waiting process; interputable and uninterputable.Interputable waiting process can be interputable by signals but are waiting directly on hardware conditions and cannot be interpated
⦿ A process contains its own independent virtual address space with both code and data, protected from other processes. Each process, in turn, contains one or more independently executing threads. A thread running within a process can execute application code, create new threads, create new independent processes, and manage communication and synchronization among the threads. ⦿ By creating and managing processes, applications can have multiple, concurrent tasks processing files, performing computations, or communicating with other networked systems. It is even possible to improve application performance by exploiting multiple CPU processors
⦿ Ready:May be scheduled for execution. The microkernel dispatcher keeps track of all ready threads and schedules them in priority order. ⦿ Standby:A standby thread has been selected to run next on a particular processor. The thread waits in this state until that processor is made available. If the standby thread's priority is high enough, the running thread on that processor may be preempted in favor of the standby thread. Otherwise, the standby thread waits until the running thread blocks orexhausts its time slice. ⦿ Running:Once the microkernel performs a thread or process switch, the standby thread enters the running state and begins execution and continues execution until it is preempted, exhausts its time slice, blocks, or terminates. In the first two cases, it goes back to the ready state
Memory management
⦿ The following is a list of address types used in Linux. ⦿ User virtual addresses :These are the regular addresses seen by user- space programs. User addresses are either 32 or 64 bits in length, depending on the underlying hardware architecture, and each process has its own virtual address space. ⦿ Physical addresses :The addresses used between the processor and the system's memory. Physical addresses are 32 - or 64 - bit quantities; even 32 - bit systems can use larger physical addresses in some situations. ⦿ Bus addresses :The addresses used between peripheral buses and memory. Often, they are the same as the physical addresses used by the processor, but that is not necessarily the case. Some architectures can provide an I/O memory management unit (IOMMU) that remaps addresses between a bus and main memory. An IOMMU can make life easier in a number of ways (making a buffer scattered in memory appear contiguous to the device, for example), but programming the IOMMU is an extra step that must be performed when setting up DMA operations. Bus addresses are highly architecture dependent, of course.
⦿ Each process on 32-bit Microsoft Windows has its own virtual address space that enables addressing up to 4 gigabytes of memory. Each process on 64 - bit Windows has a virtual address space of 8 terabytes. All threads of a process can access its virtual address space. However, threads cannot access memory that belongs to another process, which protects a process from being corrupted by another proces ⦿ Virtual Address Space ⦿ Memory Pools ⦿ Memory Performance Information ⦿ Virtual Memory Functions ⦿ Heap Functions ⦿ File Mapping ⦿ Large Memory Support ⦿ Global and Local Functions ⦿ Standard C Library Functions ⦿ Comparing Memory Allocation Methods