Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6608699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:38:14+00:00 2026-05-25T19:38:14+00:00

QUESTION 1 (13 marks) On gaul, change your working directory to /bin/ (a)What will

  • 0

QUESTION 1 (13 marks)
On gaul, change your working directory to /bin/
(a)What will you get when executing pwd command? Explain why did you get that output?

(b) Use a Unix command to display the file names (do not display any of the directory contents, if any) in the current
working directory whose names:
I. (2 marks) are of length exactly 15 characters

This is the only one I can not get done on my assignment, i wrote two regular expressions but i can not tell which one is correct

ls /bin/ | grep -c ‘([0-9])([a-z])*{1,15}’
8

ls /bin/ | grep -c ‘[0-9][a-z]*{1,15}’
45

it has to only be characters A-Z, 0-9 and _

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:38:15+00:00Added an answer on May 25, 2026 at 7:38 pm

    I think the following ls command is enough for your problem:

    ls -d ???????????????
    

    from ls man page:

     -d, --directory
                  list directory entries instead of contents, and do not dereference symbolic links
    

    and 15 “?” means, the name of dir/file should be exactly length of 15.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please help me fill the question marks. I want to get a feed from
I can get it to remove all the question marks with the code below:
Does anyone know why there are question marks (with a number) after the images
Reading this question I found this as (note the quotation marks) code to solve
I am working on an app that counts the number of questions marks in
I'm getting these little diamonds with question marks in them in my HTML attributes
I'm dealing with two question marks in a single entry website. I'm trying to
I have a folder name in Japanese. CFileDialog getpathNameis returning some question marks when
I got this site in chrome the top right menu has question marks after
Possible Duplicate: How to get UTF-8 working in java webapps? I have a servlet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.