Skip to content

ColDReaVeR/42sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

        =================================================================
       
                               PROJECT COMPLETE

        =================================================================

                        LEAD DEVELOPER : ESTELA Hadrien
        OPTIMISATION AND LINUX PORTAGE : SOMMAGGIO Mickael
                TESTING & DEVELOPEMENT : DELOUYA Camille
                                         SCHUCK	Maxime

        =================================================================
                
                                    FEATURES
       
        =================================================================

edit line commands:

           right  >  next char
            left  >  previous char
    ctrl + right  >  next word
     ctrl + left  >  previous word
       ctrl + up  >  move up
     ctrl + down  >  move_down
        ctrl + a  >  move to begin
        ctrl + e  >  move to end
        ctrl + w  >  copy
        ctrl + x  >  paste
         alt + w  >  cut
              up  >  previous command
            down  >  next command
          ctrl_d  >  terminate line with nul character
             tab  >  autocompletion

builtins:

             env  >  show environement variables
 setenv | export  >  set environement variable
unsetenv | unset  >  unset environement variable
              cd  >  change directory
            exit  >  terminate process
              fg  >  resume process  //// NOTE: (fg [number of suspended job])
            jobs  >  show list of suspended jobs
         history  >  print history list
            echo  >  write in stdout
           alias  >  show alias list or add new alias.

signals:

          ctrl_c  >  terminate process
          ctrl_z  >  Suspend job (and add to list)

redirections:

  >: clear file and write the output in file. (file is create if didn't exist)
  >>: write the output at the end of file. (file is create if didn't exist)
  <: read source from file
  <<: read source from stdin while the 'END' string not found
  |: send output of cmd1 to source of cmd 2
  &&: execute cmd 1 and cmd 2
  ||: execute cmd 1 or cmd 2 

             +++++ INFOS +++++

-> you can write command without spaces around operators.
		ex: ls|cat -e;echo ">>\";|"
-> alias are replaced
-> ~ are replaced
-> * are replaced
-> environement variables are replaced
-> verifying permission for complete path (dir by dir)
-> shell scripts
-> wait for missing quotes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%