Search Results

Search: Posts Made By: sachinkl
32,095
Posted By sachinkl
* indicates a executable file.... you can...
* indicates a executable file....

you can find that by running the below command :

$ ls -F
5,694
Posted By sachinkl
Hey vbe....I need to do it through a unix script.
Hey vbe....I need to do it through a unix script.
5,694
Posted By sachinkl
Find and delete files and folders which are n days older from one unix server to another unix server
Hi All,

Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.

Please note that I need to delete files on remote unix server.So,...
8,484
Posted By sachinkl
ok... give me a command which searches for...
ok...

give me a command which searches for files only in the current directory and no sub directories and deletes them at the same time.

Also, please consider the point that the file list is...
8,484
Posted By sachinkl
Balaji, This will list all the directories,...
Balaji,

This will list all the directories, but i need only the matching directories.

I tried to update the command like this:

ls -l [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] | grep...
8,484
Posted By sachinkl
List matching directories in current folder only on AIX
Hi,

I need to find the list of matching direcories in current folder only and no subfolders on AIX.I tried -maxdepth option but its not working.

Also, tried ls -d option to list the matching...
2,009
Posted By sachinkl
i guess u need to use sort command further...
i guess u need to use sort command further...
2,009
Posted By sachinkl
I am not sure why are you using -exec with ls...
I am not sure why are you using -exec with ls -ltr..You can directly use like,

find / -name "*pattern*" | ls -ltr
915
Posted By sachinkl
can u elaborate little more. I am not sure what...
can u elaborate little more. I am not sure what exactly you are trying to do..
28,709
Posted By sachinkl
sending multiple files along with mail message using uuencode
Hi,

I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail.

I am trying sumthing like below but it only sends me the text message...
Forum: Solaris 02-15-2011
7,668
Posted By sachinkl
Yesterday's date on Sun solaris
Can someone help me with the command to get yesterday's date on Sun solaris??
8,623
Posted By sachinkl
Easiest way would be: Display N lines after...
Easiest way would be:

Display N lines after match

The following example prints the matched line, along with the 3 lines after it.

A stands for after the matching line,3 fetch next 3rows
$...
3,194
Posted By sachinkl
This is the perfect answer that i was looking...
This is the perfect answer that i was looking for. Great job Rajamadhavan:b:
47,484
Posted By sachinkl
What is -mtime 0 in find command?
What is "-mtime 0" option in find command. Does it consider the files that are of today lets say today is 4th Aug or will include files 24 hrs past from the current time????
3,194
Posted By sachinkl
Hi Pravin.. I tried what u said but it...
Hi Pravin..

I tried what u said but it gives me the below error:

awk: syntax error near line 1
awk: bailing out near line 1
$ xargs: Child killed with signal 13
3,194
Posted By sachinkl
$ ls -l | awk '/Aug 2/ { print $NF }' | xargs...
$ ls -l | awk '/Aug 2/ { print $NF }' | xargs grep -c 'sachin'

This is wat i was looking for. Can you tell me what is xargs and what does it do . Also, it gives me filenames and the count of...
3,194
Posted By sachinkl
It still does not answer my question. It looks...
It still does not answer my question. It looks for string 'sachin' in the filenames which is i dont want. I need to find total count of string 'sachin' in the text present inside the files not in the...
3,194
Posted By sachinkl
It just give me files of Aug 3. How about finding...
It just give me files of Aug 3. How about finding the total count of a string lets say "sachin" in all the files of Aug 3
3,194
Posted By sachinkl
i need to find all files of lets say Aug 2 and...
i need to find all files of lets say Aug 2 and the counts for a particular string lets say "abc" is present in the files received for Aug 2
3,194
Posted By sachinkl
Find files of particular day
Hi,

I need to find all files of particular day lets say for 2nd august in below.

-rw-r--r-- 1 skl eusdc 8168 Aug 5 19:31 aabc123.txt
-rw-r--r-- 1 skl eusdc 4251 Aug 5...
19,424
Posted By sachinkl
its kill 0(zero) ...and i think you tried with o...
its kill 0(zero) ...and i think you tried with o (character) its zero actually.
Forum: Solaris 08-02-2010
5,239
Posted By sachinkl
to set alias for a command use, ex: below ...
to set alias for a command use, ex: below

alias rm = "rm -i"
Forum: Solaris 08-02-2010
3,918
Posted By sachinkl
1)to see the list of Environment variables use...
1)to see the list of Environment variables use ..... ENV command...they can be set in your.profile file in your home directory.....

Or to set from command prompt use export PATH = $PATH:<add path...
12,227
Posted By sachinkl
grep -v "ID=180" <filename> > abc.txt # will...
grep -v "ID=180" <filename> > abc.txt # will print all lines that does not match the string "ID=180" and will direct them to abc.txt
7,425
Posted By sachinkl
There is another way of doing it ...just mention...
There is another way of doing it ...just mention the alias name in your mailx statement instead of actually mentioning the all id's that can complex your statement. Actual entry for your id's can be...
Showing results 1 to 25 of 32

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