[Solved] CS4350-Homework5- program create a new input file using system command

$25

File Name: CS4350_Homework5__program_create_a_new_input_file_using_system_command.zip
File Size: 659.4 KB

SKU: [Solved] CS4350-Homework5- program create a new input file using system command Category: Tag:
5/5 - (1 vote)

Then write a C program that does the following :

1. Using system command , create a new input file ( zp5in-1.txt )

2. Append the following to zp5in.txt Texas State University , Spring 2020 , Unix Programming

3. Close the input file .

4. Display the Current date and time

5. Display Time of last access of the zp5in-1.txt

6. Using a system command , display the content of the new created input file.

7. Change the mode of the program such that the user and the group has read / write / execute permission.

8. Use a system command to list file information after changing the file mode.

9. Display System name

10. Display Local host name

11. Display Host name

12. Display The process id

13. Display Parent process id

14. Display The priority level of the process

15. Display The file Name

16. Display The device

17. Display The inode

18. Display The file protection

19. Display Number of hard link

20. Display Owners user ID

21. Display Owners group ID

22. Display Owners effective user ID

23. Display Size of zp5in-1.txt file

24. Display Block size for zp5in-1.txt file

25. Display Number of blocks allocated to zp5in-1.txt file

26. Append The following to zp5in-1.txt : Final step.

27. Using a System command , redisplay the content of zp5in-1.txt file.

28. Display The time of last access of zp5in-1.txt file

29. Rename The file to be zp5in-2.txt

30. Using a System command , display The content of the new zp5in-2.txt file

31. Display The current date and time

32. Remove zp5in-2.txt files from your current Directory.

33. Using system command , display the content of zp5in-2.txt file.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS4350-Homework5- program create a new input file using system command[Solved] CS4350-Homework5- program create a new input file using system command
$25