Linux Filesystem Management

Slides:



Advertisements
Similar presentations
Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
Advertisements

Basic Unix system administration
SYSTEM ADMINISTRATION Chapter 19
Chapter 13: Troubleshooting network connectivity Unit objectives Identify TCP/IP troubleshooting tools Discuss the Telnet utility and its functions Discuss.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
A Guide to Unix Using Linux Fourth Edition
Lesson 22 – Introduction to Linux Systems Administration.
Processes & Daemons Chapter IV / Part III. Commands Internal commands: alias, cd, echo, pwd, time External commands, code is in a file: grep, ls, more.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocol (IP): Addressing and Forwarding Shivkumar Kalyanaraman Rensselaer Polytechnic.
UNIX/LINUX OPERATING SYSTEM
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
Linux Networking Commands
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Linux System Administration LINUX SYSTEM ADMINISTRATION.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Chapter 12: Configuring Networks The Complete Guide to Linux System Administration.
Booting and boot levels
A Guide to Unix Using Linux Fourth Edition
Hacking Linux Systems.  Text Editors  vi, ex, pico, jove, GNU emacs  Shells  chs (C Shell), sh (Bourne Shell)  File navigation  cd, ls, cp, mv,
Network Tools TCP/IP interface configuration query - MAC (HW) address and IP address – Linux - /sbin/ifconfig – MS Windows – ipconfig/all 1.
Chapter 10 Networking and the Internet ITSC 1458.
CIS 218 Advanced UNIX 1 User and System Information CIS 218.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
1 Linux Basics for Networking. 2 Module - Linux Basics for Networking ♦ Overview This module focuses on the basics of networking using Redhat Enterprise.
ITI-481: Unix Administration Meeting 3. Today’s Agenda Hands-on exercises with booting and software installation. Account Management Basic Network Configuration.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
Linux Network Management Command. (1) Domainname Command Name :- domainname Purpose:- Displays or sets the name of the current Network Information Service(NIS)
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Hands On UNIX II Dorcas Muthoni. Processes A running instance of a program is called a "process" Identified by a numeric process id (pid)‏  unique while.
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 9: Basic Linux Administration Chapter 11: System Administration: Core Concepts Chapter 16:
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Linux Networking #1 Dr. Michael L. Collard 1.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
System Administration. Logging in as System Administrator System Admin login (aka superuser, aka root) –login id: root –Default PS1 prompt: # –Home directory:
CSC414 “Introduction to UNIX/ Linux” Lecture 6. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop VI Scheduling & Process Management Professional.
CSC414 “Introduction to UNIX/ Linux” Lecture 3
1 CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Troubleshooting. Why Troubleshoot? What Can Go Wrong? –Misconfigured zone –Misconfigured server –Misconfigured host –Misconfigured network.
Using Networks. Assignment Issues find syntax Permissions HW4 3c /proc vs /tmp vs /var.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Using Linux Kaya Oğuz Room: 310.
Configuring Disk Quotas
Click to edit Master subtitle style
slides created by Marty Stepp, modified by Josh Goodwin
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Linux Networking Tools
A Guide to Unix Using Linux Fourth Edition
Unix : Introduction and Commands
slides created by Marty Stepp, modified by Jessica Miller
LINUX SYSTEM ADMINISTRATION
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
System & Network Administration (MCSA & RHCSA)
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
Module 12 Network Configuration
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
Linux Filesystem Management
Configuring Disk Quotas
Presentation transcript:

Linux Filesystem Management Linux Commands Linux Filesystem Management badblocks Used to search a disk or partition for badblocks. (badblocks device) (badblocks hda) df Shows the disk free space on one or more filesystems. (df –k, df -h) du Shows how much disk space a directory and all its files contain. (du <directory>, du –sk <directory>, du –sh <directory>) fsck Filesystem check. Must not be run on a mounted file system. (fsck <filesystem>)

Linux Filesystem Management Linux Commands Linux Filesystem Management sync Synchronize data on disk with memory. `sync' writes any data buffered in memory out to disk. mount Used to mount a filesystem. Complement is umount. (mount <filesystem>, mount –a) umount Unmounts a filesystem. Complement is mount. (umount <filesystem>)

Network Management Commands Linux Commands Network Management Commands dnsdomainname Show the systems DNS domain name hostname Used to show or set the name of your machine for networking nisdomainname Show or set systems NIS/YP domain name ypdomainname Show or set the system's NIS/YP domain name

Network Management Commands Linux Commands Network Management Commands arp This program lets the user read or modify their arp cache. dig Send domain name query packets to name servers for debugging or testing. finger Display information about the system users. Ex: finger Deepak ftp File transfer program. (ftp <remote system name/ip) ifconfig Configure a network interface. Ex: ifconfig eth0 address 172.31.2.2 netmask 255.255.0.0 ifdown Shutdown a network interface. Ex: ifdown eth0 ifup Brings a network interface up. Ex: ifup eth0

Network Management Commands Linux Commands Network Management Commands netconf A GUI interactive program to let you configure a network on Redhat systems. netconfig Another GUI step by step network configuration program. netstat Displays information about the systems network connections, including port connections, routing tables, and more. The command "netstar -r" will display the routing table. (netsat –rn) nslookup Used to query DNS servers for information about hosts.

Network Management Commands Linux Commands Network Management Commands ping Send ICMP ECHO_REQUEST packets to network hosts. (ping <remote-host-name/ip) route Show or manipulate the IP routing table. (route, route add, route del) showmount Show mount information for an NFS server. ssh Secure Login (ssh <remote system name/ip>)

Network Management Commands Linux Commands Network Management Commands tcpdump Dump traffic on a network. Prints out headers of packets that match the boolean expression. (tcpdump eth0) telnet User interface to the TELNET protocol, setting up a remote console session. (telnet <remote system name/ip>) traceroute Print the route that packets take to the specified network host. (traceroute <remote system name/ip>)

Network Management Commands Linux Commands Network Management Commands Communications commands (includes mail) elm Electronic mail. pine Program for internet news and e-mail, Can send documents, graphics, local & remote messages. talk Lets two parties talk simultaneously. mail To send a mail

System Management Commands Linux Commands System Management Commands Runtime level management exit Terminates the shell. halt Stop the system. init Process control initialization. (init 3) logout Log the user off the system. poweroff Brings the system down. reboot Reboot the system. runlevel List the current and previous runlevel.

System Management Commands Linux Commands System Management Commands shutdown If your system has many users, use the command shutdown -h +time ‘<message>`, where time is the time in minutes until the system is halted, and message is a short explanation of why the system is shutting down. Ex: # shutdown -h +10 'We will install a new disk. System should be back on-line in three hours.‘

System Management Commands Linux Commands System Management Commands passwd Set a user's pass word. (passwd, passwd <username>) quota Display users' limits and current disk usage. (quota, quota <username>) quotaoff Turns filesystem quotas off. quotaon Turns filesystem quotas on. quotacheck Used to check a filesystem for usage, and update the quota.user file. edquota Used to edit user or group quotas. (edquota <username>)

System Management Commands Linux Commands System Management Commands su Single user login. (su -) useradd Create a new user or update default new user information. (useradd –g <group> -s <shell> -c <comment> –d <home directory> <username> userdel Delete a user account and related files. (userdel <user name>) usermod Modify a user account. users Print the user names of users currently logged in. wall Send a message to everybody's terminal. (wall “text message”) who Display the users logged in. whoami Print effective user id.

System Management Commands Linux Commands System Management Commands System Time cal Calendar. (cal, cal 2005) date Print or set the system date and time. (date, date MMDDhhmm[[CC]YY][.ss]) hwclock Set or read the hardware CMOS clock. uptime Reports how long the system has been running.

Linux Job & Process Management Linux Commands Linux Job & Process Management Linux Process Management ps Get the status of one or more processes. PPID-parent process ID ; PID-process ID Eg: ps ax |more to see all processes including daemons Eg : ps –ef | grep <process> pstree Display the tree of running processes. pgrep looks through the currently running processes and lists the process IDs which matches the selection criteria to stdout.All the criteria have to match. top The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of tasks currently being managed by the Linux kernel

Linux Job & Process Management Linux Commands Linux Job & Process Management Linux Process Management bg Starts a suspended process in the background fg Starts a suspended process in the foreground kill Ex: "kill 34" - Effect: Kill or stop the process with the process ID number 34. killall Kill processes by name. Can check for and restart processes. pid Find the process ID of a running program