09-28-2010
Help completing lab.
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Quote:
1. Start a command-line session with matrix.
2. Working from your
home directory create a directory named lab2b (use all lowercase letters)
3. Copy the Acceptable-Use-Policy file that resides in your home directory to your lab2b directory
4. Make lab2b your present working directory
5. Without changing working directories, list the contents of your home directory. Be sure that hidden files are also listed
6. Change directories to your home directory using the fewest possible keystrokes.
7. While in your home directory, create another directory called Labs (note that the "L" in "Labs" is uppercase).
8. Move your lab2b directory (including its contents) into Labs.
9. Use the tree command to verify the layout of your Labs directory. Your Lab directory structure should now look like this:
~
|
--------
|
Labs
|
-------
|
lab2b
|
-----
|
Acceptable-Use-Policy
Draw the above directory tree on a separate sheet of paper and keep updating it as you complete the following commands
Note: If the tree command output looks different, check your work for previous steps and redo them as needed.
10. Make lab2b your working directory
11. Working from lab2b, use the cat command to view the contents of the file called Acceptable-Use-Policy
12. Repeat the previous question using the more command. What did you notice that was different? Write down your observations.
13. Copy the /etc/group file to your present working directory (lab2b)
Note: under certain circumstances you may not be able to access the above file. In such case, use /home/uli101/group instead, noting the difference on your paper.
heres the lab i did everything but when i issue the automated lab check.
but it gives me this everytime
''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab.
once you have corrected this problem, re-run the uli101.023 program''
im dumbfounded cause i think im doing it correctly/
2. Relevant commands, code, scripts, algorithms:
3. The attempts at a solution (include all code and scripts):
4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
seneca toronto canada , tanvir alam uli101
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).
---------- Post updated at 06:33 PM ---------- Previous update was at 06:07 PM ----------
anyone ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hai all..
How do i terminate my telnet session automatically when my java applicatiion exits. i have a file run which executes my java application and takes care of all class and library path settings prior to the execution. I would like to terminate my session when my application exits. The... (4 Replies)
Discussion started by: deepsteptom
4 Replies
2. UNIX for Dummies Questions & Answers
Hello.
i am new to unix, though have quite a substantial background of other systems.
i recently installed ffmpeg and mencoder on a unix server, which holds a website, in order to use these programs from the website.
after installation, i can activate both commands directly using putty,
no... (1 Reply)
Discussion started by: noamon
1 Replies
3. Shell Programming and Scripting
heres the lab i did everything but when i issue the automated lab check.
but it gives me this everytime
''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab.
once you have corrected this problem, re-run the uli101.023 program''
im... (1 Reply)
Discussion started by: ink
1 Replies
4. Shell Programming and Scripting
Write a script that copies the file tree (including subdirectories) in your home directory. As the initial directory to take the directory / usr / share / doc, as the destination directory using the directory $ {HOME} / doc.
Write a script corresponding to paragraph 1. Additional conditions: a)... (1 Reply)
Discussion started by: elginmulizwa
1 Replies
5. Shell Programming and Scripting
Hi,
Iam using below code to login to servers to get cpu utilisation. but output is coming for only one server. code is below
root@blr-svr-oclan-01 # more SSSC_CPU_UTIL1.sh
#!/bin/sh
echo "CPU UTILIZATION"
while read line; do
IDLE=`/usr/local/bin/sshpass -p 'xxx' ssh xxx@$line 'sar 2 2' |... (1 Reply)
Discussion started by: surender reddy
1 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here are my directions. I am pretty sure I am doing this right, but I just want someone more experienced to look... (4 Replies)
Discussion started by: Jagst3r21
4 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Filter a file for lines that have exactly 5 numbers in a row.
2. Relevant commands, code, scripts,... (13 Replies)
Discussion started by: herb bertz
13 Replies
8. Shell Programming and Scripting
Hello All,
I am automating a task using bash script and got stuck at this. From the below input,
Meta Device Members (20) :
{
----------------------------------------------------------------------
BCV DATA RDF DATA ... (7 Replies)
Discussion started by: Sam R
7 Replies
9. Shell Programming and Scripting
The lines in bold check the value of a user input, if it is not one of the expected genes (GJB2, MECP2, PHOX2B), the user is shown a list of formats to use and the variant is entered. It is then supposed to printf that entered variant? Thank you :).
name() {
printf "\n\n"
printf... (2 Replies)
Discussion started by: cmccabe
2 Replies
10. Shell Programming and Scripting
In the below bash the function execute is started with the while true at the end of the script. Currently, this works and processing does begin. The function panel in bold does not get called after execute completes, therefore the user does not get the menu selection and the files just loop... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT DEBIAN
flamerobin
FLAMEROBIN(1) Firebird Administration Tool FLAMEROBIN(1)
NAME
flamerobin -- management and data manipulation tool for the Firebird DBMS
SYNOPSIS
flamerobin [-h directory | --home=directory] [-uh directory | --user-home=directory]
DESCRIPTION
flamerobin is a graphical frontend to the Firebird DBMS. It is small and simple, yet offers all the basic features needed to create and
manipulate databases, execute queries and perform administrative tasks.
This manual page only documents the run-time options and environment of flamerobin. Information about using the GUI may be obtained by
selecting the Help -> Manual menu item once the application is running.
flamerobin uses two directory hierarchies for its normal operation. The data directory contains the templates for property pages, the
default configuration and the on-line documentation grouped into three sub-directories as follows:
conf-defs default configuration
docs on-line documentation
html-templates templates for property pages
The user home directory contains the per-user configuration, comprising three entries:
fr_databases.conf this file stores the user's registered databases.
fr_settings.conf this file stores the user's preferences related to the flamerobin GUI.
history this directory holds the SQL statement history, one item per file.
flamerobin accepts several options, which are described as follows:
-h directory
--home=directory
Use directory as the data directory (but see ENVIRONMENT below).
-uh directory
--user-home=directory
Use directory as the user home directory (but see ENVIRONMENT and CAVEATS below).
ENVIRONMENT
FR_HOME
Specifies an alternate location for the flamerobin data directory.
If both -h (or --home) and this environment variable are set, the command line argument takes precedence.
FR_USER_HOME
Specifies an alternate location for the flamerobin user home directory.
If both -uh (or --user-home) and this environment variable are set, the command line argument takes precedence.
FILES
/usr/share/flamerobin
The default flamerobin data directory.
~/.flamerobin
The default flamerobin user home directory.
AUTHORS
flamerobin was written by The FlameRobin Development Team <http://www.flamerobin.org/>.
CAVEATS
flamerobin only writes files under the user home directory. If flamerobin is configured so that this directory and the files contained
therein are shared among several users or concurrent instances of flamerobin, no precaution is taken to avoid overwriting settings created by
other users or other application instances.
NOTES
The specification of the data directory and the user home directory (regardless of whether they occur in the environment or on the command
line) may be the literal string ``$app'' which translates to a common data folder determined at compilation time, or ``$user'' which trans-
lates to the user local data directory. These options currently have effect only on Windows platform.
FlameRobin 0.7 April 12, 2006 FlameRobin 0.7