For this assignment, you will create a document making sure to adhere to all class policies. You will login to CISWEB using the account that was given to you for this class. A. Execute the shell command that would do what is indicated below. For each, make sure to include the question, the command issued, and the results that appeared on the screen. 1. Display the contents of the current directory. 2. Display all the users currently logged into the system 3. Display the message "Linux is good"

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Linux & Introduction to C
For this assignment, you will create a document making sure to adhere to all class policies.
You will login to CISWEB using the account that was given to you for this class.
A. Execute the shell command that would do what is indicated below. For each, make sure to
include the question, the command issued, and the results that appeared on the screen.
1. Display the contents of the current directory.
2. Display all the users currently logged into the system
3. Display the message "Linux is good"
4. Change to the demos directory.
5. Copy the file tux to my Tux
6. Count the number of lines in the file myTux
7. Display terminal name and time you and only you logged in.
8. Display the current date and time.
9. Display the contents of tux
10. Execute the script tux
11. Change the name of myTux to goodTux.
12. Delete the file good Tux
13. Create the file myName, enter your name and exit.
14. Display the contents of myName
15. Display the contents of myStuff
16. Display the contents of the current directory including permissions and file size.
17. Copy hello1.c to hello2.c
18. Edit the hello2.c as follows
o change the comment hello1.c to hello2.c
o change Silvino C. Ferreira to your name
change "Hello CIS158 Students!" "Hello, my name is <place your name here>"
19. Compile hello2.c creating the executable hello2
20. Execute the program hello2
21. Change to your home directory and create the subdiretories:
p00 p01 p02 p03 p04 p05 p06
p07
P08 P09 p10 pll p12
Transcribed Image Text:Linux & Introduction to C For this assignment, you will create a document making sure to adhere to all class policies. You will login to CISWEB using the account that was given to you for this class. A. Execute the shell command that would do what is indicated below. For each, make sure to include the question, the command issued, and the results that appeared on the screen. 1. Display the contents of the current directory. 2. Display all the users currently logged into the system 3. Display the message "Linux is good" 4. Change to the demos directory. 5. Copy the file tux to my Tux 6. Count the number of lines in the file myTux 7. Display terminal name and time you and only you logged in. 8. Display the current date and time. 9. Display the contents of tux 10. Execute the script tux 11. Change the name of myTux to goodTux. 12. Delete the file good Tux 13. Create the file myName, enter your name and exit. 14. Display the contents of myName 15. Display the contents of myStuff 16. Display the contents of the current directory including permissions and file size. 17. Copy hello1.c to hello2.c 18. Edit the hello2.c as follows o change the comment hello1.c to hello2.c o change Silvino C. Ferreira to your name change "Hello CIS158 Students!" "Hello, my name is <place your name here>" 19. Compile hello2.c creating the executable hello2 20. Execute the program hello2 21. Change to your home directory and create the subdiretories: p00 p01 p02 p03 p04 p05 p06 p07 P08 P09 p10 pll p12
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education