Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in
L
Linux Scripts
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • mohamadbashar.disoki
  • Linux Scripts
  • Merge Requests
  • !1

Merged
Opened Jun 30, 2024 by mohamad.shahood@mohamad.shahood
  • Report abuse
Report abuse

Executive program

A shell executable program to determine the number of files within a folder specified by the user. It tests whether the number of files is less than 10 and prints the file names on the original output. If the number is greater than that, it writes the file names within a file in the same folder called numfiles . The name of the folder to be tested is entered by the user . Example of implementation : ./shell.sh folder

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://git.hiast.edu.sy/mohamad.shahood/linux-scripts.git shell.sh
git checkout -b mohamad.shahood/linux-scripts-shell.sh FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff mohamad.shahood/linux-scripts-shell.sh

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Changes 2
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: mohamadbashar.disoki/linux-scripts!1

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

HIAST - GitLab