|  
      
     | 
       
       
                    back 
                      to main support page If you don't know a term we are using please take 
                      a look at our 'What is...?' page. 
                       
                       
                      Equivalents to Windows/DOS commands 
                      under Linux 
        Note: this table is for people who have some knowledge about things like 
        directories, permissions and so on. If you use a command like rm and you 
        are not sure about the syntax get a good book about Linux! Otherwise it 
        is very likely that you will destroy your data! 
                     
                    
                       
                        | Windows/DOS command | 
                        Linux command | 
                        What does it? | 
                       
                       
                        | cd | 
                        cd | 
                        Changes the current directory, similar 
                          syntax | 
                       
                       
                        | cls | 
                        clear | 
                        Clears the screen | 
                       
                       
                        | copy | 
                        cp | 
                        Copies files. If you use cp -i it will 
                          prompt for destructive actions | 
                       
                       
                        | del | 
                        rm | 
                        Deletes files. If you use rm -i it will 
                          prompt for destructive actions | 
                       
                       
                        | deltree | 
                        rm -R | 
                        Deletes a directory including its content | 
                       
                       
                        | dir | 
                        ls | 
                        Lists files. ls -l gives provides you 
                          with more information | 
                       
                       
                        | md | 
                        mkdir | 
                        Creates a new directory | 
                       
                       
                        | move | 
                        mv | 
                        Moves a file | 
                       
                       
                        | rd | 
                        rmdir | 
                        Removes a directory | 
                       
                       
                        | ren | 
                        mv | 
                        Renames a file or a directory | 
                       
                       
                        | type | 
                        cat | 
                        Lists the content of a file | 
                       
                     
                      
                      chmod 
        When using a UNIX system it is sometimes necessary to change file permissions. 
        This is done using the CHMOD command. There are two different ways to 
        chmod a file. 
        Certain FTP clients such as Cute FTP and WS/FTP Pro allow for a chmoding 
        directly within FTP. To do this you would highlight the file that you 
        want to use, and select from the command menu "change file permissions." 
        There is on option for "manual." This is where you will enter 
        the desired CHMOD. Many other FTP clients will support CHMODing as well, 
        we recommend checking the documentation. 
                       
        Reasons for CHMODING 
        CHMODing files can be done for a variety of reasons. You can CHMOD files 
        to do things such as: mark them executable, give them write permission, 
        restrict access to them, and a variety of other reasons. It is important 
        to note that chmoding is nearly impossible to avoid. If you are trying 
        to run a certain cgi script it could require execute permissions on the 
        script itself, write permissions on a directory, and read on an informational 
        page. 
                      Your cgi scripts should contain the proper documentation 
                      to inform you of the proper CHMOD's. 
                       
                      List of CHMOD's and what they mean 
                      chmod 777 filename: the file is available for Read, Write, 
                      and Execute for the owner, group, and world. 
        chmod 755 filename: the file is available for Read, Write, and Execute 
        for the owner; and Read and Execute only for the group and world.  
                      chmod 644 filename The file is available for Read and Write 
                      for the owner, and Read only for the group and world.  
                      chmod 666 filename The file is available for Read and Write 
                      for the owner, group, and world. 
                      Please be careful -anybody can create havoc with your files 
                      with this wide-open permission mask 
                       
                       
                       
                     
                     
     |