Preview

Term Papers

Powerful Essays
Open Document
Open Document
1298 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Term Papers
term paper
Project on Linux Programming (CSE207)

[pic]

Project—SIMULATION OF CHMOD,CHOWN AND CHGRP USING C PROGRAMMING AND WITHOUT USING ANY INBUILT COMMAND.

Submitted by -- Submitted to aman Miss. Anjlee Verma

INTRODUCTION TO STUDY/COURSE

The present course Linux programming deals with various aspects of a very widely used operating system i.e. LINUX. Actually LINUX is not an OS in itself but a kernel i.e., Heart of any operating system. Many OS use Linux kernel to interact with hardware. Some examples are

FEDORA

REDHAT

DEBIAN

UBUNTU

and many more…

In this course we study about the internal variables and commands of the operating system which it uses to interact with the hardware and also use them in any way we like. Also I learnt to simulate some commands which were already present in LINUX.

The course also deals with teaching the basic principles of any LINUX kernel using operating system. Thus we can code in either shell scripts or create a C program to establish our task.

INTRODUCTION TO TOPIC

The topic of my project is to simulate commands i.e.,

➢ Chmod

➢ Chown

➢ Chgrp

1: Chmod command-: It is used to change the permissions of the file for the user who owns it, the group to which it belongs and others.

Syntax:

chmod permissions filename

permission type:

a) Numeric –

Read =4

Write=2

Execute=1

b) Alphabetic

Read=r

Write=w

Execute=e

2: Chown command-: It is used to change the ownership of the given file

Syntax:

chown username filename

3:Chgrp command-:It is used to change the group of the given file

Syntax:

chgrp groupname filename

PROBLEM TO BE SOLVED

Create a shell script or a c program to simulate the behavior of following linux commands

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Is3440

    • 534 Words
    • 3 Pages

    to the kernel and how important aspects can be modified on the fly at anytime during the bootup process because it…

    • 534 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 1 Assignment 1

    • 4503 Words
    • 19 Pages

    Students are required to choose an Operating system (OS) and study the OS in term of:…

    • 4503 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    1P01outline

    • 428 Words
    • 3 Pages

    This course introduces the basic concepts and terminology of computing. Its content is aimed at students…

    • 428 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT 282 sylabus

    • 2660 Words
    • 11 Pages

    This course is an introduction to the fundamentals of personal computer operating systems for computer software configuration, file management, performance monitoring, optimization, maintenance, recovery, and security.…

    • 2660 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    Beowulf Clusters

    • 360 Words
    • 2 Pages

    Abraham Silberschatz, Peter Baer Galvin, Greg Gagne. Operating Systems Concepts. John Wiley & Sons. Inc., 2010.…

    • 360 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Alexander Fernandez

    • 4286 Words
    • 18 Pages

    In depth understanding of Linux/ UNIX/ Windows OS internals (kernel structure and settings, patching, upgrading, driver model, networks, storage configuration, management and monitoring).…

    • 4286 Words
    • 18 Pages
    Powerful Essays
  • Satisfactory Essays

    5 Reading Facts

    • 239 Words
    • 1 Page

    This is my first class on Linux Systems and everything that I have learned so far in this class is basically new facts to me. Below are some the facts that stood out to me from the textbook.…

    • 239 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Wicked Cool Shell Scripts

    • 58633 Words
    • 235 Pages

    This cookbook of useful, customizable, and fun scripts gives you the tools to solve common Linux,…

    • 58633 Words
    • 235 Pages
    Powerful Essays
  • Satisfactory Essays

    Shell Scripting in Linux

    • 34034 Words
    • 137 Pages

    What follows is a copy of the "human-readable summary" of this document. The Legal Code (full license) may be…

    • 34034 Words
    • 137 Pages
    Satisfactory Essays
  • Good Essays

    Now, advances in software and hardware technologies have resulted in an increased demand for more sophisticated and powerful operating systems, with each new generation able to handle and perform more complex tasks. The following…

    • 282 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    RHCE

    • 622 Words
    • 3 Pages

    This Course is ideal for persons who have never used Linux or UNIX, and who have no prior command-line experience in any other operating system. You are taught the basics of a Red Hat Enterprise Linux enviroment and it prepares you for your future role as a system administrator.…

    • 622 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    |Change the permissions on this new file to add the execute bit for user, group, and owner. |…

    • 511 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    File Management

    • 372 Words
    • 2 Pages

    The file is also put in a specific group; this would be the creator where it originated or the parent directory. Within the file it has something called protection bits and 9 of the bites have the permission read, write and execute. These permissions are for the owner of that particular file. When assigned to the directory the bits will be able to rename, delete or re-create files, this really helps to manage files that are in a shared directory.…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    File Management

    • 463 Words
    • 2 Pages

    More up to date UNIX and UNIX operating systems such as FreeBSD, OpenBSD, Linux, and Solaris use an access control list for permission setting and file protection. Stallings states “the administrator assigns a list of UNIX user IDs and groups to a file by using the setfac1 command.…

    • 463 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Linux

    • 6952 Words
    • 28 Pages

    Structure 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 Introduction Objectives Internal Structure of Linux System Architecture Overview of the Kernel System Supporting Multiple Developers System Data Structure Subsystem Architecture Linux File System More About Kernel Miscellaneous Concerns Let Us Sum Up Check Your Progress: The Key Suggested Reading…

    • 6952 Words
    • 28 Pages
    Powerful Essays

Related Topics