Similarities in terms of Printer and file related command lines:
Windows
A terminal or command prompt is a black box ideally used to execute commands. It is also called the Windows Command Processor. It is used to execute commands and different batch files. It can also be used for administrative functions and troubleshoot and solve all windows issues.
MacOS
MAC provides a console as a terminal application. It has a console, command line, prompt and terminal. Command line is used to type your commands. Prompt will provide you with some information and also enable you to run commands. A terminal is an actual interface which will provide the modern graphical user interface as well.
You can find terminal at Applications -> Utilities.
Linux
Linux also provides a terminal. You can find terminal at: Applications -> System or Applications -> Utilities. In addition to this, there is also a shell prompt. The most common shell used in bash. It defines how the terminal will behave and look when it is run.
| Command's Purpose | MS-DOS | Linux | Basic Linux Example |
| Copies files | copy | cp | cp thisfile.txt /home/thisdirectory |
| Moves files | move | mv | mv thisfile.txt /home/thisdirectory |
| Lists files | dir | ls | ls |
| Clears screen | cls | clear | clear |
| Closes shell prompt | exit | exit | exit |
| Displays or sets date | date | date | date |
| Deletes files | del | rm | rm thisfile.txt |
| "Echoes" output to the screen | echo | echo | echo this message |
| Edits text files | edit | gedit([a]) | gedit thisfile.txt |
| Compares the contents of files | fc | diff | diff file1 file2 |
| Finds a string of text in a file | find | grep | grep word or phrase thisfile.txt |
| Formats a diskette | format a: (if diskette is in A:) | mke2fs | /sbin/mke2fs /dev/fd0 (/dev/fd0 is the Linux equivalent of A:) |
| Displays command help | command /? | man or info | man command |
| Creates a directory | mkdir | mkdir | mkdir directory |
| Views contents of a file | more | less([b]) | less thisfile.txt |
| Renames a file | ren | mv([c]) | mv thisfile.txt thatfile.txt |
| Displays your location in the file system | chdir | pwd | pwd |
| Changes directories with a specified path (absolute path) | cd pathname | cd pathname | cd /directory/directory |
| Changes directories with a relative path | cd.. | cd .. | cd .. |
| Displays the time | time | date | date |
| Shows amount of RAM in use | mem | free | free |
| UNIX WINDOWS |
| cat type, copy |
| cd cd (plus if changing drives, type the drive letter first) |
| e.g. C:>D: |
| D:>cd D:\test |
| cp copy, xcopy |
| cron at, Task Scheduler |
| ftp ftp |
| grep find, findstr |
| ls dir |
| man help |
| mkdir mkdir |
| more more |
| mv rename - to rename, move - actually move a file |
| netstat netstat |
| nslookup nslookup |
| ping ping |
| ps Task Manager, tasklist |
| pwd cd |
| rm del |
| rmdir rmdir |
| telnet telnet |
| traceroute tracert |
| who net session |
Hope this may help.
describe some similarities of working with printer and file related command lines in Windows, MacOS, and...
What are other forensic pieces of data that can be found in Windows, Linux and MacOS? What other free/open source utilities can you find to help retrieve data/information from the discussed operating systems? Are there any other utilities that you can find that can help with mobile device security? Spend some time researching mobile device security and test the utilities you find. Provide a brief write up about each one. In the write up make sure to include your thoughts/opinions...
You are working with the file directory of a Windows XP computer from the command line, and you use the md command to create a new directory in your My Documents directory. What command switch can you issue to confirm that the new directory was created? A. Just use the dir command to view all of the directories and files in the My Documents and look for the name of directory you just created B. dir /new C. dir /bn...
Different file systems have different security capability. Describe the most secure Windows file system -
UNIX?LINUX course. You are working on a documentation file userNotes.txt with some members of your software development team. Just before the file needs to be submitted, you manager tells you that a company standard requires that one blank space be left between the end-of-sentence period (.) and the start of the next sentence. (This rule does not affect sentences at the very end of a line.) For example, this is OK: Turn the knob. Push the “on” button. This is...
THE C-SHELL: Find three reasons online for why some computer users prefer to use the Linux operating system instead of Windows. List the reasons you find and for each one write if you think this is a good reason, and why or why not. Afterwards, explain why you personally would or would not consider switching your personal computer platform to Linux from your current one. (If you already use Linux, explain why you made this choice.) Investigate some of the...
Part 1 – Investigate simple cloud file storage. Discussion: Cloud services come in many shapes and sizes. For large corporates, outsourcing many services to cloud providers can be an effective but sometimes costly option. Fed University for example currently uses cloud providers for our corporate web site and also for Workstation management (controlling and updating staff and lab machine software). The university also has plans to use cloud providers for other IT systems. At the other end of the spectrum...
The following files starts with some comments that describe
the problem comments are lines that begin with two slashes(//).
following the comments the file contains pseudocode that has one or
more bugs you must find and correct
Class Class 12. Debug (5 points) The following file starts with some comments that describe the prolblemcnpseudocode lines that begin with two slashes Un). Following the comments, the file that has one or more bugs you must find and correct. This Eile defines...
Question 2 0/1 point (graded) What happens when you remove a directory using the command rm -r? You cannot remove a directory using the rm command. You permanently remove the entire directory, including all files and subdirectories. You move the entire directory to a trash folder, but it can be restored later. You get a warning message asking if you want to proceed, then you delete the directory. incorrect Answer Incorrect: Try again. Unix does not warn you before permanently...
Regional Gardens Ltd is a company that runs a number of related gardening enterprises. It has a large display garden that it opens for public inspection a number of times a year. These enterprises include the Regional Gardens Nursery which sells plants and garden supplies to the public, and Regional Garden Planners which provides garden advice, design and consultancy services. Regional Gardens Ltd has a small data center at its main site in Bathurst where the company’s servers and data...