Search Results

Search: Posts Made By: asterisk-ix_use
2,567
Posted By asterisk-ix_use
Few mistakes in your code: 1. Your 'for' loop...
Few mistakes in your code:
1. Your 'for' loop does nothing! Remove the ; after for statement
2. You are writing an assignment when u say Change it to comparision.
3. Use a print


awk -F,...
3,158
Posted By asterisk-ix_use
Use -1 switch of ls instead of awk ...
Use -1 switch of ls instead of awk


#!/usr/bin/perl -w
use strict;
my $count=0;
my @list=`ls -1`;
print "@list";
5,267
Posted By asterisk-ix_use
Same way!!
Execute this command in the TEST directory..


tar -cvf tarfile.tar *
Showing results 1 to 3 of 3

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