UNIX By Darcy Tatlock. 1. Successful Log Into Unix To actively manipulate your website you need to be logged in. Without being logged in you cannot enter.

Slides:



Advertisements
Similar presentations
By: Tony Andrews.  Linux directory ordering system  Navigating and creating directories ◦ Listing directories and files ◦ Creating directories ◦ Changing.
Advertisements

NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
ECT 250: Survey of e-commerce technology Publishing pages on a Unix system.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
UNIX Chapter 00 A “ Quick Start ” into UNIX Operating System Mr. Mohammad Smirat.
Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
2 $ command Command Line Options ls –a –l hello hi Command Arguments.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
COMP1070/2002/lec4/H.Melikian COMP1070 Lecture #5  Files and directories in UNIX  Various types of files  File attributes  Notion of pathname  Commands.
1 Day 3 Directories Files Moving & Copying. 2 Case Sensitive First thing to learn about UNIX is that everything is case sensitive. Thus the files: –enda.
A FIRST BOOK OF C++ UNIX PRIMER. LOGGING IN From the PC's in 301, 302, or 303 If the Command Prompt icon is not on the desktop or the Start menu, navigate.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Nick Geoghegan1 Introduction to Linux Workshop. Nick Geoghegan2 Getting Started Download the following files:
Linux Directory Navigation. File & Directory Commands This is a minimal list of Unix commands that you must know for file management: ls (list) mkdir.
Unix Command Project Justin Rogers for LS 560 Spring 2015.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
1 Lecture 2 Working with Files and Directories COP 3344 Introduction to UNIX.
Command Line Unix for Information Professionals In web administration or information management work, I may be called upon, as an Information Professional,
Unix Basics Chapter 4.
Title Slide CSS 404/504 The UNIX Operating System (2) By Ralph B. Bisland, Jr.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
ECT 250: Survey of E-Commerce Technology FrontPage Publishing pages Unix.
System Administration Introduction to Unix Session 2 – Fri 02 Nov 2007 Reference:  chapter 1, The Unix Programming Environment, Kernighan & Pike, ISBN.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX Commands cal – will print a calendar.
Introduction to Unix – CS 21 Lecture 4. Lecture Overview * cp, mv, and rm Looking into files The file command head and tail cat and more What we’ve seen.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Log-in to the Unix Server A successful log-in allows access to the server through the Secure Shell. SSH, also known as Secure Shocket Shell, is a Unix.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Unix Commands PowerPoint Presentation developed for LS 560 Information Technology online class - University of Alabama by Debey Sklenar TENacious Cohort.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Introduction to Programming Using C An Introduction to Operating Systems.
The Genome Analysis Centre Building Excellence in Genomics and Computational Bioscience.
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
1 Day 18 Bash and the.files. 2 The.files ls shows you the files in your directory –Or at least most of them. –Some files are hidden. Try: ls –a –This.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 2a – A Unix Command Sampler (Courtesy of David Notkin, CSE 303)
1 Lecture 2 Working with Files and Directories COP 3353 Introduction to UNIX.
More Unix Naomi Altman. Directories Directory = folder mkdir - makes a new directory rmdir - removes an empty directory cd mydirectory - moves you into.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
The Unix File sytem. Introduction Tree structure …
Unix Fundamentals CS 127. File navigation cd - change directory cd /var/log cd /etc/apache2 cd ~/Desktop ~ is a shortcut for the home directory.
Learning basic Unix command It 325 operating system.
Agenda Managing Processes (Jobs) Command Grouping Running jobs in background (bg) Bringing jobs to foreground (fg), Background job status (jobs) Suspending.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Login Being logged into a command line prompt allows a user to easily and simply execute multiple commands (one-by-one or at the same time) that would.
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
CS1010: Intro Workshop.
Login The Login prompt provides access to the files located on the server.
Prepared by: Eng. Maryam Adel Abdel-Hady
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Andy Wang Object Oriented Programming in C++ COP 3330
Unix Commands PowerPoint
Lecture 2 Working with Files and Directories
The Command Prompt Commands are the way to “do things” in Unix
Useful Linux Commands.
The Linux Operating System
Basic UNIX OLC Training.
Andy Wang Object Oriented Programming in C++ COP 3330
Delete a Public Holiday – Holiday Calendar
Presentation transcript:

UNIX By Darcy Tatlock

1. Successful Log Into Unix To actively manipulate your website you need to be logged in. Without being logged in you cannot enter commands to find out useful information such as the last time the account has been accessed or change directory permissions.

2. List of Folders in the Root Directory Using the list command allows you to see what is located in your root directory, this list shows all of the files and documents you have access to. COMMAND: ls

3. Moving into Another Directory COMMAND: cd filename The changing directories command allows you to move into another directory, one that is listed in your root directory. Without this command direct access to files stored in other directories would be impossible to access.

4. Moving Back to the Root Directory COMMAND: cd.. This command is the back button of the Unix operating system. It allows you to navigate through your directories. In this case since we are only one directory away from the root directory, this is the directory we will return to.

5. Making a New Directory COMMAND: mkdir newname To make a new directory, in this case from the root directory, you type the make a directory command followed by the new title of the new directory. In this example I use the title muffin. This can allow you to group similar files together, making them easier to find.

6. Moving Into the New Directory COMMAND: cd directoryname Just like you used the change directory command to move into a previously existing directory. We use it again with the new directory name to move into the newly created directory. This command makes navigation easy.

7. Displaying the Last 10 Commands COMMAND: history The history command gives you the list of the last 10 commands you have entered. I find this useful if I have forgotten which directory I am in or what I have recently done.

8. What’s the Current Date? COMMAND: date The date command allows you to see a time stamp of the date and time you are working on entering commands into Unix. Keep this information in mind to keep track of the usage of your profile.

9. How Many Other Users Are Logged In? COMMAND: who The who command allows you to see who else is logged into the server. This is beneficial when you need to work with a group, to see who is logged in to continue working.

10. What is the Calendar’s Current Month? COMMAND: cal The calendar command allows you to see a calendar of the current month and year. Though not the most necessary command, it can come in handy for a quick view of the date, especially when you need to double check the due date of an assignment without leaving Unix.

11. Let’s Delete the Muffin Directory! COMMAND: rmdir title If you no longer need a directory, due to it being empty or it is no longer needed, use the remove directory command to keep your profile tidy and organized.

12. A List of Files in the Root Directory (with assigned directory permissions) COMMAND: ls -l The list of details of files command allows you to see what permission you, the user, your group, and others have while interacting with the files. This is beneficial because you can make sure unauthorized people don’t have the permission to edit your files.

13. So What Exactly Do d r w x and – Mean and How Do You Change It? The first character in of the line can either be d or -. The d means it is a directory and the - means it is a file. The second, third, and fourth characters are the permissions of the user (u). The fifth, sixth, and seventh characters are the permissions for the group (g). The eighth, ninth, and tenth characters are the permissions for all others (o). To understand what permissions each individual has you need to know that r means read, w means write, and x means execute. To be able to read the file you need to have a r permission. To be able to write the file you need to have a w permission. To be able to execute or run a file you need to have a x permission. Make sure you don’t take away any of these permissions for the user or you will not be able to work with your directory. EXAMPLE: drwxr-xr-x This directory allows you, the user, to read, write, and execute, the group can read, not write, and can execute, and others can also read, not write, and can execute.

14. Search for a Specific Word Within a File. COMMAND: grep term filename In order to find a word located in a file you want to use the grep command. This helps you find certain times a term is mentioned in a specific file making it easy to identify patterns.

15. Change Directory Command to Previous Directory COMMAND: cd - Though this is a simple command I find it very useful by making it very easy to move back to the previous directory you were in. This means if you are in a directory several steps away from the root directory and jump directly to the root you can easily move back to the previous directory without going step by step.

16. Print Working Directory COMMAND: pwd The print working directory command tells you where you are in the directory structure. This is useful to use if you have many directories and cannot remember which one you may be in at the moment.

17. The Manual Command COMMAND: man command The manual command allows you to look up how another command is used. This is useful if you know a command but want to check it’s function before you use it. If the next command line doesn’t show after the manual use the space bar to end the manual and continue using commands.

18. Exit COMMAND: exit To keep your server and files secure, don’t forget to sign-out of Unix with this simple exit command.