Search Results

Search: Posts Made By: jaay
2,516
Posted By jaay
test -s help
i'm supposed to come up with a script that

-accepts a directory as an optional command line parameter

-clears the screen

-displays an error message and terminates if more than one parameter...
3,516
Posted By jaay
Thanks! that helped me alot!
Thanks! that helped me alot!
3,516
Posted By jaay
I tried that and it still doesn't work.
I tried that and it still doesn't work.
3,516
Posted By jaay
parameters
i'm supposed to come up with a script that
-accepts a directory as an optional command line parameter
-display an error message and terminates if more than one parameter is provided
-use the...
8,167
Posted By jaay
this is what i have so far, would it be right? ...
this is what i have so far, would it be right?

# !/bin/bash
# file-info script - allows user to view information on
# files in a specified directory

dirname=$1

clear

if [ $# -ge 2 ];...
8,167
Posted By jaay
how does set--$(ls -l filename) work?
i'm not too sure how to use set--$(ls -l filename) to set values of positional parameters.

i'm supposed to write a script that accepts a directory as an optional command line parameter. and for...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy