// this file is copyright - Mike Capstick // it adds the quiz questions and answers gametitle='Unix Terms'; questions=new Array(); questions[1]='The UNIX command to schedule a job is~at~cat file1.txt file2.txt > new.txt~touch~uptime~apropos~A~1~1~ The UNIX command to schedule a job is at
The UNIX command to update the modification time of a file is touch
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to display how long the computer has been running is uptime
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
'; questions[2]='The UNIX command to break the output in two streams is~tee~pwd~mount~#!/bin/sh~grep plasma *~A~1~1~ The UNIX command to break the output in two streams is tee
The UNIX command to use a plugin device (eg: flash drive) is mount
The UNIX command to find out what the current directory is pwd
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
'; questions[3]='The UNIX command to translate characters in a character stream is~tr~nice~touch~ftp~|~A~1~1~ The UNIX command to translate characters in a character stream is tr
The UNIX command to update the modification time of a file is touch
The UNIX command to transfer files between different hosts is ftp
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The character used for a pipe is |
'; questions[4]='The UNIX command to update the modification time of a file is~touch~w~rmdir~ln~grep plasma *~A~1~1~ The UNIX command to update the modification time of a file is touch
The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to tell you when system rebooted is who -b
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to count the words in a file is wc
The UNIX command to create a link that points to an existing file is ln
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to find out what the current directory is pwd
The UNIX command to delete a directory is rmdir
The UNIX command to see who is logged on and what they are up to is w
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
The character used for a wildcard is *
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[5]='The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is~cat x*.txt~mv~>~apropos~df~A~1~1~ The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to find out the disk free space is df
The UNIX command to rename a file is mv
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
'; questions[6]='The UNIX command to obtain a list of commands whose description contains given keywords is~apropos~man~grep -i~cd /usr/local/bin~at~A~1~1~ The UNIX command to schedule a job is at
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to find detailed information about a particular command is man
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to look for a pattern in files, if you are not sure of the case is grep -i
'; questions[7]='The UNIX command to always take the user student5 to his home directory is~cd~df~clear~cat file1.txt file2.txt > new.txt~head -15 *.txt~A~1~1~ The UNIX command to always take the user student5 to his home directory is cd
The UNIX command to move you up one directory is cd ..
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to change to your root directory is cd /
The UNIX command to find out the disk free space is df
The UNIX command to clear the screen is clear
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
'; questions[8]='The UNIX command to move you up one directory is~cd ..~grep plasma *~df -m~SSH~who -b~A~1~1~ The UNIX command to move you up one directory is cd ..
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to tell you when system rebooted is who -b
The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
'; questions[9]='The UNIX command to show disk usage in megabytes is~df -m~>~nice~ls~cd~A~1~1~ The UNIX command to always take the user student5 to his home directory is cd
The UNIX command to move you up one directory is cd ..
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to change to your root directory is cd /
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to list the current directory is ls
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[10]='The UNIX command to interactively delete files is~rm -i~at~cd /usr/local/bin~|~grep~A~1~1~ The UNIX command to schedule a job is at
The UNIX command to interactively delete files is rm -i
The UNIX command to find patterns in files is grep
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to look for a pattern in files, if you are not sure of the case is grep -i
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The character used for a pipe is |
'; questions[11]='The UNIX command to change to your root directory is~cd /~ls -lR | grep myusername | wc -l~-l~cat file1.txt file2.txt > new.txt~2>~A~1~1~ The UNIX command to change to your root directory is cd /
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The UNIX command to redirect the standard error to a file is 2>
The option used with the ls command to display file or directory access rights is -l
'; questions[12]='The UNIX command to display your command on the screen is~echo~sort -u foo~cat x*.txt~*~#!/bin/sh~A~1~1~ The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to display your command on the screen is echo
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to remove duplicate lines from the file foo using sort is sort -u foo
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
The character used for a wildcard is *
'; questions[13]='The UNIX command to change the password of the current user is~passwd~ln~cd ..~-l~apropos~A~1~1~ The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to move you up one directory is cd ..
The UNIX command to change the password of the current user is passwd
The UNIX command to create a link that points to an existing file is ln
The UNIX command to change your password is passwd
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The option used with the ls command to display file or directory access rights is -l
'; questions[14]='The UNIX command to display how long the computer has been running is~uptime~SSH~nice~*~tee~A~1~1~ The UNIX command to break the output in two streams is tee
The UNIX command to display how long the computer has been running is uptime
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The character used for a wildcard is *
'; questions[15]='The UNIX command to transfer files between different hosts is~ftp~at~pwd~SSH~-l~A~1~1~ The UNIX command to schedule a job is at
The UNIX command to transfer files between different hosts is ftp
The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to find out what the current directory is pwd
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The option used with the ls command to display file or directory access rights is -l
'; questions[16]='The UNIX command to tell you when system rebooted is~who -b~chmod +x filename~>~cat /etc/passwd~grep plasma *~A~1~1~ The UNIX command to tell you when system rebooted is who -b
The UNIX command to makes a shell script called filename executable is chmod +x filename
The UNIX command to list user accounts on the system is cat /etc/passwd
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
'; questions[17]='The UNIX command to run a process in the background with reduced priority is~nice~tee~#!/bin/sh~tar -tvzf myzip.tar.gz~rm -i~A~1~1~ The UNIX command to break the output in two streams is tee
The UNIX command to interactively delete files is rm -i
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to display the file names in the compressed archive myzip.tar.gz is tar -tvzf myzip.tar.gz
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
'; questions[18]='The UNIX command to remotely access UNIX boxes is~SSH~apropos~nice~cd /usr/local/bin~tr~A~1~1~ The UNIX command to translate characters in a character stream is tr
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to transfer files between different hosts is ftp
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
'; questions[19]='The UNIX command to find detailed information about a particular command is~man~echo~df -m~ifconfig~grep plasma *~A~1~1~ The UNIX command to show disk usage in megabytes is df -m
The UNIX command to display your command on the screen is echo
The UNIX command to find detailed information about a particular command is man
The UNIX command to find the ip address of your computer is ifconfig
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
'; questions[20]='The UNIX command to makes a shell script called filename executable is~chmod +x filename~-a~head -5 myfile~cd ..~ln~A~1~1~ The UNIX command to move you up one directory is cd ..
The UNIX command to makes a shell script called filename executable is chmod +x filename
The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to create a link that points to an existing file is ln
The option used with the ls command to display hidden files is -a
'; questions[21]='The UNIX command to find patterns in files is~grep~|~sort -u foo~ls -lR | grep myusername | wc -l~ls~A~1~1~ The UNIX command to find patterns in files is grep
The UNIX command to list the current directory is ls
The UNIX command to remove duplicate lines from the file foo using sort is sort -u foo
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to look for a pattern in files, if you are not sure of the case is grep -i
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The character used for a pipe is |
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[22]='The UNIX command to display the first 5 lines of the file myfile is~head -5 myfile~2>~grep plasma *~*~cd ..~A~1~1~ The UNIX command to move you up one directory is cd ..
The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to redirect the standard error to a file is 2>
The character used for a wildcard is *
'; questions[23]='The UNIX command to count the words in a file is~wc~>~cat /etc/passwd~df -m~2>~A~1~1~ The UNIX command to show disk usage in megabytes is df -m
The UNIX command to count the words in a file is wc
The UNIX command to list user accounts on the system is cat /etc/passwd
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The UNIX command to redirect the standard error to a file is 2>
The character used to redirect the output of a command is >
'; questions[24]='The UNIX command to display the file names in the compressed archive myzip.tar.gz is~tar -tvzf myzip.tar.gz~at~>~ifconfig~nice~A~1~1~ The UNIX command to schedule a job is at
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to display the file names in the compressed archive myzip.tar.gz is tar -tvzf myzip.tar.gz
The UNIX command to find the ip address of your computer is ifconfig
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
'; questions[25]='The UNIX command to list user accounts on the system is~cat /etc/passwd~ftp~cat x*.txt~who -b~cd /~A~1~1~ The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to change to your root directory is cd /
The UNIX command to transfer files between different hosts is ftp
The UNIX command to tell you when system rebooted is who -b
The UNIX command to list user accounts on the system is cat /etc/passwd
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
'; questions[26]='The UNIX command to stop a running process is~kill~df -m~df~>~grep plasma *~A~1~1~ The UNIX command to show disk usage in megabytes is df -m
The UNIX command to stop a running process is kill
The UNIX command to find out the disk free space is df
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
'; questions[27]='The UNIX command to find the ip address of your computer is~ifconfig~cd /usr/local/bin~cd ..~cat file1.txt file2.txt > new.txt~wc~A~1~1~ The UNIX command to move you up one directory is cd ..
The UNIX command to count the words in a file is wc
The UNIX command to find the ip address of your computer is ifconfig
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
'; questions[28]='The UNIX command to create a link that points to an existing file is~ln~df -m~tar -tvzf myzip.tar.gz~mv~tr~A~1~1~ The UNIX command to translate characters in a character stream is tr
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to transfer files between different hosts is ftp
The UNIX command to display the file names in the compressed archive myzip.tar.gz is tar -tvzf myzip.tar.gz
The UNIX command to create a link that points to an existing file is ln
The UNIX command to rename a file is mv
'; questions[29]='The UNIX command to make sure a file exists before interacting with it is~touch~cat /etc/passwd~cat file1.txt file2.txt > new.txt~-l~grep plasma *~A~1~1~ The UNIX command to update the modification time of a file is touch
The UNIX command to list user accounts on the system is cat /etc/passwd
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The option used with the ls command to display file or directory access rights is -l
'; questions[30]='The UNIX command to use a plugin device (eg: flash drive) is~mount~uptime~cd /~grep -i~head -5 myfile~A~1~1~ The UNIX command to change to your root directory is cd /
The UNIX command to display how long the computer has been running is uptime
The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to use a plugin device (eg: flash drive) is mount
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to look for a pattern in files, if you are not sure of the case is grep -i
'; questions[31]='The UNIX command to find out what the current directory is~pwd~grep~SSH~ls~mount~A~1~1~ The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to find patterns in files is grep
The UNIX command to use a plugin device (eg: flash drive) is mount
The UNIX command to find out what the current directory is pwd
The UNIX command to list the current directory is ls
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to look for a pattern in files, if you are not sure of the case is grep -i
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[32]='The UNIX command to list the current directory is~ls~tee~man~echo~rmdir~A~1~1~ The UNIX command to break the output in two streams is tee
The UNIX command to display your command on the screen is echo
The UNIX command to find detailed information about a particular command is man
The UNIX command to list the current directory is ls
The UNIX command to delete a directory is rmdir
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[33]='The UNIX command to delete a directory is~rmdir~who -b~ifconfig~cd~-a~A~1~1~ The UNIX command to always take the user student5 to his home directory is cd
The UNIX command to move you up one directory is cd ..
The UNIX command to change to your root directory is cd /
The UNIX command to tell you when system rebooted is who -b
The UNIX command to find the ip address of your computer is ifconfig
The UNIX command to delete a directory is rmdir
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The option used with the ls command to display hidden files is -a
'; questions[34]='The UNIX command to change your password is~passwd~chmod +x filename~kill~who -b~tr~A~1~1~ The UNIX command to translate characters in a character stream is tr
The UNIX command to change the password of the current user is passwd
The UNIX command to transfer files between different hosts is ftp
The UNIX command to tell you when system rebooted is who -b
The UNIX command to makes a shell script called filename executable is chmod +x filename
The UNIX command to stop a running process is kill
The UNIX command to change your password is passwd
'; questions[35]='The UNIX command to see who is logged on and what they are up to is~w~head -5 myfile~tar -tvzf myzip.tar.gz~clear~who -b~A~1~1~ The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to tell you when system rebooted is who -b
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to count the words in a file is wc
The UNIX command to display the file names in the compressed archive myzip.tar.gz is tar -tvzf myzip.tar.gz
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to find out what the current directory is pwd
The UNIX command to see who is logged on and what they are up to is w
The UNIX command to clear the screen is clear
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
The character used for a wildcard is *
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[36]='The UNIX command to find out the disk free space is~df~-a~*~rm -i~ftp~A~1~1~ The UNIX command to show disk usage in megabytes is df -m
The UNIX command to interactively delete files is rm -i
The UNIX command to transfer files between different hosts is ftp
The UNIX command to find out the disk free space is df
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The character used for a wildcard is *
The option used with the ls command to display hidden files is -a
'; questions[37]='The UNIX command to clear the screen is~clear~pwd~>~head -5 myfile~rmdir~A~1~1~ The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to find out what the current directory is pwd
The UNIX command to delete a directory is rmdir
The UNIX command to clear the screen is clear
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
'; questions[38]='The UNIX command to print the first 15 lines of all files ending with .txt is~head -15 *.txt~uptime~df~touch~w~A~1~1~ The UNIX command to update the modification time of a file is touch
The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to display how long the computer has been running is uptime
The UNIX command to tell you when system rebooted is who -b
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to count the words in a file is wc
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to find out what the current directory is pwd
The UNIX command to see who is logged on and what they are up to is w
The UNIX command to find out the disk free space is df
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
The character used for a wildcard is *
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[39]='The UNIX command to rename a file is~mv~grep plasma *~pwd~uptime~<~A~1~1~ The UNIX command to display how long the computer has been running is uptime
The UNIX command to find out what the current directory is pwd
The UNIX command to rename a file is mv
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The character used to redirect the input of a command is <
'; questions[40]='The UNIX command to remove duplicate lines from the file foo using sort is~sort -u foo~cd ..~touch~cd /~ls -lR | grep myusername | wc -l~A~1~1~ The UNIX command to update the modification time of a file is touch
The UNIX command to move you up one directory is cd ..
The UNIX command to change to your root directory is cd /
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to remove duplicate lines from the file foo using sort is sort -u foo
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
'; questions[41]='The UNIX command to search all files in your current directory for the word plasma is~grep plasma *~cat file1.txt file2.txt > new.txt~head -5 myfile~pwd~cd /~A~1~1~ The UNIX command to change to your root directory is cd /
The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to find out what the current directory is pwd
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
'; questions[42]='The UNIX command to change the current directory to /usr/local/bin is~cd /usr/local/bin~#!/bin/sh~df~clear~head -15 *.txt~A~1~1~ The UNIX command to show disk usage in megabytes is df -m
The UNIX command to find out the disk free space is df
The UNIX command to clear the screen is clear
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
'; questions[43]='The UNIX command to look for a pattern in files, if you are not sure of the case is~grep -i~w~tar -tvzf myzip.tar.gz~tee~ftp~A~1~1~ The UNIX command to break the output in two streams is tee
The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to transfer files between different hosts is ftp
The UNIX command to tell you when system rebooted is who -b
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to count the words in a file is wc
The UNIX command to display the file names in the compressed archive myzip.tar.gz is tar -tvzf myzip.tar.gz
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to find out what the current directory is pwd
The UNIX command to see who is logged on and what they are up to is w
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to look for a pattern in files, if you are not sure of the case is grep -i
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
The character used for a wildcard is *
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[44]='The UNIX command to count the files you own in all your directories is~ls -lR | grep myusername | wc -l~nice~2>~|~<~A~1~1~ The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to redirect the standard error to a file is 2>
The character used to redirect the input of a command is <
The character used for a pipe is |
'; questions[45]='The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is~cat file1.txt file2.txt > new.txt~rmdir~ls -lR | grep myusername | wc -l~rm -i~tr~A~1~1~ The UNIX command to translate characters in a character stream is tr
The UNIX command to interactively delete files is rm -i
The UNIX command to transfer files between different hosts is ftp
The UNIX command to delete a directory is rmdir
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
'; questions[46]='The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is~#!/bin/sh~nice~SSH~head -5 myfile~pwd~A~1~1~ The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to display the first 5 lines of the file myfile is head -5 myfile
The UNIX command to find out what the current directory is pwd
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
'; questions[47]='The UNIX command to redirect the standard error to a file is~2>~echo~rm -i~cd~cd /usr/local/bin~A~1~1~ The UNIX command to always take the user student5 to his home directory is cd
The UNIX command to move you up one directory is cd ..
The UNIX command to interactively delete files is rm -i
The UNIX command to change to your root directory is cd /
The UNIX command to display your command on the screen is echo
The UNIX command to change the current directory to /usr/local/bin is cd /usr/local/bin
The UNIX command to redirect the standard error to a file is 2>
'; questions[48]='The character used to redirect the output of a command is~>~ls~cat /etc/passwd~mount~cat x*.txt~A~1~1~ The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to list user accounts on the system is cat /etc/passwd
The UNIX command to use a plugin device (eg: flash drive) is mount
The UNIX command to list the current directory is ls
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[49]='The character used to redirect the input of a command is~<~who -b~>~SSH~-l~A~1~1~ The UNIX command to tell you when system rebooted is who -b
The UNIX command to remotely access UNIX boxes is SSH
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to create a new file new.txt that is a concatenation of file1.txt and file2.txt is cat file1.txt file2.txt > new.txt
The character used to redirect the output of a command is >
The character used to redirect the input of a command is <
The option used with the ls command to display file or directory access rights is -l
'; questions[50]='The character used for a pipe is~|~pwd~ls~kill~nice~A~1~1~ The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to stop a running process is kill
The UNIX command to find out what the current directory is pwd
The UNIX command to list the current directory is ls
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The character used for a pipe is |
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[51]='The character used for a wildcard is~*~cd ..~head -15 *.txt~df -m~-a~A~1~1~ The UNIX command to move you up one directory is cd ..
The UNIX command to show disk usage in megabytes is df -m
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The character used for a wildcard is *
The option used with the ls command to display hidden files is -a
'; questions[52]='The option used with the ls command to display file or directory access rights is~-l~ln~ftp~w~who -b~A~1~1~ The UNIX command to print the contents of all files in the current directory whose names start with an x and ends with .txt is cat x*.txt
The UNIX command to obtain a list of commands whose description contains given keywords is apropos
The UNIX command to transfer files between different hosts is ftp
The UNIX command to tell you when system rebooted is who -b
The UNIX command to run a process in the background with reduced priority is nice
The UNIX command to count the words in a file is wc
The UNIX command to create a link that points to an existing file is ln
The UNIX command to make sure a file exists before interacting with it is touch
The UNIX command to find out what the current directory is pwd
The UNIX command to see who is logged on and what they are up to is w
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The UNIX command to put into the first line of your script to make sure a script will use the Bourne shell is #!/bin/sh
The character used for a wildcard is *
The option used with the ls command to display file or directory access rights is -l
The option used with the ls command to display hidden files is -a
'; questions[53]='The option used with the ls command to display hidden files is~-a~rm -i~ls -lR | grep myusername | wc -l~*~clear~A~1~1~ The UNIX command to interactively delete files is rm -i
The UNIX command to clear the screen is clear
The UNIX command to print the first 15 lines of all files ending with .txt is head -15 *.txt
The UNIX command to search all files in your current directory for the word plasma is grep plasma *
The UNIX command to count the files you own in all your directories is ls -lR | grep myusername | wc -l
The character used for a wildcard is *
The option used with the ls command to display hidden files is -a
';