Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 06-18-2004, 06:53 AM   #1
LQ Newbie
Registered: Jun 2004
Location: Italy
Posts: 2

Rep: Reputation: 0
Question Create a file of 10MB

Hy guys, I need a help for an exam!! Please!!
I need to know how to:

-search all SUID root files (and what does it mean SUID?)
-force a policy for the passwords

-search the biggest file in a determinated branch

-disable a user to access the floppy

-qualify a user to execute the comand /sbin/fdisk through sudo

-set up the execution of a program at a determinated time of every (for example) Tuesday

-copy some files(for ex. which name follows a determinated pattern) of a branch in another one mantaining the herarchy of the directories

-calcolate the space occupated by the files of a determinated user

- create a file of 10MB constituted of zeros and give the process lowest priority than the default

-create a file of 10MB constituted of casual characters and search if it contains a string,for ex. "hello"

Old 06-18-2004, 07:25 AM   #2
Registered: May 2004
Location: Merida (Spain)
Distribution: Debian
Posts: 89

Rep: Reputation: 15
Well.... you are not going to learn so much if you don't research a little...

some answers (I hope you will be able to assign the answer to the correct question ........)

find /-user root -perm -4000 -print

dd if=/dev/zero of=my_10mb_file bs=10240 count=1

Old 06-18-2004, 10:30 AM   #3
LQ Newbie
Registered: Jun 2004
Location: Italy
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks GOALA, very kind from you but i need the others too.

Old 06-18-2004, 02:21 PM   #4
Alex Cavnar
Registered: Jun 2003
Location: Nashville, TN
Distribution: FreeBSD, Slack, and DebianPPC
Posts: 60

Rep: Reputation: 15
I don't want to sound mean, but how are you going to learn anything by us telling you something?

You have teachers at school who are paid to teach you this stuff. Additionally, there are books out there with exactly this type of information. i'm sure Google could help you find the rest of the questions, too.

You're going to be better off researching this on your own. The goal of questions like these are not to get the correct answer, but to get you to understand the program options used to achieve the results.
Old 06-18-2004, 03:24 PM   #5
Registered: Jan 2004
Location: UK
Distribution: Arch
Posts: 33

Rep: Reputation: 15
Actually dd if=/dev/zero of=my_10mb_file bs=10240 count=1 only creates a file of 10KB to create a file of 10MB you would do this instead

dd if=/dev/zero of=my_10mb_file bs=10485760 count=1
Old 06-18-2004, 04:52 PM   #6
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
You might also want to check here and pay special attention to item #10 in the list. -- J.W.
Old 06-18-2004, 05:16 PM   #7
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
As J.W. pointed out, the rules are quite clear on this.
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
A question would have been allowable, all your questions are not. At no point have you said what you have tried to get this to work. Read your class notes, hit Google or Google Linux or ask a classmate or your teacher. The best way to learn is to research and then do.

I am closing this thread.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create header file for existing .c file hk_michael Programming 5 02-25-2005 06:26 PM
diamond home phoneline 10Mb problemmmmmmm uscatu090 Linux - Networking 0 11-25-2004 06:45 AM
I need to email a 10MB this possible? glenn69 Linux - Newbie 4 10-14-2004 02:01 AM
Bonding speed only 10Mb sdandeker Linux - Networking 2 08-30-2004 03:55 PM
10Mb/s and 100Mb/s on same network plisken General 2 05-07-2003 11:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration