The document lists and describes various commands used in Linux, HDFS, HBase, and Hive. It covers commands for file manipulation, editing, viewing, compression, networking, process management, and administration. Some key commands include mkdir, cd, ls, cp, mv, grep, find, ssh, hdfs commands like put, get, and hive commands like create table, select, and join.
The document lists and describes various commands used in Linux, HDFS, HBase, and Hive. It covers commands for file manipulation, editing, viewing, compression, networking, process management, and administration. Some key commands include mkdir, cd, ls, cp, mv, grep, find, ssh, hdfs commands like put, get, and hive commands like create table, select, and join.
The document lists and describes various commands used in Linux, HDFS, HBase, and Hive. It covers commands for file manipulation, editing, viewing, compression, networking, process management, and administration. Some key commands include mkdir, cd, ls, cp, mv, grep, find, ssh, hdfs commands like put, get, and hive commands like create table, select, and join.
The document lists and describes various commands used in Linux, HDFS, HBase, and Hive. It covers commands for file manipulation, editing, viewing, compression, networking, process management, and administration. Some key commands include mkdir, cd, ls, cp, mv, grep, find, ssh, hdfs commands like put, get, and hive commands like create table, select, and join.
Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 7
Linux commands:
Mkdir making the directory
eg: mkdir filename
cd change the directory eg: cd filename clear clear the commands pwdpresent working directory datedisplay the user name rmDelete files ls list files cp copy files who am I display the user name mv renaming the files ln link files rmdir remove the directory
File Viewing commands:
cat view files less page through files head view file beginning [ 1 st 10 records displayed] Tail view file ending last 10 records display nl number lines ad view binary data xxd view hexa binary data gv view post script / PDF files xdvi view Tex dvI fiels
File creation & Editing commands:
emacs Text editor pico Text editor vi Text ediotor umask set default file protections soffice edit/word/excel power point abiword edit word documents gnumeric edit excel decument
File properties
Stat Display file attributes WC Count bytes/words/lines du measure disk usage file Identity file types touch change the file stamps chown change file owner chgrp Change file group chmod change file protections chattr change advanced file attributes lsattr list advanced file attributes
File location:
find locate files slocate locate files via index which locate commands whereis locate standard files
File Text Manipulation:
grep search text for matching lines cut Extract columns paste append colums tr translate characters sort sort lines uniq locate identical lines tee copy Stdin to a file and to stdout simultaneously
diff compare files line by line comm compare sorted files cmp compare files byte by byte md5sum compute check sums
Disks and File Systems:
df show free diskspace mount make a disk accessible fsck check a disk for errors sync Flush disk caches
Backups and Remote Storage:
mt control a tape device dump Backup a disk restore Restore a dump tar Read/ Write tape archives cd record Burn a CD rsync Mirror a set of files
Process:
PS list all processes W list users processes Uptime view the system load top monitor system load free Display free memory kill Terminate process nice set process priorities renice change process priorities
Scheduling Jobs:
sleep wait for sometime watch Run programs at set intervals at schedule a job crontab schedule repeated Jobs
Hosts:
uname print system information hostname print the systems hostname ifconfig set / display N/W information host lookup DNS who is look up Domain registrants ping check if host is reachable trace route view N/W path to host
Networking:
ssh securely log into remote hosts telnet log into remote hosts scp securely copy files between hosts sftp securely copy files between hosts ftp copy files b/w hosts evolution GUI email client mutt text based email client mail minimal email client mozilla web browser lynx text only web browser wget retrieve srln Read usenet news gaim Instant messaging/IRC talk linux/unix chat write send msgs to terminal mesg prohibit talk/write
HDFS Shell commands:
cat content display chgrp chmod chown copyformlocal copyToLocal cp du dus expunge get getmerge ls lsr mkdir moveFromLocal mv put rm rmr setrep Stat tail test text touchz count
User Commands: archive distcp fs fsck fetchdt jar job pipes queue version CLASS NAMES Classpath
create table put get scan delete status describe alter
Hive commands:
create table describe show select queries JOIN ALTER Partitions CTAS Left outer join Cluster by Sort by Indexes in hive Sqoop create hive-table Sqoop hive-import
Red Hat Enterprise Linux Troubleshooting Guide: Identify, capture and resolve common issues faced by Red Hat Enterprise Linux administrators using best practices and advanced troubleshooting techniques