1. What commands can you use to determine who is logged in on a specific terminal? who, whoami, who am i, finger and w
3. What happens if you give the following commands when the file ‘done’ already exists?
$cp to_do done
‘done’ is overwritten with contents of ‘to_do’
$ mv to_do done
‘done’ is overwritten with contents of ‘to_do’
‘to_do’ no longer exists after the command
4. How can you find out which utilities are available on your system for editing files? Which utilities are available for editing on your system?
You can use the which. whereis, and locate utilities to search for files. The VIM
8. What is the result of giving the ‘which’ utility the name of a command that resides in a directory that is not in your search path? command not found
10. Experiment by calling the ‘file’ utility with names of files in /usr/bin. How many different types of files can you find there? file /usr/bin/* | awk –F: ‘{print $2}’ | sort –u
9 different file types
Chapter 5:
1. What commands can you use to determine who is logged in on a specific terminal? who, whoami, who am i, finger and w
3. What happens if you give the following commands when the file ‘done’ already exists?
$cp to_do done
‘done’ is overwritten with contents of ‘to_do’
$ mv to_do done
‘done’ is overwritten with contents of ‘to_do’
‘to_do’ no longer exists after the command
4. How can you find out which utilities are available on your system for editing files? Which utilities are available for editing on your system?
You can use the which. whereis, and locate utilities to search for files. The VIM
8. What is the result of giving the ‘which’ utility the name of a command that resides in a directory that is not in your search path? command not found
10. Experiment by calling the ‘file’ utility with names of files in /usr/bin. How many different types of files can you find there? file /usr/bin/* | awk –F: ‘{print $2}’ | sort –u
9 different file types
You May Also Find These Documents Helpful
-
The directory and file structure is not indexed, so searching within a directory with a large amount of files can be time consuming.…
- 297 Words
- 2 Pages
Satisfactory Essays -
These are the system binary files that the system needs to run for all users…
- 627 Words
- 3 Pages
Satisfactory Essays -
If the following program (myprog) is run from the command line as myprog 1 2 3, What would be the output?…
- 3614 Words
- 15 Pages
Better Essays -
The which utility displays a message saying that the command you are looking for is not…
- 377 Words
- 2 Pages
Satisfactory Essays -
What clues do the tools used by the OSS tell you about the type of actions they conducted?…
- 456 Words
- 2 Pages
Good Essays -
saves labour, the document is now much easier to find – you only need to type the file name into the…
- 512 Words
- 3 Pages
Good Essays -
In this project we implement a simple shell called, cissh. I have implemented the some…
- 1734 Words
- 7 Pages
Satisfactory Essays -
c) One of the way to narrow down the results in search engine is to use specific nouns and also put the most important terms first in the search text. Besides that, we can also use other search engine which has subject directories such as Gigablast, MSN, Excite and Open Directory Project. This is because, contains of information in search engine that is with subject directory classifies Web pages in an organized categories.…
- 459 Words
- 2 Pages
Good Essays -
+Tools rests on a powerful file explorer (up to 1,000 files can be selected in up to 1,000 recursed sub-directories). This facility lets you perform search/replace, statistics, macro execution, conversions, file tagging etc. on hundreds of files in one single action.…
- 5642 Words
- 23 Pages
Powerful Essays -
search appears next to searches, including related searches if you have the prediction service turned on.…
- 319 Words
- 2 Pages
Satisfactory Essays -
o Find: Determine which subset a particular element is in. Find typically returns an item from this…
- 1224 Words
- 7 Pages
Good Essays -
– vi, a very powerful full screen editor – pico, an utility with Linux – http://www.reallylinux.com/docs/editors/editor.shtml…
- 1283 Words
- 6 Pages
Powerful Essays -
Which Windows XP command-line scans the critical files of the operating system and replaces any files that have been corrupted?…
- 421 Words
- 2 Pages
Good Essays -
The Finder is the Mac equivalent of Windows Explorer and Search, all rolled into one. The Finder is pretty self-explanatory. A directory tree appears in the left column of the Finder window, and the contents of the selected directory display in the right window pane. You can double-click folders to view contents. Pressing the Back button to backs out of a folder or directory.…
- 750 Words
- 3 Pages
Good Essays -
no categories to browse - just an alphabetized listing to scan through. Most of the files are in *.doc format. In the…
- 1399 Words
- 6 Pages
Powerful Essays