-
Using commands with semicolons between them
-
Handles input/output redirections
-
Piping of one command into other works
-
background and foreground activities -signal
-
cd
-
echo
-
pwd
-
ls
-
history
-
discover
-
other system commands using execvp
-
pinfo
-
jobs
-
fg
-
bg
-
sig
clear display, show initial prompt and take input. it also catches signals.
duplicates the cd command. can take a relative/absolute path as its argument.
prints the argument followed by echo. handles tabs and extra spaces.
prints the current working directory
implements the ls function of the linux terminal. handles flags and paths.
prints the last 10 executed commands. previous 20 commands saved in history.txt
immitates the discover command as mentioned in the assignment assumes argument to the discover command to be given without quotes
all other non user-defined commands are executed normally, using execvp. foreground and background processes
prints the process related info of the shell
prints the background processes of the terminal
changes the respective background command to foreground command
changes the state of a stoped background process to running
assumes no space after entered semi colon
Contains all the required headers for all files
if > < input and output sources are mentioned, code executes it as per the given command
linux shell piping command is imitated also handles redirections with piping
ctrl Z ctrl C ctrl D