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

    Stallings, W. ((2015)). Operating Systems: Internal and Design Principles, 8e. Retrieved from The University of Phoenix eBook Collection Database.…

    • 472 Words
    • 2 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

    Today’s lecture will be spent entirely in the computer lab. At the end of lab, submit this worksheet.…

    • 581 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Netw250

    • 2162 Words
    • 9 Pages

    Overview | UNIX, the Precursor to Linux | The Introduction of Linux | General Public License and Linux | Linux Distributions | The Linux Kernel | Linux Installation | Linux Application Packages…

    • 2162 Words
    • 9 Pages
    Powerful 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
  • Good Essays

    Operating systems evolved as the solution to the problems that were evident in early computer systems, and coincide with the changing computer systems. Three cycles are clear in the evolution of computers, the mainframe computers, minicomputers and microcomputers, and each of these stages influenced the development of operating systems.…

    • 282 Words
    • 2 Pages
    Good 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

    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

    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
  • 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
  • Powerful Essays

    Linux

    • 6952 Words
    • 28 Pages

    After studying this unit, you should be able to understand: • • • • • structure of Linux; Linux Kernel ; system data structure; subsystem architecture; and Linux file structure.…

    • 6952 Words
    • 28 Pages
    Powerful Essays

Related Topics