Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Linux Filesystem Management - Linux Network Administration - Lecture Slides, Slides of Linux skills

The Linux is very easy if you follow the following points:Linux Filesystem Management, Badblocks, Badblocks Device, Linux Commands, Synchronize, Unmounts a Filesystem, Complement, Dnsdomainname, Hostname, Nisdomainname

Typology: Slides

2012/2013

Uploaded on 04/22/2013

sathaye
sathaye 🇮🇳

4.8

(8)

106 documents

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linux Filesystem Management
Linux Commands
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>)
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Linux Filesystem Management - Linux Network Administration - Lecture Slides and more Slides Linux skills in PDF only on Docsity!

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 , du –sk , du –sh )

fsck Filesystem check. Must not be run on a mounted file system. ( fsck )

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 , mount –a)

umount Unmounts a filesystem. Complement is mount. (umount )

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.

ifdown Shutdown a network interface. Ex: ifdown eth

ifup Brings a network interface up. Ex: ifup eth

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

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

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

shutdown If your system has many users, use the

command shutdown -h +time ‘`, 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

passwd Set a user's pass word. (passwd, passwd

)

quota Display users' limits and current disk usage.

(quota, quota )

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

)

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 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 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