Homework Quiz Questions Flashcards
Linux is a free operating system developed for the __________
processor that is intended to replicate the functionality of ________
80X86, Unix
Linux was first released by ___________ , who was a student at University of Helsinki at the time.
Linus Torvalds
C was developed at _________ in the early 1970’s simultaneously with
_______.
Bell Labs, Unix
The command ____________ prints the absolute path to your current working directory.
pwd
The ____________ command is used to change permissions on a file.
chmod
________ changes the working directory to the root directory
cd /
________ changes the working directory to the user’s home without using tilde expansion.
cd
______ changes the working directory to the user’s home directory using tilde expansion.
cd ~
______ changes the working directory to the user bob’s home directory using tilde expansion.
cd ~bob
Explain the differences between a static C library and a C shared library
Static libraries are libraries that can be used in multiple programs, inside of a program when it is compiled. Conversely, shared libraries exist completely separate from the compiled program as a separate file or files
Write a command that assigns the value “CSI 3336” to an environment variable named classNumber.
classNumber=”CSI 3336”
Write a command that assigns the value “Systems Programming” to an environment variable named className.
className=”Systems Programming”
Write a command that concatenates the values found in classNumber and className into a new environment variable named class
class=”$classNumber$className”
Write a command that lists the directory contents of the local directory and all subdirectories.
ls -r
Write a command that creates a new directory named cs3336 in the current working directory.
mkdir cs3336
Write a command that displays the current system time.
date