![]() ![]() mkdir You can create a new directory with this command. You can return to the previous page with "b". The command structure is more return key Move to the next page with the space bar line-by-line scrolling is possible with the return key. more This command shows a file on the screen one page at a time. ![]() ![]() mail With this command, you can open the email program "Mail". l (long Format) lists the content of a directory in a comprehensive format. F identifies directories with / and executable files with *. There are countless parameters for Is the command structure is: ls The most important command parameters are: -a (all) shows all files, this means also the hidden ones (= all those that start with a period). id return key ls (list) This command lists the content of a directory. The operating system Unix uses the user classes user, group and others. The command structure is: gzip File name By entering gzip -h If you would like to unzip a file, please enter the following: If you would like to unzip a file, please enter the following: gzip -d file name id This command shows you the identification number (ID) of the user and the group. The command structure is: gtar File1 / Directory1 An overview list of all valid command parameters can be obtained by entering gtar -help |more gzip (compression program) This command makes it possible for you to zip and unzip individual files. This means you can compress several files and directories into a single file. exit return key logout return key For self-written scripts, you can use: : gtar (Archivierungsprogramm) This command allows you to archive files or directories. ![]() env return key exit or logout You can terminate your SSH session with these commands. Sometimes you will need these for CGI scripts. env (environment) This command displays the environment variables on our server, for example, the time zone, the currently active shell or the operating system being used. If no file or directory name is specified via the current directory is used. r size specification also for illegible directories and files that cannot be opened. The command structure is: du The most important command parameters are: -s only the total sum. diff file1 file2 du (disk usage) This command shows you the hard drive space used by directories and files in blocks with each block consisting of 512 bytes. It shows the lines that are different for both files. For example: cp file name directory name diff This command makes it possible to compare two files. The command structure is: chmod rights assignment file name Different access rights, particularly r (read), w (write) and x (execute), can be set individually for u (user), g (group) and o (others) As an alternative to the aforementioned symbolic specifications, the access rights can also be specified as octal numbers (for example, 755).Ĭp (copy) You can copy files with this command. chmod (change mode) With this command, you can change the access rights for a file. In contrast to the DOS command, a space must be entered between cd and. In order to change to a sub-directory, enter the command cd Directory name return key In order to change to a superordinate directory, enter the command cd. If the content of File1 should be appended to the content of File2, ">" will need to be used instead of ">"." cd (change directory) This command allows you to change to superordinate and subordinate directories. cat file1> file2 copies the content in File1 to File2 and also creates a new File2 if necessary. For example: cat filename displays the content of the file on your screen. Cat (concatenate) With this command, you can display the content of files on the screen or have them written to a different file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |