Premium Essay

Basic Commands in Linux and Windows

In: Computers and Technology

Submitted By rahulewu
Words 2543
Pages 11
LESSON 2
BASIC COMMANDS IN
LINUX AND WINDOWS

LESSON 2 – BASIC COMMANDS IN LINUX AND WINDOWS

“License for Use” Information
The following lessons and workbooks are open and publicly available under the following terms and conditions of ISECOM:
All works in the Hacker Highschool project are provided for non-commercial use with elementary school students, junior high school students, and high school students whether in a public institution, private institution, or a part of home-schooling. These materials may not be reproduced for sale in any form. The provision of any class, course, training, or camp with these materials for which a fee is charged is expressly forbidden without a license including college classes, university classes, trade-school classes, summer or computer camps, and similar. To purchase a license, visit the LICENSE section of the Hacker Highschool web page at www.hackerhighschool.org/license. The HHS Project is a learning tool and as with any learning tool, the instruction is the influence of the instructor and not the tool. ISECOM cannot accept responsibility for how any information herein is applied or abused.
The HHS Project is an open community effort and if you find value in this project, we do ask you support us through the purchase of a license, a donation, or sponsorship.
All works copyright ISECOM, 2004.

2

LESSON 2 – BASIC COMMANDS IN LINUX AND WINDOWS

Table of Contents
“License for Use” Information............................................................................................................... 2
Contributors..............................................................................................................................................4
2.1. Introduction and Objectives...........................................................................................................5...

Similar Documents

Premium Essay

Lab 1

...programs. They perform basic tasks and recognize the input from the keyboard and output to the display screen. They keep track of files stored on your computer and control disk drives and printers. (Beal, N.D) There are five basic functions of an operating system. They are: * Booting the computer * Performing basic computer tasks like the mouse and keyboard * Provides a user interface such as a command line or a graphical user interface * Handles system resources such as a computer’s memory * Provides file management which is the way the operating system manipulates, stores, finds and saves data (N.A., N.D.) The difference between Windows, Linux and Mac OS is that windows is designed to run on PC’s. All three are operating systems, but the internal architectures are different in each. And PC’s are very inexpensive for a basic model. (Sinoun, 2011) The Windows operating system is pretty versatile, and can be installed on PCs having variable amounts of resources. There are versions of Windows that can be installed on PCs having as little resource as 233 MHz processor and 64 MB RAM. Windows users get good choices for their operating systems, based on the system resources they have. An even greater benefit of Windows users is the user-friendliness of the operating system. The graphical user interface is surprisingly easy to work with, and many complicated tasks on Windows can be performed with a few clicks of a mouse only. (N.A, N.D) Windows was originally......

Words: 789 - Pages: 4

Free Essay

Exploring Linux Systems

...Running head: Linux Systems Exploring Linux Operating Systems Student College Exploring Linux Operating Systems Much like Windows OS and the OS X for the Mac, Linux is an operating system that was created by Linus Torvalds in 1991. Linux is traditionally a command line system as opposed to the GUI that many home computer users are more accustomed to. Linux uses a prompt where various commands and arguments are used to navigate the system and directories. One cannot point and click an icon in order to execute a program, in Linux the command line is like typing out the directions for your computer so it knows exactly where to look. Linux is being utilized in many different applications from business databases, cell phones, and even the New York stock exchange. Linux, however, is hardly considered a “personal computer” OS because of its limitations in personal computing. Although a Linux GUI desktop does exist, the command line interface is considered an advanced program and not for the faint of heart. Linux however holds many advantages in database software, server maintenance, code development and computer programming. The Linux “language” is close to coding language and the kernel is more secure than, say, the Windows Kernel. This advantage is encouraging to businesses and anyone else looking to keep or store sensitive data. Linux is a solid OS to use when handling such information when confidentiality is key. Like the other OS there are different means for file......

Words: 1397 - Pages: 6

Free Essay

Linux

...Course Description This course is a survey of the UNIX® operations. The student will gain an understanding of the internal operations of the UNIX® system, which enables the user to make efficient use of files, file systems, and processes. Commands for efficient management of UNIX® system files, file systems and process, systems administration and security are also examined. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • University policies: You must be logged into the student website to view this document. • Instructor policies: This document is posted in the Course Materials forum. University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you attend class. If you have recently changed modalities, read the policies governing your current class modality. Course Materials Blum, R. (2008). Linux® command line and shell scripting bible. Indianapolis, IN: Wiley. Love, P., Merlino, J., Zimmerman, C., Reed, J. C., & Weinstein, P. (2005). Beginning Unix®. Indianapolis, IN: Wiley. Software RedHat Linux 5 (Virtual Desktop) Article References Ahmed, M. F., & Gokhale, S. (2009). Reliable operating systems: Overview and techniques. IETE Technical Review, 26(6), 461–469. Anthes, G. (2009, June 20-July 27). UNIX turns 40.......

Words: 1560 - Pages: 7

Free Essay

Linux Introduction an Basics

...Lecture 1 – Linux introduction and basics Module 1. Linux introduction ♦ Linux distributions ♦ Linux kernel What is a Linux distribution? ♦ it is a collection of applications, packages, management, and features ♦ ♦ ♦ ♦ that run on top of the Linux kernel. The kernel is what all distributions have in common (it is sometimes customized by the distribution maintainers) If they are all “Linux”, why are there so many different names, and which do I choose?” You may have heard names like Red Hat, Fedora, Debian, Ubuntu Distributions differ in several ways, and three of the most important are: ► ► ► Purpose Configuration and packaging Support model What’s a kernel? ♦ As you already know from the Operating Systems course ► the kernel is the core of all computer operating systems ► is usually the layer that allows the operating system to interact with the hardware in your computer ♦ The kernel contains software that allows you to make uniform use of ► hard disk drives, ► network cards, ► RAM, ► and other hardware components. ♦ In the Linux world, the kernel is based on code originally developed by Linux’s founder, Finnish developer Linus Torvalds. Back to distributions – Purpose, Configuration, Support ♦ Purpose ► Different distributions are often designed for different purposes and provide different user experiences. ► Some distributions are designed as servers, others as desktops, and some are designed to perform particular functions, for example, as......

Words: 1486 - Pages: 6

Premium Essay

Mr Fox

...Linux Linux What is an ‘Operating System’? Mac OS Mac OS An operating system is the program that acts like the brain of the computer. It is used to control everything. The operating system controls programs and the functions of the computer along with the hardware, software' and file organisation. Computers need an operating system so that they can complete tasks. All programs, software’s and hardware’s need something to tell them how to perform their task, and this is what the operating system is used for. Without one, your computer would be useless. Operating systems are designed to make the computer more convenient for the user; it displays all of the information for the user in a clearer layout. Some popular operating systems are Windows 8.1, Mac OS and Linux. There are 2 variants of operating systems; A Command Line Interface (CLI) and a Graphical User Interface (GUI). Windows 8.1 Windows 8.1 Command Program Command Program Command Line Interface: A ‘Command Line Interface’ is a variant of operating system that allows the user to directly interact with the computer by typing in commands. The computer displays a command program or command box that allows the user to give the computer instructions by entering the command and pressing the enter key. CLI is used by mostly professional programmers who have experience in computer languages. Using CLI doesn’t restrict you as GUI does. It allows you to look into program files and rewrite how the program......

Words: 1074 - Pages: 5

Premium Essay

Linux V/S Window

...Linux Linux is an example of Open Source software development and Free Operating System (OS). What is it? Linux can be freely distributed, downloaded freely, distributed through magazines, Books etc. There are priced versions for Linux also, but they are normally cheaper than Everyone. From home users to developers and computer enthusiasts Linux kernel is developed by the community. Linus Torvalds oversees Linux can be installed on a wide variety of computer hardware, ranging from mobile phones, tablet computers and video game consoles, to Linux is developed by Open Source development i.e. through sharing and collaboration of code and features through forums etc and it is Linux typically provides two GUIs, KDE and Gnome. But there are millions of alternatives such as LXDE, Xfce, Unity, Ext2, Ext3, Ext4, Jfs, ReiserFS, Xfs, Btrfs, FAT, FAT32, NTFS Windows Windows is the family of operating system (OS) from Microsoft, which is the most famous OS in the world. For desktop or home use, Windows can be expensive. A single copy can cost around $50 to $ 450 depending on the version of Windows. Cost User Manufacturer Everyone. From home users to developers and computer enthusiasts alike. Microsoft created the Windows operating system, but allows other computer manufactures to distribute their own computers with Windows preOn PC's desktops, laptops, servers and some phones. Usage Windows is developed and distributed by Microsoft. Development and Distribution ...

Words: 764 - Pages: 4

Premium Essay

Purpose and Functions of an Operating System

...machine * Functions Booting the computer The process of starting or restarting the computer is known as booting. A cold boot is when you turn on a computer that has been turned off completely. A warm boot is the process of using the operating system to restart the computer. Performs basic computer tasks The operating system performs basic computer tasks, such as managing the various peripheral devices such as the mouse, keyboard and printers. For example, most operating systems now are plug and play which means a device such as a printer will automatically be detected and configured without any user intervention. Provides a user interface A user interacts with software through the user interface. The two main types of user interfaces are: command line and a graphical user interface (GUI). With a command line interface, the user interacts with the operating system by typing commands to perform specific tasks. An example of a command line interface is DOS (disk operating system). With a graphical user interface, the user interacts with the operating system by using a mouse to access windows, icons, and menus. An example of a graphical user interface is Windows Vista or Windows 7.  The operating system is responsible for providing a consistent application program interface (API) which is important as it allows a software developer to write an application on...

Words: 943 - Pages: 4

Premium Essay

Nt1410 Module 2 Exercise 1

...and applications. Memory is one of the most essential components of any computer system. No matter which operating system is being used, whether it is Windows, Linux or Mac’s OS X, the same basic requirements of memory management exist. The main requirements of memory management are protection, sharing, relocation and organization. Memory protection is necessary because it stops unauthorized programs, which may contain harmful threats, from accessing the computer’s memory. Memory sharing is when multiple programs need to access the same portion of memory. Proper management of memory ensures that this happens without hindering the performance of the system. Relocation involves moving programs between virtual memory and physical memory 2. Compare two common operating systems—Windows 8 and Fedora 20—on the difference in the memory management features. * Full access vs. No access * Linux Fedora 20: Linux has the most significant access to the source code, allowing the users to alter the code that serves as the foundation of the Linux operating system. * Windows 8: Windows 8 allows no users to the code, which is a good idea once you think about it, as some people has used that access to take advantage to make bugs and viruses. * Licensing freedom vs. licensing restrictions * Linux Fedora 20: With a Linux GPL-licensed operating system, you are free to modify that software and use and even republish or sell it. Also, with the GPL, you can...

Words: 1293 - Pages: 6

Premium Essay

Is3440 Linux Security Lab 1

...presentations in the Unit 1 and Unit 2 Learning Space. Click the PRACTICE link > DEMO LAB > then click the hyperlink to launch the demonstration. Part # 1 Install a Core Linux Operating System on a Server Learning Objectives and Outcomes Upon completing this lab, students should know more about the following tasks: * Install a base Linux operating system using a Fedora core Linux server for production use on the VM server farm * Create secured partitions within the core Linux server for desired security hardening, performance, and application support * Enable a network time server during installation to maintain a synchronized time setting throughout the system * Set a hostname that is descriptive of the role of the server to maintain standard and concise naming conventions during installation * Create a non-privileged user account for system administration access as a secure alternative to logging in as root user Overview In this lab the students will see how to install and partition a Fedora Core Linux Server. The installation process, applying passwords, creating partitions, and system administrator access controls will be part of the operating system configuration requirements. The demonstration will show how to use the terminal or terminal emulator for command line configurations and implementation. Lab Assessment Questions & Answers 1. During the install, the option to sync with a NTP......

Words: 1494 - Pages: 6

Premium Essay

Jgduteutd

...Purpose of an Operating System 21 September 2014 An Operating System is the first level of programming that lets you do things with your computer. The operating system interacts with a computer's hardware on a basic level, transmitting your commands into language the hardware can interpret. The operating system acts as a platform for all other applications on your CPU. Basically operating systems are like the manager for computers. It's the job of the operating system to monitor what software needs and what the hardware can provide. As you run applications on your computer, the operating system uses the resources necessary to complete the task. That can include processing power, memory allocation and computer storage access. The OS will make sure that your computer's hardware is never overtaxed. There are three most commonly used and they are Windows, Mac OS, and Linux. Windows OS is a product of Microsoft and is the most commonly used OS. It is estimated 90% of client computers use one of various Windows version. Windows is GUI that was a loaded on top of a MS-DOS from Versions 1-3. Windows 95 became an all-in one OS/GUI, which made other versions of Windows OS. Like Window Server 2003 and 2008, and by mobile and compact devises Windows CE. The web browser for Windows is called Explorer. The Mac OS is a Proprietary OS used by Apple for Macintosh computer. The Mac computer is a favorite of multimedia designers, graphic artists, and musicians. Now it’s estimated that......

Words: 628 - Pages: 3

Premium Essay

Exploring Linux Operating Systems

...Exploring Linux Operating Systems Linux is a computer operating system that was created and released by Linux Torvalds in October 1991. Linux was designed and released as a free, open source piece of software. This means that the code that makes up the program is freely available for anyone to copy, study, and modify the code in any way. This design was chosen to encourage the public to voluntarily improve the design and add functionality to the base software. This open source design is anecdotally considered to be a good thing, but has some drawbacks due to splintering, and lack of version control. Due to some of the splintering there are dozens of versions of Linux, most with similar functionality, while there are others that are designed for specific user types and use cases. Each “version” is called a Distribution. There are dozens, if not hundreds of these “distro’s” floating about. One of the most popular distro’s for the entry level user is Canonical’s Ubuntu Linux. This is a Debian based system with a rather simple user interface, and comes standard with a GUI and a host of tools that would make the system useable, and sufficient for most average users. On the other side of the spectrum there are targeted distro’s like KALI whose audience is more on the professional side. This particular distro is pre-loaded with tools that only a professional or an enthusiast would find useful at all. With such a wide range of options, there should be something for......

Words: 1171 - Pages: 5

Premium Essay

Technical Essay

... Kym Harris | 4/26/2014 | | Introduction Microsoft Windows, Apple Macintosh, and Red Hat Linux are the most popular operating systems used today. All three platforms have pros and cons, but many users struggle to find the right OS to serve their computing needs. While Macintosh and Linux seem to be impenetrable to viruses, Windows suffers a great deal from such intrusions. On the other hand, users find Windows to be easier to navigate than the other two operating systems. Macintosh, operating on the Apple computer platform is very expensive in comparison to the Windows platform, while Red Hat Linux is completely free and offers much of the same features as any of the others. The biggest advantage of a Windows platform is its ability to be compatible with almost every application, driver, or game available. Of course, Macintosh does not offer this same level of compatibility, as very few programs will run on this platform. Linux can be installed on any computer except Apple, and more flexibility and options than any of its competitors. Microsoft Windows Historical Background * 1981- Microsoft released its first operating system, Microsoft Disk Operating System (MS-DOS). Initially created for IBM computers, Microsoft was able to sign a deal that allowed them to license this product to other companies. MS-DOS used command line instead of the graphical user interface most of us are used to today. * 1985- Windows 1.0 was shipped to its first customer. This OS......

Words: 1689 - Pages: 7

Free Essay

It250 Week 9

...Unit 9: Basic Linux Administration Objectives 9: Administer and maintain a Linux system. 9.1: Create users and groups by using the CLI and GUI tools. 9.2: Back up a Linux system by using the tar utility. 9.3: Maintain effective logs by using the log rotate utility. Readings A Practical Guide to Fedora and Red Hat Enterprise Linux Chapter 11, pp. 407-425 * Chapter 16 In-Class Assessment * Week 9 Quiz: Homework The following homework is designed to cover the course objectives for this unit. Assignment 9.1: Complete the following exercise in your textbook: * Chapter 16: Question 1-5 on page 643 Submit your written answer to your instructor at the start of Unit 10. Labs Instructor Notes: Assign students the following lab which can be printed from Appendix D. Lab 9.1: Using tar to Back Up Files What is the purpose? This lab exercise lets you perform basic file backup on your Linux system. What are the steps? Task 1: Backing up with tar Procedure 1. Open a terminal window as a regular user. 2. Create a directory named backup in your home directory. 3. Copy some files from your home directory into your new directory. 4. Create a backup of your new directory by using tar and compress the file with bzip2. Make sure that the backup file is not placed in the directory you are backing up. You will need to: a. Create permission. b. Choose verbose mode option. c. Choose the bzip2 file format. d.......

Words: 1093 - Pages: 5

Premium Essay

Configure Basic Security Controls on a Linux Server

...Configure Basic Security Controls on a Fedora Linux Server The students are required to submit their lab assignment answers through this website. All lab assignment questions listed are for each course's week lab activity. This may be a theory based or lab based activity. Lab assessment results and answers are due at the beginning of class the following week. Students are encouraged to perform and submit their lab assessment results immediately upon completion of the lab activity or prior to the due date. During this lab students will properly secure a Linux server system. They will perform steps to secure the bootloader, enable iptables and run SELinux to help lock down the Linux OS. The students will also apply ACLs to directories and files and then check those ACLs and permissions on the system. To accomplish the lab assignment below, students will need to obtain a copy of the Fedora Image provided to you by the Substitute Instructor and complete a basic VMware installation of Fedora. The questions in the lab book will be based on the installation experience. Assigned Pages: 10-26 Questions: 1 through 10. This assignment is due by the beginning of class for Unit 3. 1. What is GRUB and why is it important to lock it down? GRUB stands for Grand Unified Bootloader (1 of 2 boot menus' for the operating system) which is important to lock down is for security reasons. These reasons include being used to start other operating systems (eg. other versions of......

Words: 745 - Pages: 3

Free Essay

Case Project

...Project Student College Case Project Linux as an operating system is a powerful tool used in businesses for its secure kernel and command line interface. From a small business to a large enterprise, Linux is used to run servers, store vital information and documents. In Outdoor Adventures, this store needs a more efficient computing system. The system will need to keep information available and secure enough to ensure that the information can only be seen by the right people. To help keep things organized, a file structure will also be required to keep all the files with special permissions together for easy access. To better illustrate the security capabilities of Linux Ed Sawicki of Biznix.org said, “The Linux firewall has functionality that rivals expensive commercial firewalls. Its rules allow fine grained control over stateless and stateful packet filtering. The Linux firewall is extensible, allowing new filtering capabilities as the need arises.” This comparison is powerful when considering what would be the most cost effective direction for a business, but also the safest. Another advantage of linux is that it is generally free to try before applying it to a commercial setting. The product can in effect speak for its self by allowing itself to be made publicly available so there is no need to consider it a “business risk” when a technician can experiment with it first before applying it on a much grander scale. “Linux…is a freely available multitasking......

Words: 1333 - Pages: 6