Search Results

Search: Posts Made By: priyak
6,267
Posted By priyak
Hi JayJay02, Can you try the below command? ...
Hi JayJay02,

Can you try the below command?
DATE=`TZ=GMT-168 date +%y%m%d`

This yielded me
sirahu@sirahu-dt037:~$ DATE=`TZ=GMT-168 date +%y%m%d` ;echo $DATE
120912

where ...
Forum: Red Hat 09-11-2012
5,103
Posted By priyak
Hi, Can you post the error you are getting...
Hi,

Can you post the error you are getting while attempt to connect the server.
6,416
Posted By priyak
Hi dsfreddie, Try the below command to...
Hi dsfreddie,


Try the below command to get the next day's date
busdt=`date --date='tomorrow' +%Y%m%d`
2,334
Posted By priyak
hi BarrTech, have you tried this grep -iw...
hi BarrTech,

have you tried this grep -iw "s.r.*" input_file
1,875
Posted By priyak
Hi Ravi, Hope this will work for you.. ...
Hi Ravi,

Hope this will work for you..

find / -type f -name abc.txt -exec grep -l "Created by xyz" {} \;
1,886
Posted By priyak
Hi, if you your requirement is to print the...
Hi,

if you your requirement is to print the list of files except the symlinks.Then you can use both the codes.

1.In the first code -P option : Never follow symbolic links.So symlinks wont get...
9,639
Posted By priyak
Hi skhichi , Try this command below mutt...
Hi skhichi ,

Try this command below
mutt -e 'set content_type="text/html"' me@mydomain.com -s "subject" -a "sample.csv"< message.html
6,346
Posted By priyak
Hi, ll is an alias in most Linux...
Hi,

ll is an alias in most Linux distributions that stands for: $ls -l
6,346
Posted By priyak
Hi, Try below command too ll | cut -f2...
Hi,

Try below command too
ll | cut -f2 -d">"
6,722
Posted By priyak
sorry dude... now its clear... actually i was...
sorry dude... now its clear... actually i was little bit confused
Forum: AIX 08-24-2012
61,710
Posted By priyak
Hi , Instead of mentioning 0,5,10,.. make it...
Hi ,

Instead of mentioning 0,5,10,.. make it as read by

*/5 * * * * /path/to/script.sh

Try this this will be running every five minutes once :b:
Forum: OS X (Apple) 08-24-2012
4,339
Posted By priyak
Hi, Check the user and folder permissions...
Hi,

Check the user and folder permissions for this folder "/Volumes/X2_Data/Shares/CasperShare" .You cant copy when there is no permission for others.By changing the permission of the source you...
6,722
Posted By priyak
Hi elixir_sinari, Have tried using that...
Hi elixir_sinari,

Have tried using that command. When i attempted it resulted me with both the patterns.I think you have misunderstood the symbol '|' :confused:
6,722
Posted By priyak
grep'ing some strings
If you want to search multiple strings in a particular folder use the below commands.

grep -r '<pattern1>\|<pattern2>\|etc' /path/to/dirctory

the above command will yield the output of line...
6,722
Posted By priyak
Hi, Try this command this will list the file...
Hi,

Try this command this will list the file containing the string/pattern.
grep -lr <string/pattern> directory path
Showing results 1 to 15 of 15

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