Preview

Unix Commands

Satisfactory Essays
Open Document
Open Document
460 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Unix Commands
Some Basic UNIX Commands NB*”Rm”
The UNIX operating system has for many years formed the backbone of the Internet, especially for large servers and most major university campuses. However, a free version of UNIX called Linux has been making significant gains against Macintosh and the Microsoft Windows 95/98/NT environments, so often associated with personal computers. Developed by a number of volunteers on the Internet such as the Linux group and the GNU project, much of the open-source software is copyrighted, but available for free. This is especially valuable for those in educational environments where budgets are often limited.
UNIX commands can often be grouped together to make even more powerful commands with capabilities known as I/O redirection ( for outputing to a file ) and piping using | to feed the output of one command as input to the next. Please investigate manuals in the lab for more examples than the few offered here.
The following charts offer a summary of some simple UNIX commands. These are certainly not all of the commands available in this robust operating system, but these will help you get started.
Ten ESSENTIAL UNIX Commands
These are ten commands that you really need to know in order to get started with UNIX. They are probably similar to commands you already know for another operating system.

Command
Example
Description
1. ls ls ls -alF
Lists files in current directory
List in long format
2. cd cd tempdir cd .. cd ~dhyatt/web-docs
Change directory to tempdir
Move back one directory
Move into dhyatt's web-docs directory
3. mkdir mkdir graphics
Make a directory called graphics
4. rmdir rmdir emptydir
Remove directory (must be empty)
5. cp cp file1 web-docs cp file1 file1.bak
Copy file into directory
Make backup of file1
6. rm rm file1.bak rm *.tmp
Remove or delete file
Remove all file
7. mv mv old.html new.html
Move or rename files
8. more more index.html

You May Also Find These Documents Helpful

  • Better Essays

    Nt1310 Unit 4

    • 3614 Words
    • 15 Pages

    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
  • Satisfactory Essays

    NT1310 Unit 3 Homework

    • 1253 Words
    • 5 Pages

    Q1) What does the shell ordinarily do while a command is executing? What should you do if you do not want to wait for a command to finish before running another command?…

    • 1253 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    NT1430 Lab2 Joy Brewer

    • 989 Words
    • 4 Pages

    6. What does the command pwd do? pwd prints the name of the current/working directory…

    • 989 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    Unit 3 network discovery

    • 1031 Words
    • 5 Pages

    The shell tries to find an executable program with the same name as the command. When it does, the shell executes the program. When finishing the command put an & ampersand symbol at the end of the command and the command will run in the background. Then a cursor will be displayed immediately to allow the next command to be entered.…

    • 1031 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 10 Assignment 1

    • 469 Words
    • 3 Pages

    I have learned some new terms from this video and how the commands are imperative…

    • 469 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 2 NT1430

    • 377 Words
    • 2 Pages

    10. Experiment by calling the file utility with the names of files in /usr/bin. How many different…

    • 377 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The tput command enables you to initialize the terminal display or terminal window, to place text and prompts in desired locations, and to respond to what the user selects from the menu.…

    • 604 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 250 Homework 4

    • 769 Words
    • 4 Pages

    1. What does the shell ordinarily do while a command is executing? What should you do if you do not want to wait for a command to finish before running another command?…

    • 769 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 6 True

    • 287 Words
    • 1 Page

    DML, or Data Manipulation Language, contains all the commands for selecting and modifying data. TRUE…

    • 287 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    unit 6

    • 360 Words
    • 2 Pages

    4) DML, or Data Manipulation Language, contains all the commands for selecting and modifying data.…

    • 360 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The following table shows some of the most commonly used commands in Speech Recognition. Words in italic font indicate that you can say many different things in place of the example word or phrase and get useful results.…

    • 1668 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    File Management in Unix

    • 557 Words
    • 3 Pages

    When it comes to UNIX systems all user data is organized and stored in files. These files are subsequently organized into a management structure comprising of directories and sub-directories. Much like forest and organizational units when it comes to active directory, UNIX also has the directories and sub-directories organized into a tree-like structure that it calls a file system. UNIX also has three basic types of files. When it comes to security files can be secured through UNIX file permissions as well as access control lists (ACLs).…

    • 557 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    How To Persuasive Memo

    • 676 Words
    • 3 Pages

    Throughout my staff experience in the variety of servers I've became staff on, I have gathered a vast majority of knowledge regarding commands. I'm not going to go through all the commands I know, but I can say there will be nothing new to me regarding commands if I am…

    • 676 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Dos Commands

    • 802 Words
    • 4 Pages

    APPEND Allows programs to open data files in specified directories as if they were in the current directory.…

    • 802 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    In terms of learning Linux commands, I learned the basics in the first 60 days of my internship. I did look over the Linux in a nutshell book at my desk and discovered how rarely I needed to…

    • 1117 Words
    • 3 Pages
    Good Essays

Related Topics