Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit

Similar documents
Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Linux Reference Card - Command Summary

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Linux Nuts and Bolts

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX

Linux Essentials Objectives Topics:

CL030 is a csage Certification Preparatory Course!

CS Fundamentals of Programming II Fall Very Basic UNIX

TJU Syllabus for Linux Fundamentals and Applications

Introduction to Linux

Lab 1: Introduction to Linux Networking

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Chapter 6. Linux File System

UNIT V. Dr.T.Logeswari. Unix Shell Programming - Forouzan

Vendor: RedHat. Exam Code: RH133. Exam Name: Red Hat Linux System Administration. Version: Demo

National University of Computer and Emerging Sciences Operating System Lab - 02 Lab Manual

Unix Introduction to UNIX

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

Useful LINUX commands 1/6

Course 144 Supplementary Materials. UNIX Fundamentals

OPERATING SYSTEMS LINUX

PiCloud. Building owncloud on a Raspberry PI

Basic Linux Command Line Interface Guide

LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery

RG-MACC_2.0 Installation Manual

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions

GNU/Linux: An Essential Guide for Students Undertaking BLOSSOM

RocketRAID 2680 SAS Controller FreeBSD Installation Guide

Linux Command Line Primer. By: Scott Marshall

Exam Linux-Praxis - 1 ( From )

IBM AIX Basic Operations V5.

Getting Started. Running Utilities. Shells. Special Characters. Special Characters. Chapter 2 Unix Utilities for non-programmers

Lab on User administration

Basic Linux Command Line Interface Guide

client X11 Linux workstation

RocketRAID 64xL SAS Controller FreeBSD Installation Guide

Washington WASHINGTON UNIVERSITY IN ST LOUIS

Introduction to the shell Part II

Lab 3a Using the vi editor

Lab - Installation of the Linux Operating System

HP-UX System Administration Course Overview. Skills Gained. Who will the Course Benefit?

The landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions

Operating Systems Lab 1 (Users, Groups, and Security)

Fedora Linux Installation Guide

Mills HPC Tutorial Series. Linux Basics I

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

INTRODUCTION TO LINUX

The Unix Shell & Shell Scripts

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

Essential Unix (and Linux) for the Oracle DBA. Revision no.: PPT/2K403/02

List of Linux Commands in an IPm

Lab Working with Linux Command Line

Chapter-3. Introduction to Unix: Fundamental Commands

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

Linux Systems Administration Getting Started with Linux

RG-MACC-BASE_v2.01. Installation Guide

Introduction to Unix May 24, 2008

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

ECE 4110 Internetwork Programming Lab 1: Installation of the Linux Operating System. Lab Goals. Section I: Before we begin

Full file at

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Presented by Bill Genske Gary Jackson

Linux Kung-Fu. James Droste UBNetDef Fall 2016

Getting Started with Linux

Answers to Even- Numbered Exercises

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

Linux Interview Questions and Answers

Introduction to Linux

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala

Installing and Configuring Cisco HSI Software

Assignment 1: Build Environment

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux

Basic File Attributes

commandname flags arguments

1. What command is used to count the total number of lines, words, and characters contained in a file? A. countw B. wcount C. wc D.

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

ELE409 SPRING2018 LAB0

Upgrading a FAS2000-series system to an Active/Active Configuration

ECE 471 Embedded Systems Lecture 10

Std: XI CHAPTER-3 LINUX

The table below lists the domains measured by this examination and the extent to which they are represented in the examination.

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

LOG ON TO LINUX AND LOG OFF

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim.

Commands are in black

NETW 110 Lab 3 Post-Installation Configuration Page 1

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Outline. Structure of a UNIX command

Unix System Architecture, File System, and Shell Commands

CLOUD INFRASTRUCTURE AND OPERATIONS IT3202FP - CHAPTER 1A/8 Page 1 CONTENTS

ITEC451 Network Design & Analysis Laboratory Guide: Appendix

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

. Fill in the Blank: A directory named mydir has just been... Points:10. Add Question Success: 64 questions added as a copy.

Introduction to UNIX/Linux

Transcription:

Starting & Stopping shutdown -h now Shutdown the system now and do not reboot shutdown -r 5 Shutdown the system in 5 minutes and reboot shutdown -r now Shutdown the system now and reboot reboot Stop all processes and then reboot - same as above startx Start the X system User Administration adduser accountname Create a new user call accountname passwd accountname Give accountname a new password su Log in as superuser from current login exit Stop being superuser and revert to normal user Moving, copying, deleting & viewing files ls -l List files in current directory using long format ls -F List files in current directory and indicate the file type

ls -lac rm name rm -rf name cp filename /home/dirname mv filename /home/dirname List all files in current directory in long format and display in columns Remove a file or directory called Name Kill off an entire directory and all it s includes files and subdirectories Copy the file called filename to the /home/dirname directory Move the file called filename to the /home/dirname directory Installing software for Linux rpm -ihv name.rpm Install the rpm package called name rpm -Uhv name.rpm Upgrade the rpm package called name rpm -e package Delete the rpm package called package rpm -l package List the files in the package called package rpm -ql package List the files and state the installed version of the package called package rpm -i --force package Reinstall the rpm package called name having deleted parts of it (not deleting using rpm -e) tar -zxvf archive.tar.gz or Decompress the files

tar -zxvf archive.tgz./configure contained in the zipped and tarred archive called archive Execute the script preparing the installed files for compiling Little known tips and tricks ifconfig List ip addresses for all devices on the machine /sbin/e2fsck hda5 Execute the filesystem check utility on partition hda5 fdformat /dev/fd0h1440 Format the floppy disk in device fd0 tar -cmf /dev/fd0 Backup the contents of the current directory and subdirectories to multiple floppy disks cp from/* to will copy all files in the from directory to the to directory passwd command. ps List current processes kill 123 Kill a specific process eg. kill 123

Configuration files and what they do /etc/fstab List of devices and their associated mount points. Edit this file to add cdroms, DOS partitions and floppy drives at startup. /etc/motd Message of the day broadcast to all users at login. etc/rc.d/rc.local Bash script that is executed at the end of login process. Similar to autoexec.bat in DOS. /etc/profile System wide environment variables for all users. /etc/hostname Conatins full hostname including domain. /etc/cron.* There are 4 directories that automatically execute all scripts within the directory at intervals of hour, day, week or month. /etc/hosts A list of all know host names and IP addresses on the machine. /etc/httpd/conf /etc/inittab Paramters for the Apache web server Specifies the run level that the machine should boot into.

/etc/resolv.conf /etc/smb.conf Defines IP addresses of DNS servers. Config file for the SAMBA server. Allows file and print sharing with Microsoft clients. File permissions The command ls -l is given, a long list of file names is displayed. The first column in this list details the permissions applying to the file. If permission is missing for a owner, group of other, it is represented by - eg. drwxr-x x Read = 4 Write = 2 File permissions are altered by giving the chmod command and the appropriate octal code for each user type. Eg Execute = 1 chmod 7 5 5 chmod 7 6 4 filename will make the file called filename R+W+X for the owner, R+W for the group and R for others. Full permission for the owner, read

chmod +x filename and execute access for the group and others. Make the file called filename executable to all users. Vi Editor Example of use: vi /etc/network/interfaces l h j k YY DD P :q! :wq! :w! (move right) (move left) (move down) (move up) type in Y twice to copy a line type in D twice to cut a line. type in P to paste a line. quit without saving save and quit save