SlideShare a Scribd company logo
1 of 39
POS 433 Assignment Unix Linux vs Windows a Business Case
Comparison (4000 words)
For more course tutorials visit
www.newtonhelp.com
POS 433 Assignment Unix/Linux vs Windows a Business Case
Comparison (4000 words)
===============================================
POS 433 Assignment Unix Linux vs Windows Security and
administration (1000 Words)
For more course tutorials visit
www.newtonhelp.com
POS 433 Assignment Unix Linux vs Windows Security and
administration (1000 Words)
===============================================
POS 433 Discussion Different Version of Unix
For more course tutorials visit
www.newtonhelp.com
What are some of the different versions of Unix? Why is it important to
have different versions of Unix?
===============================================
POS 433 Discussion Scripting in Programming
For more course tutorials visit
www.newtonhelp.com
Write a short essay discussing when scripting should be taught to
individuals who are learning software programming. Discuss the
advantages and disadvantages of doing so at specific times in their
learning process.
===============================================
POS 433 Discussion Terminating a Process
For more course tutorials visit
www.newtonhelp.com
Write a 200- to 300-word response that discusses the different reasons
for terminating a process and the commands used for this purpose.
===============================================
POS 433 Discussion Unix Permissions
For more course tutorials visit
www.newtonhelp.com
Write a 200- to 300-word response in which you provide and explain
some of the different file permissions available within UNIX®. Include
how certain settings can help increase the security of the system.
===============================================
POS 433 Week 1 UNIX and Linux Comparison Matrix (New
Syllabus)
For more course tutorials visit
www.newtonhelp.com
Unix® and Linux® Comparison Matrix
Name three versions of Unix
1. HPUX
2. AIX
3. Solaris
Name three versions of Linux
1. Red Hat Enterprise Linux
2. Suse Linux Enterprise Server
3. Ubuntu
Describe 3 major differences between Unix and Linux
1. Licensing; Linux is all GPL, while UNIX varied between
commercial and BSD license
2. Users: Linux originally developed for home users while UNIX was
developed for servers.
3. Filesystem: Standard FS on Linux is EXT(3/4) while varies on
UNIX from JFS2 to UFS2 to ZFS.
4. Linux, technically, is not an OS, UNIX is. Linux is a kernel,
surrounded by packages.
Which of the following is not a UNIX or Linux variant
a. SunOS
b. RedHat
c. DOS
d. HP-UX
e. Debian
Technically I think you want C: DOS, though I would argue that DOS is
a ripoff of CP/M which itself was very much akin to UNIX.
Use the command to change directory locations.
a. cd
b. rm
c. mkdir
d. cut
A: cd
Use the command to delete a directory.
a. delete_dir
b. mkdir
c. rmdir
d. cat
C: rmdir, though this will only work if the directories are empty. Rm –
rfdir works otherwise.
Which of the following are text editors? (Choose all that apply.)
a. vi
b. emacs
c. ls
d. cat
A and B : Though why anyone would choose emacs over vi is beyond
me. ls lists dirs., and cat displays a file, but you specified ‘editor’.
The command creates a directory named winchester in the root
directory.
a. mkdir /winchester
b. mkdir ../Winchester
c. mkdir winchester
d. md /Winchester
A. / specifies root, and UNIX is case sensitive.
The command allows you to change directory locations to a child
directory named child1.
a. mkdir ƒ child1
b. cdƒ ../ child1
c. cd child1
d. rename
B: cp, for copy.
16. In vi, the command to change to insert mode is:
a. o
b. O
c. i
d. d
C: i. which inputs text before the cursor and B: O works as well to insert
a newline before current line, and A: o for newline after current line.
17. In vi, the command to remove a character is:
a. o
b. O
c. i
d. x
D: x.
===============================================
POS 433 Week 1 UNIX® and Linux® Comparison Matrix
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 1 UNIX® and Linux® Comparison Matrix
Instructions
Assignment Preparation: Activities include completing the SkillSoft
course, independent student reading, and research.
Complete the “Choosing UNIX Shells” module in the SkillSoft course,
“UNIX Fundamentals: Shell Scripting Basics.”
UNIX® and Linux® Comparison Matrix located on the student
website.
Unix® and Linux® Comparison Matrix
Directions: Choose three different versions of the UNIX® or Linux®
operating systems to compare. Insert the three chosen versions and fill
out the requested information in the Components column.
UNIX® or Linux® operating system version: <Insert your chosen
version>
Components Your response
Role of shell
Three features and roles of each feature
Comments on security
Comments on administration
Comments on networking
Comments on performance
Comments on programmability
Other
UNIX® or Linux® operating system version: <Insert your chosen
version>
Components Your response
Role of shell
Three features and roles of each feature
Comments on security
Comments on administration
Comments on networking
Comments on performance
Comments on programmability
Other
UNIX® or Linux® operating system version: <Insert your chosen
version>
Components Your response
Role of shell
Three features and roles of each feature
Comments on security
Comments on administration
Comments on networking
Comments on performance
Comments on programmability
Other
===============================================
POS 433 Week 2 File Processing Commands Worksheet
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 2 File Processing Commands Worksheet
Instructions
Assignment Preparation: Activities include completing the SkillSoft
course, independent student reading, and research.
§ Complete the “navigate a filesystem, create a file, set permissions,
create and delete files, and assign ownership and permissions” modules
in the SkillSoft course, “Working with UNIX Files and Directories.”
File Processing Commands Worksheet located on the student website.
File Processing Commands Worksheet
§ What UID and PID have the highest amount of physical memory a
process has used and is not swapped out?
§
§ Show all processes and full output.
§ If using a long listing and no process modifiers, what is the swap
space amount for the bash command?
§ When using top command, what command would you use to kill a
process?
§ If you were not using top command, what command would you use to
kill a process?
§ What command would you use to manually mount the standard CD-
ROM device /dev/db1 at /media/disk?
§ What command would you use to display the amount of available disk
space on /dev/db1 in a human readable form?
§ Type in the command grep – – help to access the help manual. Using
this information and the information from the text, how would you write
a command to find the pattern 111 in a file called txt?
===============================================
POS 433 Week 2 Learning Team UNIX®, Linux®, and
Windows Server® Critique and Presentation Preparation Part I
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 2 Learning Team UNIX®, Linux®, and Windows
Server® Critique and Presentation Preparation Part I
Instructions
Develop a plan for completing the Week Five Learning Team
assignment.
Submit the plan to the instructor.
Determine what research is needed to complete the written critique and
presentation due in Week Five.
Assign at least one research component to each team member.
===============================================
POS 433 Week 2 Linux Directory Log (New Syllabus)
For more course tutorials visit
www.newtonhelp.com
Here is the assignment:
1. Open a terminal and show the log how you create the following: (5
marks)
A. Create 2 directories under your home, account1 and account2
B. Change your directory to account1
C. Create 2 directories called checking1 and savings1
D. Go to checking1 directory
E. Using touch command, create two files c1.dat and c2.dat
F. Change your directory to savings1 using relative path
G. Using touch command, create two files s1.dat and s2.dat
H. Go to your home directory
I. Change your directory to account2
J. Create 2 directories called checking2 and savings2
K. Go to checking2 directory
L. Using touch command, create two files c3.dat and c4.dat
M. Change your directory to savings2 using relative path
N. Using touch command, create two files s3.dat and s4.dat
O. Change to account1 directory
2. Show the commands for the following. (5 Marks)
(Each carries 1 mark from A to E and in each one mark, ½ is for the
command and ½ for the output)
You are now in account1 directory. Copy s1.dat to this directory using
relative path. Show the new file that copied with ls command from this
directory. Do not change the directory.
Ans:
Move c1.dat to savings1 directory using relative path as s1.dat. Show
s1.dat with ls command from this directory. Do not change the directory.
Ans :
Change your directory to savings2 using absolute path. Show the current
directory after you changed.
Ans:
Copy c2.dat to your sibling directory, checking2 using relative path
(Sibling directories have same parent) (Also do not use ~ ). Show c2.dat
with ls command from this directory, do not change the directory .
Ans:
E. Move s4.dat to savings1 directory using absolute path. Show s4.dat
with ls command from this directory, do not change directory
Ans:
===============================================
POS 433 Week 2 Linux® Directory Log
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 2 Linux® Directory Log
Instructions
Assignment Preparation: Activities include completing the SkillSoft
course above, independent student reading, and research.
Linux® Directory Log located on the student website.
Linux® Directory Log
To: <Insert your facilitator’s name>
From: <Insert your name>
Date: <Insert the date (XX/XX/XXXX)>
Directions: As you complete each of the following steps, keep track of
what occurs at each point, including what you type, the output given,
and if you experience any errors. Record the occurrences in the
following matrix.
1. Open a terminal.
2. Create a new group called mygroup. Hint: /usr/sbin/groupadd.
3. Create a new folder and name it your first name.
4. Get a directory listing of the home folder using the long listing
format.
5. Modify the permissions on your new folder to set read, write, and
execute permissions for the user and group.
6. Get a directory listing of the new folder using the long listing and
human readable format. (ls –lh)
7. Use Gedit or VI to create two files (txt and myfile2.txt) and save
them in the new folder. Add a paragraph of your own liking to each file.
8. Get a regular format directory listing of the new folder.
9. Change the ownership of txt so the owner is mygroup and the
group is mygroup.
10. Get a directory listing of the new folder using the long listing and
human readable format.
11. Change the permissions on txt using the following: user:read and
write, group:read and write, and owner: read, write, and execute. Set the
sticky bit. Use Octal s to set these.
12. Get a directory listing of the new folder using the long listing and
human readable format.
===============================================
POS 433 Week 3 File Processing Commands Worksheet (New
Syllabus)
For more course tutorials visit
www.newtonhelp.com
1. I am now in $HOME/sales/east directory. I want to have my login
shell display me today’s date whenever I login every time by telnet.
For this, what steps I have to do? (1/2)
A. $ vi .profile
Type one line : echo "Today’s date is `date`"
$ chmod +x .profile
$ . .profile
B. $ cd ../..
$ vi .profile
Type one line : echo "Today’s date is `date`"
$ export .profile
$ .profile
C. $ cd $HOME
$ vi .profile
Type one line : echo "Today’s date is `date`"
$ . .profile
D. $ vi ~/.profile
Type one line : echo "Today’s date is "date"
$ . .profile
Ans:
2A. Why I am getting this error when I assign like this ? (1/2)
$ FIRST-NAME=smith
ksh: FIRST-NAME=smith: not found.
Ans:
2B. Under ksh or bash shell environments, what is the problem here ?
(1/2)
$ export PATH=/usr/bin /usr/local/bin /usr/ucb/bin
Ans:
3. Executing cp temp/temp1 temp1.txt it will result in... (1/2)
A. Error since the same filename is used
B. Error since an extension is used for the second temp1
C. It will move the contents of temp1 from directory temp to temp1 of
current directory and when finished it will erase the contents of temp1
of temp directory
D. It will copy temp1 from directory temp to temp1.txt of current
directory
Ans :
4. What kind of files will be matched by the following when you list by
ls command: (3)
For Ex :
$ ls [a-z][0-9]
Ans : This matches any file with 2 characters, first being a lower case
letter and the second being a number from 0 to 9
A. ls [0-9][a-z][0-9][A-Z] -- Note : there are no
spaces anywhere.
Ans:
B. ls [A-Z0-9_][A-Za-z_0-9] -- Note : there are no spaces
anywhere.
Ans:
C. ls [0-9]Z[0-9]
Ans:
5. What is the command to list files in a directory: (2)
A. Having only three alphabets:
Ans:
B. Starting with a digit and ending with a digit
Ans:
6. There are many C programs in my directory which have an extension
of .c (ex :first.c, second.cetc).
How can I concatenate all C files into one file called "myC_files (1)
Ans :
7. How do you sort first 15 lines in a file called 'datafile" ? (1) (You
need to use a pipe)
Ans:
8. How do you add a line to the end of an existing file "myfile" with date
stamp. (1)
Ans :
===============================================
POS 433 Week 3 Learning Team UNIX®, Linux®, and
Windows Server® Critique and Presentation Preparation Part II
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 3 Learning Team UNIX®, Linux®, and Windows
Server® Critique and Presentation Preparation Part II Instructions
Review the results from the Learning Team to ensure that all elements of
the assignment have been fully researched. Complete and submit the
outline of the final Learning Team paper. Begin developing the rough
draft of the critique due in Week Five.
===============================================
POS 433 Week 3 Linux® Script Worksheet
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 3 Linux® Script Worksheet
Instructions
Assignment Preparation: Activities include completing the SkillSoft
course, independent student reading, and research.
Complete the SkillSoft course, “UNIX Fundamentals: Shell Scripting
Basics” (ID:lu_unix_a02_it_enus)
Linux® Script Worksheet located on the student website.
Linux® Script Worksheet
To: <Insert your facilitator’s name>
From: <Insert your name>
Date: <Insert the date (XX/XX/XXXX)>
Before beginning the Linux® Script Worksheet, update the PATH
variable to add your folder from last week. You will find how to do this
on p. 134 of Linux® Command Line and Shell Scripting Bible.
Linux® Script 1
Requirements
In the same folder as last week, create a new file titled
week3prog1[name].scr.
Change the permissions on this new file to add the execute bit for user,
group, and owner.
Edit your new file using Gedit or VI and change it so it performs the
following actions:
· Display the date.
· Display the words Hello World.
· Display information about users that are currently logged in.
Note. Remember to include #!/bin/bash as the first line of your script.
Save the file and type your file name to execute.
Source Programs
<Insert your source code here.>
Output Results
<Insert the output here. Use a screenshot of the output with the input
requirements specified in the assignment.>
Linux® Script 2
Requirements
In the same folder as last week, create a new file called
week3prog2[name].scr.
Change the permissions on this new file to add the execute bit for user,
group, and owner.
Edit your new file using Gedit or VI and change it so it performs the
following actions:
· Using a line after #!/bin/bash, take the output of the ps –e
command and pipe it to the sort command.
· After it has been piped to the sort command, redirect that output
to a file called psfile.
Note. Remember to include #!/bin/bash as the first line of your script.
Source Programs
<Insert your source code here.>
Output Results
<Insert the output here. Use a screenshot of the output with the input
requirements specified in the assignment.>
Linux® Script 3
Requirements
In the same folder as last week, create a new file called
week3prog3[name].scr.
Change the permissions on this new file to add the execute bit for user,
group, and owner.
Create two files.
· File1 has one line with the value of 5.
· File2 has one line with the value of 100.
Edit your new file using Gedit or VI and change it so it performs the
following actions:
· Read the values from the two files above (file1 and file2).
· Divide the value from file2 by the value in file1.
· Output the result of this calculation to a new file called file3.
Note. Remember to include #!/bin/bash as the first line of your script.
Source Programs
<Insert your source code here.>
Output Results
<Insert the output here. Use a screenshot of the output with the input
requirements specified in the assignment.>
===============================================
POS 433 Week 4 File Processing Commands Worksheet (New
Syllabus)
For more course tutorials visit
www.newtonhelp.com
1. How do you know how many number of users currently logged into
the system? (Not considering if any user is logged more than one time)
(1)
A. who | uniq | sort | wc -l
B. who | cut -d' ' –f1 | uniq | wc -l
C. who | sort | uniq | wc -l
D. who | cut -d' ' –f1 | sort -u | wc -l
E. who | cut -d' ' –f1 | uniq -d | wc -l
Ans:
2. Create a file “employees.txt” using vi editor or pico.
(The file will have 6 fields, ID, Name, Designation, Dept, D.O.B, Salary
separated by pipe)
Enter these lines in the file and save it.
2133|charles smith |Manager|sales|12/12/56| 90000
9576|Rob Thomson|director |production|03/12/50|130000
5778|David Blake |General Manager|marketing |04/19/43| 85000
2765|Rick Martin|director|personnel |05/11/47|120000
(Use cut command for the following questions A,B)
(in each one mark, ½ is for the command and ½ for the output)
A. Display the person's name, his designation and salary in the above
file.
Show the command and output
Ans:
B: Display first 20 characters on each line in the above file.
Show the command and output
Ans:
3. How do you display the hour and minute from date command using
cut utility (1)
Show the command and output
( ½ is for the command and ½ for the output)
Ans:
4. What is the difference between the following commands? (1)
$ who | grep 'mary'
and
$ who | grep '^mary'
Ans:
5. We know that all user information is stored in /etc/passwd where
fields are delimited by a colon. Display only their userids using cut
command. (userid is the first field in /etc/passwd file) Show only top 10
userids. (1)
Show the command and output
( ½ is for the command and ½ for the output)
Ans:
6. Create the following four files chapter1, chapter2, chapter3, chapter4
in your current directory and enter the following text:
Chapter1 :
This is the first line in this file
This chapter deals with the basic information of a UNIX system.
Chapter2 :
This is the first line in this file
This chapter deals with Unix System info and shell introduction.
Chapter3 :
This is the first line in this File System
This chapter deals with various Unix Systems.
Rob Sheryl 8.00 20 160.00
Ken Bradman 7.00 13 91.00
Peter Smith 6.00 15 90.00
Dennis Smith 8.00 13 104.00
Tom Dave 9.00 12 108.00
How do you sort the above file and redirect the output to another file
called sortedusers
Ans :
15. How do you list only duplicate lines in a file "myfile" (1)
Ans :
===============================================
POS 433 Week 4 Learning Team UNIX®, Linux®, and
Windows Server® Critique and Presentation Preparation Part III
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 4 Learning Team UNIX®, Linux®, and Windows
Server® Critique and Presentation Preparation Part III
Instructions
Continue working on your critique due in Week Five.
Complete and submit the draft of your final paper.
Begin developing the presentation due in Week Five
===============================================
POS 433 Week 4 Systems Administration Scripting Log
For more course tutorials visit
www.newtonhelp.com
POS 433 Week 4 Systems Administration Scripting Log
Instructions
Assignment Preparation: Activities include completing the SkillSoft
course, independent student reading, and research.
§ Complete the SkillSoft course, “Working with UNIX Programs.”
Systems Administration Scripting Log located on the student website.
Systems Administration Scripting Log
To: <Insert your facilitator’s name>
From: <Insert your name>
Date: <Insert the date (XX/XX/XXXX)>
As you complete each of the following steps, keep track of what occurs
at each point, including what you type, the output given, and any errors
experienced. Submit this information in a log to your instructor for this
week’s assignment. Your log can use the sample format provided, or you
can create your own.
1. In the same folder as last week, create a new file titled
week4prog1[name].scr.
2. Change the permissions on this new file to add the execute bit for
user, group, and owner.
3. Run the following script:
1. #!/bin/bash
2. count=1
3. echo “start of the program”
4. while [ $count -le 10 ]
5. do
§ echo “Loop #$count”
§ sleep 10
§ count=$[ count + 1 ]
1. done
2. echo “end of the program
4. Modify the program to add a trap for SIGINT and SIGTERM.
5. Save the script and then run the script in the background.
6. Use the jobs command to display a list of the jobs currently
running.
7. Find the process id of the script and kill the job.
8. Check to see if you get the trap message.
9. Run the script again using the at command to schedule the job in
the future. Wait for the job to run to make sure it executes.
===============================================
POS 433 Week 5 Learning Team UNIX®, Linux®, and
Windows Server® Critique (2 Papers)
For more course tutorials visit
www.newtonhelp.com
This Tutorial contains 2 Papers
POS 433 Week 5 Learning Team UNIX®, Linux®, and Windows
Server® Critique
Instructions
Finalize and submit the UNIX®, Linux®, and Windows Server®
Critique
===============================================
POS 433 Week 5 Learning Team UNIX®, Linux®, and
Windows Server® Presentation (2 PPT)
For more course tutorials visit
www.newtonhelp.com
This Tutorial contains 2 Presentations
POS 433 Week 5 Learning Team UNIX®, Linux®, and Windows
Server® Presentation
Instructions
Finalize and submit the UNIX®, Linux®, and Windows Server®
Presentation
===============================================
POS 433 Week 5 Linux Script Worksheet (New Syllabus)
For more course tutorials visit
www.newtonhelp.com
Linux® Script 1 (2 Marks)
Requirements
Create a new file called week5prog1.sh with vi or pico editor.
Edit your new file using VI and change it so it performs the following
actions:
Display the date
Display your system information using “uname –a “ command
Display your username and id using “id” command
Display your current directory
Save the file and type your file name to execute.
Source Programs:
Insert your source code here.
$ cat week5prog1.sh
Output Results:
Insert the output here. Use a screen shot of the output with input
requirements specified in the assignment.
Give execute permission to the user, group only
Run the script and show the output here
Linux® Script 2 (2 Marks)
Requirements
Create a new file called week5prog2.sh with vi or pico editor.
Edit your new file using VI and change it so it performs the following
actions:
• Display the date
• Display your system information using “uname –a “
command
• Display your username and id using “id” command
• Change your directory /tmp
• Display your current directory
• Search Mary in the passwd file in /etc directory
• If the search is success, display that Mary is an user in this
system
• Otherwise display that Mary is not in the system
You need to use “grep”, “if” , “else” “$?”
Linux® Script 3 (3 Marks)
Requirements
Here is the question:
Some commands like cp, mv, mkdir need arguments. Similarly this
script needs only two arguments. If user enters no arguments or one
argument or three or more than 3 arguments, it displays error message
like “You need to enter two arguments “ If user enters two arguments, it
displays the arguments in reverse order .
Create a new file called week5prog3.sh with vi or pico command
Edit your new file using vi and write the script: Create a new file called
week5prog3.sh with vi or pico command.
• Display the date
• Display your system’s host name “hostname “ command
• Display your username using system variable “USER”
• If user enters no arguments or one argument or three or more
than 3 arguments, it displays error message like “You need to enter two
arguments “
• If user enters two arguments, it displays the arguments in
reverse order .
Linux® Script 4 (3 Marks)
Requirements
Create a new file called week5prog4.sh with vi or pico editor
Here is the question:
Write a program which displays 4 options to the user and asks the user
to enter one option and displays the output depending on the choice. If
the user enters any other character, display error message that he has to
enter only a, b, c or d
a. Current date and time
b. No of users currently logged in
c. List of directories in PATH variable
d. Your login name using “LOGNAME” variable
(hint : Use the case statement and read the option with read command)
Source Programs:
Insert your source code here.
$ cat week5prog4.sh
Output Results:
Insert the output here. Use a screen shot of the output with input
requirements specified in the assignment.
1. Give execute permission to the user, group only
2. Run the script and show the output here with the following inputs
each time when the scripts prompts like
1st Run : Enter an option : a
2nd Run : Enter an option : b
3rd Run : Enter an option : c
4th Run : Enter an option : d
5th Run : Enter an option : x
===============================================
POS 433 Week 5 UNIX® Networking (1 Paper and 1 PPT)
For more course tutorials visit
www.newtonhelp.com
This Tutorial contains 1 Paper and 1 Presentation
POS 433 Week 5 UNIX® Networking
Instructions
Assignment Preparation: Activities include completing the SkillSoft
course, independent student reading, and research.
§ Complete the “File Sharing with NFS and Samba” modules in the
SkillSoft course, “UNIX Fundamentals: Network Administration.”
Assignment: Find a current article about UNIX® Networking. Write a
1-2 page paper discuss the article and its relevance to the course
===============================================

More Related Content

What's hot

What's hot (17)

Lpi Part 2 Basic Administration
Lpi Part 2 Basic AdministrationLpi Part 2 Basic Administration
Lpi Part 2 Basic Administration
 
Lpi Part 3 Intermediate Administration
Lpi Part 3 Intermediate AdministrationLpi Part 3 Intermediate Administration
Lpi Part 3 Intermediate Administration
 
Linux
LinuxLinux
Linux
 
1.2 boot the system v2
1.2 boot the system v21.2 boot the system v2
1.2 boot the system v2
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
 
Nfs
NfsNfs
Nfs
 
Mc7404 np final
Mc7404 np finalMc7404 np final
Mc7404 np final
 
Chapter 4 Linux Basic Commands
Chapter 4 Linux Basic CommandsChapter 4 Linux Basic Commands
Chapter 4 Linux Basic Commands
 
Session2
Session2Session2
Session2
 
Koha installation BALID
Koha installation BALIDKoha installation BALID
Koha installation BALID
 
Shell intro
Shell introShell intro
Shell intro
 
Linux
LinuxLinux
Linux
 
File management
File managementFile management
File management
 
Network File System in Distributed Computing
Network File System in Distributed ComputingNetwork File System in Distributed Computing
Network File System in Distributed Computing
 
Unix_commands_theory
Unix_commands_theoryUnix_commands_theory
Unix_commands_theory
 
Nfs
NfsNfs
Nfs
 
21bUc8YeDzZpE
21bUc8YeDzZpE21bUc8YeDzZpE
21bUc8YeDzZpE
 

Similar to Unix vs Windows Comparison

POS 433 Inspiring Innovation/tutorialrank.com
 POS 433 Inspiring Innovation/tutorialrank.com POS 433 Inspiring Innovation/tutorialrank.com
POS 433 Inspiring Innovation/tutorialrank.comjonhson152
 
POS 433 Education Organization / snaptutorial.com
POS 433 Education Organization / snaptutorial.com POS 433 Education Organization / snaptutorial.com
POS 433 Education Organization / snaptutorial.com McdonaldRyan65
 
Linux admin interview questions
Linux admin interview questionsLinux admin interview questions
Linux admin interview questionsKavya Sri
 
Pos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.comPos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.comjhonklinz34
 
POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com donaldzs82
 
CEIS106_Final_Project.pptx.pdf
CEIS106_Final_Project.pptx.pdfCEIS106_Final_Project.pptx.pdf
CEIS106_Final_Project.pptx.pdfluxasuhi
 
Pos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.comPos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.comrobertleses32
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.pptKiranMantri
 
Lpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsLpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsYemenLinux
 
Pos 433 Education Specialist-snaptutorial.com
Pos 433 Education Specialist-snaptutorial.comPos 433 Education Specialist-snaptutorial.com
Pos 433 Education Specialist-snaptutorial.comrobertledwes18
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Edureka!
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorialVu Duy Tu
 
Devry CIS 246 Full Course Latest
Devry CIS 246 Full Course LatestDevry CIS 246 Full Course Latest
Devry CIS 246 Full Course LatestAtifkhilji
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdfasif64436
 
basic linux command (questions)
basic linux command (questions)basic linux command (questions)
basic linux command (questions)Sukhraj Singh
 
Creating a Scheduled Backup and Replicating System Folders Introduct.docx
Creating a Scheduled Backup and Replicating System Folders Introduct.docxCreating a Scheduled Backup and Replicating System Folders Introduct.docx
Creating a Scheduled Backup and Replicating System Folders Introduct.docxwilliejgrant41084
 

Similar to Unix vs Windows Comparison (20)

POS 433 Inspiring Innovation/tutorialrank.com
 POS 433 Inspiring Innovation/tutorialrank.com POS 433 Inspiring Innovation/tutorialrank.com
POS 433 Inspiring Innovation/tutorialrank.com
 
POS 433 Entire Course NEW
POS 433 Entire Course NEWPOS 433 Entire Course NEW
POS 433 Entire Course NEW
 
POS 433 Education Organization / snaptutorial.com
POS 433 Education Organization / snaptutorial.com POS 433 Education Organization / snaptutorial.com
POS 433 Education Organization / snaptutorial.com
 
Pos 433 pos433
Pos 433 pos433Pos 433 pos433
Pos 433 pos433
 
Linux admin interview questions
Linux admin interview questionsLinux admin interview questions
Linux admin interview questions
 
Pos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.comPos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.com
 
POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com
 
CEIS106_Final_Project.pptx.pdf
CEIS106_Final_Project.pptx.pdfCEIS106_Final_Project.pptx.pdf
CEIS106_Final_Project.pptx.pdf
 
Pos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.comPos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.com
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
 
Lpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsLpi Part 1 Linux Fundamentals
Lpi Part 1 Linux Fundamentals
 
POS 420 Entire Course NEW
POS 420 Entire Course NEWPOS 420 Entire Course NEW
POS 420 Entire Course NEW
 
Pos 433 Education Specialist-snaptutorial.com
Pos 433 Education Specialist-snaptutorial.comPos 433 Education Specialist-snaptutorial.com
Pos 433 Education Specialist-snaptutorial.com
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorial
 
Devry CIS 246 Full Course Latest
Devry CIS 246 Full Course LatestDevry CIS 246 Full Course Latest
Devry CIS 246 Full Course Latest
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
 
SVN Information
SVN Information  SVN Information
SVN Information
 
basic linux command (questions)
basic linux command (questions)basic linux command (questions)
basic linux command (questions)
 
Creating a Scheduled Backup and Replicating System Folders Introduct.docx
Creating a Scheduled Backup and Replicating System Folders Introduct.docxCreating a Scheduled Backup and Replicating System Folders Introduct.docx
Creating a Scheduled Backup and Replicating System Folders Introduct.docx
 

Recently uploaded

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

Unix vs Windows Comparison

  • 1. POS 433 Assignment Unix Linux vs Windows a Business Case Comparison (4000 words) For more course tutorials visit www.newtonhelp.com POS 433 Assignment Unix/Linux vs Windows a Business Case Comparison (4000 words) =============================================== POS 433 Assignment Unix Linux vs Windows Security and administration (1000 Words) For more course tutorials visit www.newtonhelp.com POS 433 Assignment Unix Linux vs Windows Security and administration (1000 Words) =============================================== POS 433 Discussion Different Version of Unix
  • 2. For more course tutorials visit www.newtonhelp.com What are some of the different versions of Unix? Why is it important to have different versions of Unix? =============================================== POS 433 Discussion Scripting in Programming For more course tutorials visit www.newtonhelp.com Write a short essay discussing when scripting should be taught to individuals who are learning software programming. Discuss the advantages and disadvantages of doing so at specific times in their learning process. =============================================== POS 433 Discussion Terminating a Process For more course tutorials visit
  • 3. www.newtonhelp.com Write a 200- to 300-word response that discusses the different reasons for terminating a process and the commands used for this purpose. =============================================== POS 433 Discussion Unix Permissions For more course tutorials visit www.newtonhelp.com Write a 200- to 300-word response in which you provide and explain some of the different file permissions available within UNIX®. Include how certain settings can help increase the security of the system. =============================================== POS 433 Week 1 UNIX and Linux Comparison Matrix (New Syllabus) For more course tutorials visit www.newtonhelp.com
  • 4. Unix® and Linux® Comparison Matrix Name three versions of Unix 1. HPUX 2. AIX 3. Solaris Name three versions of Linux 1. Red Hat Enterprise Linux 2. Suse Linux Enterprise Server 3. Ubuntu Describe 3 major differences between Unix and Linux 1. Licensing; Linux is all GPL, while UNIX varied between commercial and BSD license 2. Users: Linux originally developed for home users while UNIX was developed for servers. 3. Filesystem: Standard FS on Linux is EXT(3/4) while varies on UNIX from JFS2 to UFS2 to ZFS. 4. Linux, technically, is not an OS, UNIX is. Linux is a kernel, surrounded by packages. Which of the following is not a UNIX or Linux variant
  • 5. a. SunOS b. RedHat c. DOS d. HP-UX e. Debian Technically I think you want C: DOS, though I would argue that DOS is a ripoff of CP/M which itself was very much akin to UNIX. Use the command to change directory locations. a. cd b. rm c. mkdir d. cut A: cd Use the command to delete a directory. a. delete_dir b. mkdir c. rmdir d. cat C: rmdir, though this will only work if the directories are empty. Rm – rfdir works otherwise.
  • 6. Which of the following are text editors? (Choose all that apply.) a. vi b. emacs c. ls d. cat A and B : Though why anyone would choose emacs over vi is beyond me. ls lists dirs., and cat displays a file, but you specified ‘editor’. The command creates a directory named winchester in the root directory. a. mkdir /winchester b. mkdir ../Winchester c. mkdir winchester d. md /Winchester A. / specifies root, and UNIX is case sensitive. The command allows you to change directory locations to a child directory named child1. a. mkdir ƒ child1 b. cdƒ ../ child1 c. cd child1
  • 7. d. rename B: cp, for copy. 16. In vi, the command to change to insert mode is: a. o b. O c. i d. d C: i. which inputs text before the cursor and B: O works as well to insert a newline before current line, and A: o for newline after current line. 17. In vi, the command to remove a character is: a. o b. O c. i d. x D: x. =============================================== POS 433 Week 1 UNIX® and Linux® Comparison Matrix For more course tutorials visit
  • 8. www.newtonhelp.com POS 433 Week 1 UNIX® and Linux® Comparison Matrix Instructions Assignment Preparation: Activities include completing the SkillSoft course, independent student reading, and research. Complete the “Choosing UNIX Shells” module in the SkillSoft course, “UNIX Fundamentals: Shell Scripting Basics.” UNIX® and Linux® Comparison Matrix located on the student website. Unix® and Linux® Comparison Matrix Directions: Choose three different versions of the UNIX® or Linux® operating systems to compare. Insert the three chosen versions and fill out the requested information in the Components column. UNIX® or Linux® operating system version: <Insert your chosen version> Components Your response Role of shell Three features and roles of each feature Comments on security Comments on administration
  • 9. Comments on networking Comments on performance Comments on programmability Other UNIX® or Linux® operating system version: <Insert your chosen version> Components Your response Role of shell Three features and roles of each feature Comments on security Comments on administration Comments on networking Comments on performance Comments on programmability Other UNIX® or Linux® operating system version: <Insert your chosen version> Components Your response Role of shell Three features and roles of each feature Comments on security
  • 10. Comments on administration Comments on networking Comments on performance Comments on programmability Other =============================================== POS 433 Week 2 File Processing Commands Worksheet For more course tutorials visit www.newtonhelp.com POS 433 Week 2 File Processing Commands Worksheet Instructions Assignment Preparation: Activities include completing the SkillSoft course, independent student reading, and research. § Complete the “navigate a filesystem, create a file, set permissions, create and delete files, and assign ownership and permissions” modules in the SkillSoft course, “Working with UNIX Files and Directories.” File Processing Commands Worksheet located on the student website. File Processing Commands Worksheet
  • 11. § What UID and PID have the highest amount of physical memory a process has used and is not swapped out? § § Show all processes and full output. § If using a long listing and no process modifiers, what is the swap space amount for the bash command? § When using top command, what command would you use to kill a process? § If you were not using top command, what command would you use to kill a process? § What command would you use to manually mount the standard CD- ROM device /dev/db1 at /media/disk? § What command would you use to display the amount of available disk space on /dev/db1 in a human readable form? § Type in the command grep – – help to access the help manual. Using this information and the information from the text, how would you write a command to find the pattern 111 in a file called txt? =============================================== POS 433 Week 2 Learning Team UNIX®, Linux®, and Windows Server® Critique and Presentation Preparation Part I
  • 12. For more course tutorials visit www.newtonhelp.com POS 433 Week 2 Learning Team UNIX®, Linux®, and Windows Server® Critique and Presentation Preparation Part I Instructions Develop a plan for completing the Week Five Learning Team assignment. Submit the plan to the instructor. Determine what research is needed to complete the written critique and presentation due in Week Five. Assign at least one research component to each team member. =============================================== POS 433 Week 2 Linux Directory Log (New Syllabus) For more course tutorials visit www.newtonhelp.com Here is the assignment: 1. Open a terminal and show the log how you create the following: (5 marks)
  • 13. A. Create 2 directories under your home, account1 and account2 B. Change your directory to account1 C. Create 2 directories called checking1 and savings1 D. Go to checking1 directory E. Using touch command, create two files c1.dat and c2.dat F. Change your directory to savings1 using relative path G. Using touch command, create two files s1.dat and s2.dat H. Go to your home directory I. Change your directory to account2 J. Create 2 directories called checking2 and savings2 K. Go to checking2 directory L. Using touch command, create two files c3.dat and c4.dat M. Change your directory to savings2 using relative path N. Using touch command, create two files s3.dat and s4.dat O. Change to account1 directory 2. Show the commands for the following. (5 Marks) (Each carries 1 mark from A to E and in each one mark, ½ is for the command and ½ for the output)
  • 14. You are now in account1 directory. Copy s1.dat to this directory using relative path. Show the new file that copied with ls command from this directory. Do not change the directory. Ans: Move c1.dat to savings1 directory using relative path as s1.dat. Show s1.dat with ls command from this directory. Do not change the directory. Ans : Change your directory to savings2 using absolute path. Show the current directory after you changed. Ans: Copy c2.dat to your sibling directory, checking2 using relative path (Sibling directories have same parent) (Also do not use ~ ). Show c2.dat with ls command from this directory, do not change the directory . Ans: E. Move s4.dat to savings1 directory using absolute path. Show s4.dat with ls command from this directory, do not change directory Ans: =============================================== POS 433 Week 2 Linux® Directory Log For more course tutorials visit www.newtonhelp.com
  • 15. POS 433 Week 2 Linux® Directory Log Instructions Assignment Preparation: Activities include completing the SkillSoft course above, independent student reading, and research. Linux® Directory Log located on the student website. Linux® Directory Log To: <Insert your facilitator’s name> From: <Insert your name> Date: <Insert the date (XX/XX/XXXX)> Directions: As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and if you experience any errors. Record the occurrences in the following matrix. 1. Open a terminal. 2. Create a new group called mygroup. Hint: /usr/sbin/groupadd. 3. Create a new folder and name it your first name.
  • 16. 4. Get a directory listing of the home folder using the long listing format. 5. Modify the permissions on your new folder to set read, write, and execute permissions for the user and group. 6. Get a directory listing of the new folder using the long listing and human readable format. (ls –lh) 7. Use Gedit or VI to create two files (txt and myfile2.txt) and save them in the new folder. Add a paragraph of your own liking to each file. 8. Get a regular format directory listing of the new folder. 9. Change the ownership of txt so the owner is mygroup and the group is mygroup. 10. Get a directory listing of the new folder using the long listing and human readable format.
  • 17. 11. Change the permissions on txt using the following: user:read and write, group:read and write, and owner: read, write, and execute. Set the sticky bit. Use Octal s to set these. 12. Get a directory listing of the new folder using the long listing and human readable format. =============================================== POS 433 Week 3 File Processing Commands Worksheet (New Syllabus) For more course tutorials visit www.newtonhelp.com 1. I am now in $HOME/sales/east directory. I want to have my login shell display me today’s date whenever I login every time by telnet. For this, what steps I have to do? (1/2) A. $ vi .profile Type one line : echo "Today’s date is `date`" $ chmod +x .profile $ . .profile B. $ cd ../..
  • 18. $ vi .profile Type one line : echo "Today’s date is `date`" $ export .profile $ .profile C. $ cd $HOME $ vi .profile Type one line : echo "Today’s date is `date`" $ . .profile D. $ vi ~/.profile Type one line : echo "Today’s date is "date" $ . .profile Ans: 2A. Why I am getting this error when I assign like this ? (1/2) $ FIRST-NAME=smith ksh: FIRST-NAME=smith: not found. Ans: 2B. Under ksh or bash shell environments, what is the problem here ? (1/2)
  • 19. $ export PATH=/usr/bin /usr/local/bin /usr/ucb/bin Ans: 3. Executing cp temp/temp1 temp1.txt it will result in... (1/2) A. Error since the same filename is used B. Error since an extension is used for the second temp1 C. It will move the contents of temp1 from directory temp to temp1 of current directory and when finished it will erase the contents of temp1 of temp directory D. It will copy temp1 from directory temp to temp1.txt of current directory Ans : 4. What kind of files will be matched by the following when you list by ls command: (3) For Ex : $ ls [a-z][0-9] Ans : This matches any file with 2 characters, first being a lower case letter and the second being a number from 0 to 9
  • 20. A. ls [0-9][a-z][0-9][A-Z] -- Note : there are no spaces anywhere. Ans: B. ls [A-Z0-9_][A-Za-z_0-9] -- Note : there are no spaces anywhere. Ans: C. ls [0-9]Z[0-9] Ans: 5. What is the command to list files in a directory: (2) A. Having only three alphabets: Ans: B. Starting with a digit and ending with a digit Ans: 6. There are many C programs in my directory which have an extension of .c (ex :first.c, second.cetc). How can I concatenate all C files into one file called "myC_files (1) Ans : 7. How do you sort first 15 lines in a file called 'datafile" ? (1) (You need to use a pipe) Ans:
  • 21. 8. How do you add a line to the end of an existing file "myfile" with date stamp. (1) Ans : =============================================== POS 433 Week 3 Learning Team UNIX®, Linux®, and Windows Server® Critique and Presentation Preparation Part II For more course tutorials visit www.newtonhelp.com POS 433 Week 3 Learning Team UNIX®, Linux®, and Windows Server® Critique and Presentation Preparation Part II Instructions Review the results from the Learning Team to ensure that all elements of the assignment have been fully researched. Complete and submit the outline of the final Learning Team paper. Begin developing the rough draft of the critique due in Week Five. =============================================== POS 433 Week 3 Linux® Script Worksheet For more course tutorials visit www.newtonhelp.com
  • 22. POS 433 Week 3 Linux® Script Worksheet Instructions Assignment Preparation: Activities include completing the SkillSoft course, independent student reading, and research. Complete the SkillSoft course, “UNIX Fundamentals: Shell Scripting Basics” (ID:lu_unix_a02_it_enus) Linux® Script Worksheet located on the student website. Linux® Script Worksheet To: <Insert your facilitator’s name> From: <Insert your name> Date: <Insert the date (XX/XX/XXXX)> Before beginning the Linux® Script Worksheet, update the PATH variable to add your folder from last week. You will find how to do this on p. 134 of Linux® Command Line and Shell Scripting Bible. Linux® Script 1 Requirements In the same folder as last week, create a new file titled week3prog1[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Edit your new file using Gedit or VI and change it so it performs the following actions:
  • 23. · Display the date. · Display the words Hello World. · Display information about users that are currently logged in. Note. Remember to include #!/bin/bash as the first line of your script. Save the file and type your file name to execute. Source Programs <Insert your source code here.> Output Results <Insert the output here. Use a screenshot of the output with the input requirements specified in the assignment.> Linux® Script 2 Requirements In the same folder as last week, create a new file called week3prog2[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Edit your new file using Gedit or VI and change it so it performs the following actions:
  • 24. · Using a line after #!/bin/bash, take the output of the ps –e command and pipe it to the sort command. · After it has been piped to the sort command, redirect that output to a file called psfile. Note. Remember to include #!/bin/bash as the first line of your script. Source Programs <Insert your source code here.> Output Results <Insert the output here. Use a screenshot of the output with the input requirements specified in the assignment.> Linux® Script 3 Requirements In the same folder as last week, create a new file called week3prog3[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Create two files. · File1 has one line with the value of 5.
  • 25. · File2 has one line with the value of 100. Edit your new file using Gedit or VI and change it so it performs the following actions: · Read the values from the two files above (file1 and file2). · Divide the value from file2 by the value in file1. · Output the result of this calculation to a new file called file3. Note. Remember to include #!/bin/bash as the first line of your script. Source Programs <Insert your source code here.> Output Results <Insert the output here. Use a screenshot of the output with the input requirements specified in the assignment.> =============================================== POS 433 Week 4 File Processing Commands Worksheet (New Syllabus) For more course tutorials visit www.newtonhelp.com
  • 26. 1. How do you know how many number of users currently logged into the system? (Not considering if any user is logged more than one time) (1) A. who | uniq | sort | wc -l B. who | cut -d' ' –f1 | uniq | wc -l C. who | sort | uniq | wc -l D. who | cut -d' ' –f1 | sort -u | wc -l E. who | cut -d' ' –f1 | uniq -d | wc -l Ans: 2. Create a file “employees.txt” using vi editor or pico. (The file will have 6 fields, ID, Name, Designation, Dept, D.O.B, Salary separated by pipe) Enter these lines in the file and save it. 2133|charles smith |Manager|sales|12/12/56| 90000 9576|Rob Thomson|director |production|03/12/50|130000 5778|David Blake |General Manager|marketing |04/19/43| 85000 2765|Rick Martin|director|personnel |05/11/47|120000 (Use cut command for the following questions A,B) (in each one mark, ½ is for the command and ½ for the output)
  • 27. A. Display the person's name, his designation and salary in the above file. Show the command and output Ans: B: Display first 20 characters on each line in the above file. Show the command and output Ans: 3. How do you display the hour and minute from date command using cut utility (1) Show the command and output ( ½ is for the command and ½ for the output) Ans: 4. What is the difference between the following commands? (1) $ who | grep 'mary' and $ who | grep '^mary'
  • 28. Ans: 5. We know that all user information is stored in /etc/passwd where fields are delimited by a colon. Display only their userids using cut command. (userid is the first field in /etc/passwd file) Show only top 10 userids. (1) Show the command and output ( ½ is for the command and ½ for the output) Ans: 6. Create the following four files chapter1, chapter2, chapter3, chapter4 in your current directory and enter the following text: Chapter1 : This is the first line in this file This chapter deals with the basic information of a UNIX system. Chapter2 : This is the first line in this file This chapter deals with Unix System info and shell introduction. Chapter3 : This is the first line in this File System This chapter deals with various Unix Systems. Rob Sheryl 8.00 20 160.00
  • 29. Ken Bradman 7.00 13 91.00 Peter Smith 6.00 15 90.00 Dennis Smith 8.00 13 104.00 Tom Dave 9.00 12 108.00 How do you sort the above file and redirect the output to another file called sortedusers Ans : 15. How do you list only duplicate lines in a file "myfile" (1) Ans : =============================================== POS 433 Week 4 Learning Team UNIX®, Linux®, and Windows Server® Critique and Presentation Preparation Part III For more course tutorials visit www.newtonhelp.com POS 433 Week 4 Learning Team UNIX®, Linux®, and Windows Server® Critique and Presentation Preparation Part III Instructions Continue working on your critique due in Week Five. Complete and submit the draft of your final paper.
  • 30. Begin developing the presentation due in Week Five =============================================== POS 433 Week 4 Systems Administration Scripting Log For more course tutorials visit www.newtonhelp.com POS 433 Week 4 Systems Administration Scripting Log Instructions Assignment Preparation: Activities include completing the SkillSoft course, independent student reading, and research. § Complete the SkillSoft course, “Working with UNIX Programs.” Systems Administration Scripting Log located on the student website. Systems Administration Scripting Log To: <Insert your facilitator’s name> From: <Insert your name> Date: <Insert the date (XX/XX/XXXX)>
  • 31. As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and any errors experienced. Submit this information in a log to your instructor for this week’s assignment. Your log can use the sample format provided, or you can create your own. 1. In the same folder as last week, create a new file titled week4prog1[name].scr. 2. Change the permissions on this new file to add the execute bit for user, group, and owner. 3. Run the following script: 1. #!/bin/bash 2. count=1 3. echo “start of the program” 4. while [ $count -le 10 ] 5. do § echo “Loop #$count” § sleep 10 § count=$[ count + 1 ]
  • 32. 1. done 2. echo “end of the program 4. Modify the program to add a trap for SIGINT and SIGTERM. 5. Save the script and then run the script in the background. 6. Use the jobs command to display a list of the jobs currently running. 7. Find the process id of the script and kill the job. 8. Check to see if you get the trap message. 9. Run the script again using the at command to schedule the job in the future. Wait for the job to run to make sure it executes. =============================================== POS 433 Week 5 Learning Team UNIX®, Linux®, and Windows Server® Critique (2 Papers) For more course tutorials visit www.newtonhelp.com This Tutorial contains 2 Papers
  • 33. POS 433 Week 5 Learning Team UNIX®, Linux®, and Windows Server® Critique Instructions Finalize and submit the UNIX®, Linux®, and Windows Server® Critique =============================================== POS 433 Week 5 Learning Team UNIX®, Linux®, and Windows Server® Presentation (2 PPT) For more course tutorials visit www.newtonhelp.com This Tutorial contains 2 Presentations POS 433 Week 5 Learning Team UNIX®, Linux®, and Windows Server® Presentation Instructions Finalize and submit the UNIX®, Linux®, and Windows Server® Presentation =============================================== POS 433 Week 5 Linux Script Worksheet (New Syllabus)
  • 34. For more course tutorials visit www.newtonhelp.com Linux® Script 1 (2 Marks) Requirements Create a new file called week5prog1.sh with vi or pico editor. Edit your new file using VI and change it so it performs the following actions: Display the date Display your system information using “uname –a “ command Display your username and id using “id” command Display your current directory Save the file and type your file name to execute. Source Programs: Insert your source code here. $ cat week5prog1.sh
  • 35. Output Results: Insert the output here. Use a screen shot of the output with input requirements specified in the assignment. Give execute permission to the user, group only Run the script and show the output here Linux® Script 2 (2 Marks) Requirements Create a new file called week5prog2.sh with vi or pico editor. Edit your new file using VI and change it so it performs the following actions: • Display the date • Display your system information using “uname –a “ command • Display your username and id using “id” command • Change your directory /tmp • Display your current directory • Search Mary in the passwd file in /etc directory
  • 36. • If the search is success, display that Mary is an user in this system • Otherwise display that Mary is not in the system You need to use “grep”, “if” , “else” “$?” Linux® Script 3 (3 Marks) Requirements Here is the question: Some commands like cp, mv, mkdir need arguments. Similarly this script needs only two arguments. If user enters no arguments or one argument or three or more than 3 arguments, it displays error message like “You need to enter two arguments “ If user enters two arguments, it displays the arguments in reverse order . Create a new file called week5prog3.sh with vi or pico command Edit your new file using vi and write the script: Create a new file called week5prog3.sh with vi or pico command. • Display the date • Display your system’s host name “hostname “ command • Display your username using system variable “USER” • If user enters no arguments or one argument or three or more than 3 arguments, it displays error message like “You need to enter two arguments “
  • 37. • If user enters two arguments, it displays the arguments in reverse order . Linux® Script 4 (3 Marks) Requirements Create a new file called week5prog4.sh with vi or pico editor Here is the question: Write a program which displays 4 options to the user and asks the user to enter one option and displays the output depending on the choice. If the user enters any other character, display error message that he has to enter only a, b, c or d a. Current date and time b. No of users currently logged in c. List of directories in PATH variable d. Your login name using “LOGNAME” variable (hint : Use the case statement and read the option with read command) Source Programs: Insert your source code here. $ cat week5prog4.sh Output Results:
  • 38. Insert the output here. Use a screen shot of the output with input requirements specified in the assignment. 1. Give execute permission to the user, group only 2. Run the script and show the output here with the following inputs each time when the scripts prompts like 1st Run : Enter an option : a 2nd Run : Enter an option : b 3rd Run : Enter an option : c 4th Run : Enter an option : d 5th Run : Enter an option : x =============================================== POS 433 Week 5 UNIX® Networking (1 Paper and 1 PPT) For more course tutorials visit www.newtonhelp.com This Tutorial contains 1 Paper and 1 Presentation POS 433 Week 5 UNIX® Networking Instructions
  • 39. Assignment Preparation: Activities include completing the SkillSoft course, independent student reading, and research. § Complete the “File Sharing with NFS and Samba” modules in the SkillSoft course, “UNIX Fundamentals: Network Administration.” Assignment: Find a current article about UNIX® Networking. Write a 1-2 page paper discuss the article and its relevance to the course ===============================================