Cracking IT Interview


- Click on the links for Unix commands - 


Basic Commands:

ls - List out files

cd - change directory

pwd - know present directory

mkdir - creating directory

cat - creating files

touch - create 0 byte file

rm, rmdir - delete files or directories

cp - copy files

mv - move / rename file

ln - creating link of file

more, less - standard pager

cmp, comm, diff - file comparison

cut - cut file contents

tee, paste - paste contents

sort - sorting file contents

wc - counting lines, words, characters

zip, unzip - compress and archival

compress, gzip- compressing files

tar - making archieval

tr - translate characters

chmod - changing file permission

umask - masking file for default permission

chown - changing file owner

chgrp - changing file group

who, w, finger, users, last - who are users

whereis, whatis, which- question about commands

file - file types

locate - searching file location

su - switch user

id - username, groupname

date - date and time

cal - open calendar

bc - open calculator

passwd - changing password

du, df - disk statistics

uname - operating system details

man - open manuals

tty, stty - terminal type, settings​​​

Other Commands 

grep -  pattern search and filter out

​find - Finding files:

Vi Editor - Most frequently used editor:

sed command - non-interactive Stream Editor

Process running in System: