Search Results

Search: Posts Made By: madbull41
7,184
Posted By madbull41
#!/bin/bash #copying the out of ls -l command...
#!/bin/bash
#copying the out of ls -l command to a file ls -l > /tmp/tmp.tmp #initilizing
values sum=0 d
ir=0
file=0
link=0
#reading the file while read line do
#getting the...
7,184
Posted By madbull41
My scripts have to print lespace object...
My scripts have to print lespace object information. If it a text print size and name , SL , pipe, if none of the put unknown.

---------- Post updated at 04:26 PM ---------- Previous update was at...
7,184
Posted By madbull41
So I do $1 :e for text, pipe, SL? How c shell...
So I do $1 :e for text, pipe, SL? How c shell know which one is which?
7,184
Posted By madbull41
"${1:e}" what is mean? $1 is command line...
"${1:e}"
what is mean?

$1 is command line right?
switch ( "${1:e}" )
case txt:
echo "$1 is text"
breaksw
case zap:
echo "$1 is text"
breaksw
default:
echo "sorry, $1 is neither...
7,184
Posted By madbull41
We use C Shell atm. Here is more clear...
We use C Shell atm. Here is more clear information C shell script print information about filespace objects.
7,184
Posted By madbull41
Finding file extension on C Shell script
I very new to C Shell. I am trying to do is read from Command line.
Find the if the file is zip, .txt, symbloic link,pipe, unknow (if file is not zip, txt, sy....)
here is what I what got so far....
Showing results 1 to 6 of 6

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