Skip to content

pawlo2102/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

test

Тестовое задание

1) Command line:

  • Write a one-line command that displays the first 20 characters of a user's ssh public key:
$ cut -d " " -f2  .ssh/my_key.pub | cut -b 1-20
  • Write a one-line command that checks the syntax of all php files in the current folder:
$ for i in *.php; do php -l $i; done

2) Git:

  • Write a git command that displays the hash of the current revision:
$ git log -1 --pretty=format:"%H"
  • Write a git command that displays the code changes of the last 5 commits for the file index.php (in the current folder)
$ git log -p -5 composer.json

3) PHP

  • See file [index.php] (/index.php)

About

Тестовое задание

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages