Search Results

Search: Posts Made By: marwan
Forum: BSD 04-16-2009
3,637
Posted By marwan
Good book about the freeBSD architecure
Hi Guys,
I need some help in getting a good book that describes the internals of the freeBSD OS, like the architecure, the process and memory management, etc..
I have some book which is...
2,386
Posted By marwan
thanks kamitsin for your fast response, but...
thanks kamitsin for your fast response, but execuse me as i am a liitle new with that.
the option -mtime specifies the time as a multiple of 24 hours, and don't specify the whole day as i want, and...
2,386
Posted By marwan
thanks man, i know that i am on the right track,...
thanks man, i know that i am on the right track, but i need more help than that :)
2,386
Posted By marwan
tarring large no. of files
dears,
I have a folder containing huge no. of files, some of them are created on AUG 16, AUG 17 and AUG 18, for example.
All I want to do is tarring all the files created on a certain date, say AUG...
26,966
Posted By marwan
it works thanks for your usfull hints. marwan
it works
thanks for your usfull hints.
marwan
22,512
Posted By marwan
I noticed in the man page for grep that the...
I noticed in the man page for grep that the command has two paths
/usr/bin/grep
/usr/xpg4/bin/grep

the -f option must be run using the second one:
/usr/xpg4/bin/grep -f FILE2 FILE1

I really...
26,966
Posted By marwan
thanks Matrixmadhan, i tried your first...
thanks Matrixmadhan, i tried your first suggession, and it works, but the output is not what i want.
for example: if the for loop run 4 times, then output will display the file 4 times on the...
26,966
Posted By marwan
sed in a for loop
dear guys,
I want to replace the beginning of some lines in a file by (,)
The sequence number of lines is located in a file named numbers
so, i used this simple script to do so, but it didn't...
22,512
Posted By marwan
grep -f command
Dear guys,
I have a file, let it be FILE1, and i want to grep some patterns from it, and the patterns are located in another file, FILE2, so i used the command:
grep -f FILE2 FILE1
but it seems...
1,989
Posted By marwan
thanks Shell_Life for your fast reply
thanks Shell_Life for your fast reply
1,989
Posted By marwan
response of a for loop?!
Dear guys,
I don't know the response of a for loop in this situation:
suppose that file1 is an empty file.

and i make a for loop as :
for i in `cat file1`

What will be the response of the...
1,983
Posted By marwan
Thanks Solfreak for your reply, but can you...
Thanks Solfreak for your reply, but can you explain it for me, please.
Thanks
9,893
Posted By marwan
Telnet and ssh in a script
dear all,
I know that this question has been asked before frequently, but I really don't get it. My question is composed of several ones.

First:To telnet through a script, I was told...
1,983
Posted By marwan
sorting the files will not work in all cases, if...
sorting the files will not work in all cases, if I sorted file1 and file2, nothing will change.
1,983
Posted By marwan
comparing two files
Hi everyone,
I have two files, and i want to detect the diffrent lines in these files. I tried to use the comm and diff commands, but I got that they are only comparing the lines in the same...
15,964
Posted By marwan
Dear Zazzybob, thanks so much for the...
Dear Zazzybob,
thanks so much for the information, but i am so new to unix, and I can't completely follow up with u. I need to understand the source of the problem, that is why the sort command is...
15,964
Posted By marwan
a strange message when executing the sort command
Dear all,
when I issue the command:
gunzip -c file.gz |sort
the command is executed normally and correctly but a message keeps appearing everytime I run the command:

the message:
sort:...
3,251
Posted By marwan
I think it can work by this way also: sort...
I think it can work by this way also:
sort file1 |uniq -d > file2
this will extract the duplicated lines and redirects them to file2

you can also specify the number of duplication of every line...
7,337
Posted By marwan
the TEST command
Hi everyone,
I am new to UNIX and scripting, and I have some problems with the test command.
when i try to execute the command:
test 20070327.gz > 20070320.gz
i try to make a charachter string...
42,306
Posted By marwan
reading a zipped file without unzipping it?
Dear all,
I would like to ask how i can read a zipped file (file.gz) without actually unzipping it?
i think there is a way to do so but i can't remember it..
can anyone help?
thanks in advance..
Showing results 1 to 20 of 20

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