Search Results

Search: Posts Made By: purelltab
9,114
Posted By purelltab
How do I store the following in .profile file, so...
How do I store the following in .profile file, so that I can easily invoke and not type the whole line evertime?

I am only asking as I do this in various directories several times a day.
...
9,114
Posted By purelltab
Also could I read multiple fields say month and...
Also could I read multiple fields say month and file name?

# read month file; grep "$month" "$file"

Thanks
9,114
Posted By purelltab
Do I need write a .sh file and submit? ...
Do I need write a .sh file and submit?

Anyway I could accomplish this in command prompt...

For example

$cat <file> | grep "&input_month"

>then I input : April
9,114
Posted By purelltab
How to make command line interactive?
I have a file with stats for different month, I use the cat and grep combination to search for different month.

cat <file> | grep "April"
cat <file> | grep "May"
cat <file> | grep "June"
etc....
Showing results 1 to 4 of 4

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