Shell Programming Blog Shell Programming Blog

Friday, 5 October 2012

Have questions?? Need Clarifications???

Unknown | 08:34 |


Hi All,

I know that lot of us would get stuck while doing programming in Shell scripting or doing something in Linux. If you are badly in help and need to find an answer, you can make use of this page. Please post your questions on shell scripting in the comments box along with your email. Your questions will be answered and will be sent to your email. Please make use of this free service :)

Thanks,
Beneficial Knowledge

6 comments:

  1. Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output. thanks. festina73@gmail.com

    Regards

    ReplyDelete
    Replies
    1. Here is the answer for your question @Fulgen

      http://waytobliss.blogspot.in/2012/10/linux-bash-scripting-how-to-modify-ls.html

      Delete
  2. write a shell script to emulate the Id command of PRIMOS which lists files and directories.
    It list files first with a header FILES and then directories with a header DIRECTORIES.
    This command has several options. The main ones are.
    -file select files only
    -dir select directories only
    -reverse sort in reverse order
    -no_header put no header on the output
    -brief output the header only
    -size display the size of each file
    -help display Id´s syntax and options.

    ReplyDelete
    Replies
    1. You can write this script using getopts and functions. I will post the answer for this question in few days.

      Delete
  3. Using (Set -A) write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multi column output.

    ReplyDelete
    Replies
    1. The set verb does not have an option such as -A.

      Delete

Don't just read and walk away, Your Feedback Is Always Appreciated. I will try to reply to your queries as soon as time allows.

Note:
1. If your question is unrelated to this article, please use our Facebook Page.
2. Please always make use of your name in the comment box instead of anonymous so that i can respond to you through your name and don't make use of Names such as "Admin" or "ADMIN" if you want your Comment to be published.
3. Please do not spam, spam comments will be deleted immediately upon my review.

Regards,
Mohamed Abubakar Sittik A

 

Shell Programming Copyright © 2012 Shell Programming theme is Designed by Abusittik, Shell Programming