Question

After you compile your .cor.cpp files, you get an executable file. Most of these files can be described using the octal notat

0 0
Add a comment Improve this question Transcribed image text
Answer #1

\small \color{blue}Answer:\;\;

7 5 5 in binary is 111 101 101
so, permission representation is -rwxr-xr-x
a)  -rwxr-xr-x

-rwxr-xr-x

Add a comment
Know the answer?
Add Answer to:
After you compile your .cor.cpp files, you get an executable file. Most of these files can...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • n this programming assignment, you need to create 3 files. 1. DateType.h 2. DateType.cpp 3. A...

    n this programming assignment, you need to create 3 files. 1. DateType.h 2. DateType.cpp 3. A test driver for testing the class defined in the other 2 files. You can name your file in the way you like. Remember it must be a .cpp file. In DateType.h file, type these lines: // To declare a class for the Date ADT // This is the header file DateType.h class DateType { public: void Initialize(int newMonth, int newDay, int newYear); int GetYear()...

  • 1. Assume the following struct is declared for the permission list of a file in Linux....

    1. Assume the following struct is declared for the permission list of a file in Linux. Each permission (u or g or o) is represented as an octal. For example, u=7 means rwx, u=5 means r-x. Note: "unsigned char" means a byte, not a character or a letter or a string. typedef struct { unsigned int uid; // owner id unsigned int gid; // group id unsigned char u; // owner's permission unsigned char g; // group's permission unsigned char...

  • Using PuTTY Linux Server Task Compiling:             1) Download the two files from blackboard, driver.cpp, and...

    Using PuTTY Linux Server Task Compiling:             1) Download the two files from blackboard, driver.cpp, and circle.h             2) Create a new directory to store the files in             3) Compile the code a) Run the command g++ driver.cpp -o executable_name, this will compile the code both for driver.cpp and the referenced file circle.h note: -o parameter specifies a new name for the executable, if you do not specify the “-o” parameter the default name of the executable is “a.out”...

  • Purpose This assignment should give you experience in using file descriptors, open(), close(), wr...

    Purpose This assignment should give you experience in using file descriptors, open(), close(), write(), stat() and chmod(), perror(), and command line arguments. Program Write a C++ program that will allow you to add messages to a file that has NO permissions for any user. A Unix system has many files that have sensitive information in them. Permissions help keep these files secure. Some files can be publicly read, but can not be altered by a regular user (ex.: /etc/passwd). Other...

  • Questions What is the command to compile the files with extra symbols that are useful for...

    Questions What is the command to compile the files with extra symbols that are useful for GDB? What's the address of stuff? What's the address of stuff[0]? Do we expect these to be the same? Why? Explain what the [ ] operator does in C. In Blowfish_Init( ), what is the value of key? What command(s) did you type in order to learn this? In Blowfish_Init( ), what are the values of i and j after the nested for loops...

  • Demonstrate that you can manage files on your computer by looking at the files on your...

    Demonstrate that you can manage files on your computer by looking at the files on your computer and locating at least five files or folders that should be renamed or relocated to improve the organization and make it easier to locate information on your computer. Take a screenshot of the “before” look of the files, and take a screenshot of “after” you make changes to your files. Copy and paste the screenshots into this template. Computer essentials wasn’t in the...

  • Pick a gray-scale image, say cameraman.tif or any other file that you can get hold of,...

    Pick a gray-scale image, say cameraman.tif or any other file that you can get hold of, and using the imwrite function write it to files of types JPEG, PNG and GIF. What are the sizes of those files? using matlab

  • do numbers 4-8 4. Given any directory, use the Is command to display: • all files...

    do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...

  • Instructions You must upload two files. An Excel file with your calculations and a Word File...

    Instructions You must upload two files. An Excel file with your calculations and a Word File with the summary of your answers. Please use image captures to show the summary within the Word document. Under supplemental materials for week 1, there is a video of a cropping tool that can be used for capturing specific sections of your screen. Problem 1 Implementing an e-commerce website has a projected net economic benefit of $ 40,000/year during the next five years. The...

  • Write a program in C using Unix system calls and functions that will change the permissions on a ...

    Write a program in C using Unix system calls and functions that will change the permissions on a file. The executable shall be called “mychmod” and will be executed by: mychmod -u rwx -g rwx -o rwx -U rwx -G rwx -O rwx file1 file2 ... The lowercase options will add permissions while the uppercase options will remove permissions. Each of the switches is optional and should be interpreted as the ones in the Unix command chmod(1), you can review...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT