Search Results

Search: Posts Made By: mohit_iitk
19,282
Posted By Raghuram.P
HI, You can get the filename alone excluding...
HI,
You can get the filename alone excluding the directory using following command
for file in `ls test_suite/*.args`
do
F_NAME=$(basename ${file})
done

Thanks
Raghu
4,414
Posted By ahamed101
Paste the output of ls -l Which is your OS? ...
Paste the output of ls -l
Which is your OS?

--ahamed
4,414
Posted By chihung
If you are using Linux, you can use 'ls -l...
If you are using Linux, you can use 'ls -l --time-style=+%b'

Below code print out only files


#! /bin/sh

if [ $# -ne 1 ]; then
echo "Usage: $0 <month>"
echo " month - Jan, Feb,...
Showing results 1 to 3 of 3

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