Question:
unix questions help please! (a lot of questions) final soon, anything helps! thx!?
GOW insane
2011-12-06 19:38:17 UTC
True or false:
1.You need to write permission bit set on an ordinary file in order to remove it
2.without any flags [options] set, the tail command lists the last 10 lines of a file
3.whitespace characters used to separate commands, flags, and arguments can only be spaces [ spacebar ]
4.The du command displays how many times a disk has been used
5.the PS1 variable tells the shell where to look for executable programs
6.the file command uses filenames arguments and gives a one line summary describing the type of each file
7.bash its own built-in programming language
8.a shell script is executed by typing its pathname, with the r and x bits set on a file
9.to use the write or talk command you need to know the other person's login name
10.every UNIX script must begin with #!/bin/bash
11.the command: echo ‹ will display the ‹ on the screen.
12. In bash, typing:built-in cd $home both accomplishes the same result
13. When used as an argument to grep, the regular expression 'p.n' would find the word pigeon
14. If a user has five programs running in the background, there is a separate pid for each one
15. For ordinary, non-super users, the kill command is a quick way to force another user to log out.
16. The find command allows for applying several UNIX commands to many files, one file at a time
17. Removing a link created using ln –s has the ability to delete the disk file that it points to.
18.head one | wc accomplishes the same thing as: head one>two; rm -f two
19. To see a list of the values of bash shell options, type: set -o
20. When using bash, the file .bashrc is executed by each process spawned during your login session
21. The following would run without error: cd/tmp; cd..;pwd
22. It is possible to create a new file using both cat and touch
23.rm -r has the ability to remove directories as well as rmdir
24. echo "today is 'date' i think" would show the current date as part of that output of string
25.for file try, both: less '[try]' and less try would display its contents
26. The UNIX pipe faculty demonstrates interprocess communication
27. The primary purpose of the tar command is for file encryption
28.$2 used inside a bash script stands for the second argument passed in from the command line to the script
29. A UNIX commands are often executed by child processes of the loggin shell.
30. As which and whereis demonstrate, all executable files are kept in one place in UNIX
31. Source file22 makes definitions from file22 active in the login process
32. Typing jobs is a good way for listing out all currently running daemons
33./usr/bin/include is an example of a relative pathname
34. Sort +2 employees would sort the file employees of the second column
35. Assuming they don't exist, touch 'echo{1,{2,3,}b}c' will create four new files and one of them named abc

multiple choice:
36.the listing: lr--rwx-w- 1 jones staff 10 jan 12 14:23 joe -> frank shows that
a.frank is a hardlink
b.joe is a symbolic link
c.frank is a symbolic link
d.joe is a hard link
e.joe is a hardlink and frank is a symbolic link
37. The file protection shown in problem 36 reveals an unusual situation because
a. Anyone can remove this file
b. The owner can't change contents this file
c. Anyone can execute this file
d. The file can't be read
e. It is a directory file
38.chmod a-r will change the file protection shown in problem 36
a.-------
b.---rwx---
c.r--rwxrw-
d.---wx-w-
e.-wx-wx-wx
39.the command: chmod 777 myfile
a.grants rwx access on myfile to use 777
b.grants rwx access on my file to all users
c.grants rwx access to the owner of myfile
d.denies rwx access on my file to all users
e.deniesany access to myfile to user 777
40.the best command to us to change "dec 24" to "dec 25" in 200 separate files is
a.sed
b.grep
c.wc
d.vi
e.find
41. Which of the following is not contained in the line entry for you in /etc/passwd
a. Your group ID
b. Your home directory
c. Your process Id
d. Your login shell
e. Your login name
42.the command: find. -name first.c -exec rm -f {} \;
a.deletes all files in the current directory and all subdirectories
b. Fines and executable file first.c
c.delets all files named first.c in the current directory and all subdirectories
d. Finds and displays all file named first.c
e. Removes the directory containing the file first.c
43. Which of the following would find all occurrences of the word tree or Tree in lie me:
a.grep '[tT]ree' me
b.grep 'T*ree' me
c.grep -i tree me
d.a and b
e.a and b
44. In one file contains five lines of random digits zero through nine, the output of: sort one| tee two| grep three would be
a. An error
b. One line
c. One or more lines
d. Nothing
e. Three lines
45. If a user wants any new directories they create to have a protection of rwxr-x---, their umask
Three answers:
potatocouch
2011-12-06 22:43:17 UTC
13 F

27 F

28 T
?
2016-10-01 05:34:55 UTC
first of all you caught her two times. IMHO, the penis length grew to become into no longer the reason she cheated the 1st time because she in all probability did no longer comprehend what he had formerly she had the affair. till, he confirmed it to her formerly hand. additionally IMHO, thoughts, charm and in simple terms perhaps penis length grew to become into the reason she cheated the 2nd time. in spite of if it relatively is authentic that it is the 1st time she cheated in 10 years,its a hazard YOU grew to become into no longer giving her the affection or interest she mandatory. After some unlucky adventure I concluded in case you prepare a women folk a hundred% of the failings she needs, there is not any room for her to grow to be susceptible. yet as quickly as your % drops to shall we are saying 40% there's a 60% risk of another guy to get previous her susceptible look after. So perhaps your % grew to become into very low and it enabled this guy to win her over. women folk do no longer say hiya im no longer getting any interest yet as a replace they settle for it else the place. I even have confidence comunication first, have confidence 2nd. Im no longer bashing women folk or asserting im an expert. it is in simple terms my opinion. Or, she's residing a lie and does not decide directly to go away you. wish this facilitates, Mike.
sdgdshfd
2011-12-06 20:09:57 UTC
I will devote all my time to this and get back to you next week.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...