{"action":"created","comment":{"url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/comments/93829820","pull_request_review_id":14364818,"id":93829820,"diff_hunk":"@@ -3,11 +3,36 @@ Questions online: https://www.tocode.co.il/bundles/unix1/lessons/cmdlab\n \n 1. Login to your UNIX account. How do you find:\n   - your current shell?\n+ $ echo $0\n+ bash\n+  \n   - your default shell?\n+  bash\n+  \n   - a list of all shells currently installed on the machine?\n+  $ cat /etc/shells\n+  # /etc/shells: valid login shells\n+  /bin/sh\n+  /bin/dash\n+  /bin/bash\n+  /bin/rbash\n+  \n \n 2. View the file /etc/passwd on your machine with the command \"cat /etc/passwd\". Then read about the file in \"man 5 passwd\". What information is held in the file? What are the fields in each line?\n+/etc/passwd contains one line for each user account. The fields are: \n+- login name\n+- optional encrypted password\n+- numerical user ID\n+- numerical group ID\n+- user name or comment field\n+- user home directory\n+- optional user command interpreter\n+\n \n 3. In Unix, the /etc folder holds configuration files. Display all files in \"/etc\" folder ordered by file size (Hint: search in \"man ls\")\n+ls -ltr /etc","path":"07_cmd_lab/cmdlab.txt","position":31,"original_position":31,"commit_id":"38c7f2d5210f7e42621b411737dc8fcc29e0f5ae","original_commit_id":"38c7f2d5210f7e42621b411737dc8fcc29e0f5ae","user":{"login":"vitalipe","id":2527931,"avatar_url":"https://avatars.githubusercontent.com/u/2527931?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalipe","html_url":"https://github.com/vitalipe","followers_url":"https://api.github.com/users/vitalipe/followers","following_url":"https://api.github.com/users/vitalipe/following{/other_user}","gists_url":"https://api.github.com/users/vitalipe/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalipe/subscriptions","organizations_url":"https://api.github.com/users/vitalipe/orgs","repos_url":"https://api.github.com/users/vitalipe/repos","events_url":"https://api.github.com/users/vitalipe/events{/privacy}","received_events_url":"https://api.github.com/users/vitalipe/received_events","type":"User","site_admin":false},"body":"hmm...  ```ls -ltr ```  does not work... let's check the man page.. \r\ntype ``` man ls ``` and find out what are the flags \"l\" \"t\" and \"r\"\r\n\r\ni'll start:\r\n\r\n-r reverse  order while sorting.\r\n-l ?????\r\n-t  ?????\r\n\r\nnow it's your turn :)\r\n","created_at":"2016-12-25T14:25:41Z","updated_at":"2016-12-25T14:25:41Z","html_url":"https://github.com/tocodeil/unix1-course-examples/pull/35#discussion_r93829820","pull_request_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/comments/93829820"},"html":{"href":"https://github.com/tocodeil/unix1-course-examples/pull/35#discussion_r93829820"},"pull_request":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35","id":99320962,"html_url":"https://github.com/tocodeil/unix1-course-examples/pull/35","diff_url":"https://github.com/tocodeil/unix1-course-examples/pull/35.diff","patch_url":"https://github.com/tocodeil/unix1-course-examples/pull/35.patch","issue_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues/35","number":35,"state":"open","locked":false,"title":"ToCode Solution: תרגול: מבוא לשורת הפקודה","user":{"login":"deena888","id":24670741,"avatar_url":"https://avatars.githubusercontent.com/u/24670741?v=3","gravatar_id":"","url":"https://api.github.com/users/deena888","html_url":"https://github.com/deena888","followers_url":"https://api.github.com/users/deena888/followers","following_url":"https://api.github.com/users/deena888/following{/other_user}","gists_url":"https://api.github.com/users/deena888/gists{/gist_id}","starred_url":"https://api.github.com/users/deena888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deena888/subscriptions","organizations_url":"https://api.github.com/users/deena888/orgs","repos_url":"https://api.github.com/users/deena888/repos","events_url":"https://api.github.com/users/deena888/events{/privacy}","received_events_url":"https://api.github.com/users/deena888/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-12-25T12:02:32Z","updated_at":"2016-12-25T14:25:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3ce08dc637bd6edb3df6757b693883f86a22d11","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35/commits","review_comments_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35/comments","review_comment_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues/35/comments","statuses_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/statuses/38c7f2d5210f7e42621b411737dc8fcc29e0f5ae","head":{"label":"deena888:07_cmd_lab","ref":"07_cmd_lab","sha":"38c7f2d5210f7e42621b411737dc8fcc29e0f5ae","user":{"login":"deena888","id":24670741,"avatar_url":"https://avatars.githubusercontent.com/u/24670741?v=3","gravatar_id":"","url":"https://api.github.com/users/deena888","html_url":"https://github.com/deena888","followers_url":"https://api.github.com/users/deena888/followers","following_url":"https://api.github.com/users/deena888/following{/other_user}","gists_url":"https://api.github.com/users/deena888/gists{/gist_id}","starred_url":"https://api.github.com/users/deena888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deena888/subscriptions","organizations_url":"https://api.github.com/users/deena888/orgs","repos_url":"https://api.github.com/users/deena888/repos","events_url":"https://api.github.com/users/deena888/events{/privacy}","received_events_url":"https://api.github.com/users/deena888/received_events","type":"User","site_admin":false},"repo":{"id":76948899,"name":"unix1-course-examples","full_name":"deena888/unix1-course-examples","owner":{"login":"deena888","id":24670741,"avatar_url":"https://avatars.githubusercontent.com/u/24670741?v=3","gravatar_id":"","url":"https://api.github.com/users/deena888","html_url":"https://github.com/deena888","followers_url":"https://api.github.com/users/deena888/followers","following_url":"https://api.github.com/users/deena888/following{/other_user}","gists_url":"https://api.github.com/users/deena888/gists{/gist_id}","starred_url":"https://api.github.com/users/deena888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deena888/subscriptions","organizations_url":"https://api.github.com/users/deena888/orgs","repos_url":"https://api.github.com/users/deena888/repos","events_url":"https://api.github.com/users/deena888/events{/privacy}","received_events_url":"https://api.github.com/users/deena888/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deena888/unix1-course-examples","description":"Labs and example files for unix1 course","fork":true,"url":"https://api.github.com/repos/deena888/unix1-course-examples","forks_url":"https://api.github.com/repos/deena888/unix1-course-examples/forks","keys_url":"https://api.github.com/repos/deena888/unix1-course-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deena888/unix1-course-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deena888/unix1-course-examples/teams","hooks_url":"https://api.github.com/repos/deena888/unix1-course-examples/hooks","issue_events_url":"https://api.github.com/repos/deena888/unix1-course-examples/issues/events{/number}","events_url":"https://api.github.com/repos/deena888/unix1-course-examples/events","assignees_url":"https://api.github.com/repos/deena888/unix1-course-examples/assignees{/user}","branches_url":"https://api.github.com/repos/deena888/unix1-course-examples/branches{/branch}","tags_url":"https://api.github.com/repos/deena888/unix1-course-examples/tags","blobs_url":"https://api.github.com/repos/deena888/unix1-course-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deena888/unix1-course-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deena888/unix1-course-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/deena888/unix1-course-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deena888/unix1-course-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/deena888/unix1-course-examples/languages","stargazers_url":"https://api.github.com/repos/deena888/unix1-course-examples/stargazers","contributors_url":"https://api.github.com/repos/deena888/unix1-course-examples/contributors","subscribers_url":"https://api.github.com/repos/deena888/unix1-course-examples/subscribers","subscription_url":"https://api.github.com/repos/deena888/unix1-course-examples/subscription","commits_url":"https://api.github.com/repos/deena888/unix1-course-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/deena888/unix1-course-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/deena888/unix1-course-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/deena888/unix1-course-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/deena888/unix1-course-examples/contents/{+path}","compare_url":"https://api.github.com/repos/deena888/unix1-course-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deena888/unix1-course-examples/merges","archive_url":"https://api.github.com/repos/deena888/unix1-course-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deena888/unix1-course-examples/downloads","issues_url":"https://api.github.com/repos/deena888/unix1-course-examples/issues{/number}","pulls_url":"https://api.github.com/repos/deena888/unix1-course-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/deena888/unix1-course-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/deena888/unix1-course-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deena888/unix1-course-examples/labels{/name}","releases_url":"https://api.github.com/repos/deena888/unix1-course-examples/releases{/id}","deployments_url":"https://api.github.com/repos/deena888/unix1-course-examples/deployments","created_at":"2016-12-20T10:55:34Z","updated_at":"2016-12-10T09:57:50Z","pushed_at":"2016-12-25T12:14:34Z","git_url":"git://github.com/deena888/unix1-course-examples.git","ssh_url":"git@github.com:deena888/unix1-course-examples.git","clone_url":"https://github.com/deena888/unix1-course-examples.git","svn_url":"https://github.com/deena888/unix1-course-examples","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tocodeil:master","ref":"master","sha":"5bb5f97bed27344dd4ffcfc0d1990fca55ec5948","user":{"login":"tocodeil","id":20875340,"avatar_url":"https://avatars.githubusercontent.com/u/20875340?v=3","gravatar_id":"","url":"https://api.github.com/users/tocodeil","html_url":"https://github.com/tocodeil","followers_url":"https://api.github.com/users/tocodeil/followers","following_url":"https://api.github.com/users/tocodeil/following{/other_user}","gists_url":"https://api.github.com/users/tocodeil/gists{/gist_id}","starred_url":"https://api.github.com/users/tocodeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocodeil/subscriptions","organizations_url":"https://api.github.com/users/tocodeil/orgs","repos_url":"https://api.github.com/users/tocodeil/repos","events_url":"https://api.github.com/users/tocodeil/events{/privacy}","received_events_url":"https://api.github.com/users/tocodeil/received_events","type":"Organization","site_admin":false},"repo":{"id":76104406,"name":"unix1-course-examples","full_name":"tocodeil/unix1-course-examples","owner":{"login":"tocodeil","id":20875340,"avatar_url":"https://avatars.githubusercontent.com/u/20875340?v=3","gravatar_id":"","url":"https://api.github.com/users/tocodeil","html_url":"https://github.com/tocodeil","followers_url":"https://api.github.com/users/tocodeil/followers","following_url":"https://api.github.com/users/tocodeil/following{/other_user}","gists_url":"https://api.github.com/users/tocodeil/gists{/gist_id}","starred_url":"https://api.github.com/users/tocodeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocodeil/subscriptions","organizations_url":"https://api.github.com/users/tocodeil/orgs","repos_url":"https://api.github.com/users/tocodeil/repos","events_url":"https://api.github.com/users/tocodeil/events{/privacy}","received_events_url":"https://api.github.com/users/tocodeil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tocodeil/unix1-course-examples","description":"Labs and example files for unix1 course","fork":false,"url":"https://api.github.com/repos/tocodeil/unix1-course-examples","forks_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/forks","keys_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/teams","hooks_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/hooks","issue_events_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues/events{/number}","events_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/events","assignees_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/assignees{/user}","branches_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/branches{/branch}","tags_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/tags","blobs_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/languages","stargazers_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/stargazers","contributors_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/contributors","subscribers_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/subscribers","subscription_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/subscription","commits_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/contents/{+path}","compare_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/merges","archive_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/downloads","issues_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues{/number}","pulls_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/labels{/name}","releases_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/releases{/id}","deployments_url":"https://api.github.com/repos/tocodeil/unix1-course-examples/deployments","created_at":"2016-12-10T09:57:50Z","updated_at":"2016-12-10T09:57:50Z","pushed_at":"2016-12-25T13:52:07Z","git_url":"git://github.com/tocodeil/unix1-course-examples.git","ssh_url":"git@github.com:tocodeil/unix1-course-examples.git","clone_url":"https://github.com/tocodeil/unix1-course-examples.git","svn_url":"https://github.com/tocodeil/unix1-course-examples","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":21,"forks":17,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35"},"html":{"href":"https://github.com/tocodeil/unix1-course-examples/pull/35"},"issue":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues/35"},"comments":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/tocodeil/unix1-course-examples/statuses/38c7f2d5210f7e42621b411737dc8fcc29e0f5ae"}}}}
{"actor":{"display_login":"vitalipe"}}