06-02-2011
Need answer for these LINUX questions URGENT!!
I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions.
Appreciate your time thank you,
1. Make sure there is no filename1.txt in current directory first. Now, enter vi with "vi filename1.txt" command. vi indicates that it is a new file. After you have completed entering text, you issue the VI command
:wq filename2.txt
to save and exit. Which file is created by VI editor? Explain.
2. Make sure there are no files called file1.txt and file2.txt in the current directory. Then, issue the following commands:
ln –s file1.txt file2.txt
ln –s file2.txt file1.txt
cat file1.txt
What is the error message you got? Explain why.
3. If you look at the permissions associated with a symbolic link, it has universal access. Does this lead to security issues? Why?
4. Review the man pages of ln, cp and mv commands. The synopsis section of the man pages contain the usage and the optional arguments are indicated within […]. From these 3 man pages, find out which command can work with just 1 argument. Give a sample usage and explain what it does.
5. Let us assume that Linux does not have .. entries in Linux directory structure. How will you cd to the parent directory of current directory? Note: Since current directory can be anything, you should give a generic answer (you should explain the process).
Moderator's Comments:
|
|
Homework. Closed.
|
|
Last edited by Scott; 06-02-2011 at 09:46 AM..
Reason: Closed thread
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a few questions to be answered.Please help me out in this.Its urgent.
1) what does ' $* ' mean, what does it do ?
2) Command to change UNIX Password.
3) What is Daemon processes ?
4) How do u execute a Unix command or process in the background ?
5) What is nohup ?
6) Difference... (6 Replies)
Discussion started by: uni_ajay_r
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Please explain what does '$*' mean.
what does the command cd /~abc do, especially what does '~' mean?
cheers. (1 Reply)
Discussion started by: uni_ajay_r
1 Replies
3. Shell Programming and Scripting
First off, I am using Mac OS X, with Apple Remote Desktop.
I have to install several app's on teachers' laptops which are on several cd's that I have made disk images of. (DMG's)
To do rollouts quicker, I have written a script to mount the disk images and running the installers inside each of... (4 Replies)
Discussion started by: The Reepr
4 Replies
4. UNIX for Dummies Questions & Answers
1, why Boot server should be in a network in jumpstart?
2, what is the different between patch and package?
3, how to list the avilable NIC in solaris9?
4, User complaing system is slow (solaris) what are the steps to check?
5, what is hardware error and software error and Transport Error? in... (5 Replies)
Discussion started by: suresh_krish
5 Replies
5. UNIX for Dummies Questions & Answers
6.nohup cmn is used to
Prot execn of pgm frm aborting when hangup s/g is rxd
Not hangup modem
Disconn a node frm s/m
Chng execn prev of pgm
.wat is the o/p? Cut -d”” -f3 file1/sort -r
Display 3rd col of file 1 in asc order
Disp 3rd col of file 1 in desc
Not ... (1 Reply)
Discussion started by: techguru
1 Replies
6. Shell Programming and Scripting
I need to write a script to telnet or ssh a device the execute some commands in device then copy the output in a file, I wrote the script but I faced one issue, when you execute some commands the device asked me a Question, for example :
device # copy run tftp
device # Source filename ?
... (3 Replies)
Discussion started by: DarkSoul
3 Replies
7. Solaris
As i'm going to attend my first interview day after tomorrow,
What should i need to answer if the interviewer asked me about
1. Tell me about your production environment.
2. What about your team size?
3. Tell me about the most critical situation/issue you have ever faced.
Can any... (10 Replies)
Discussion started by: Sesha
10 Replies
8. UNIX for Dummies Questions & Answers
I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions.
Appreciate your time thank you, :)
If you look at the permissions associated with a symbolic link, it has universal access. Does this lead to security... (0 Replies)
Discussion started by: linux17
0 Replies
9. Solaris
Hello :) !
i've few doubts.
1) how can we find the newly attached disk in SOLARIS ?
2) how to change port number of a service ?
3) how can we find that autofs is running in our system without using
svcs and prstat commands ?
4) we know that there are several types of dns servers in... (0 Replies)
Discussion started by: vamshigvk475
0 Replies
LEARN ABOUT DEBIAN
actdiag
ACTDIAG(1) General Commands Manual ACTDIAG(1)
NAME
actdiag - generate activity-diagram image file from spec-text file.
SYNOPSIS
actdiag [options] files
DESCRIPTION
This manual page documents briefly the actdiag commands.
actdiag is a program that generate activity-diagram image file from spec-text file.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below. For a complete description, see the Info files.
-h, --help
show this help message and exit
-a, --antialias
Pass diagram image to anti-alias filter
-c FILE, --config=FILE
read configurations from FILE
-o FILE
write diagram to FILE
-f FONT, --font=FONT
use FONT to draw diagram
-s, ----separate
Separate diagram images for each group (SVG only)
-T TYPE
Output diagram as TYPE format
SEE ALSO
The programs are documented fully by
http://tk0miya.bitbucket.org/actdiag/build/html/index.html
AUTHOR
actdiag was written by Takeshi Komiya <i.tkomiya@gmail.com>
This manual page was written by Kouhei Maeda <mkouhei@palmtb.net>, for the Debian project (and may be used by others).
June 5, 2011 ACTDIAG(1)