LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 06-18-2004, 05:53 AM   #1
Abulfos
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"

I REALLY NEED IT PLEASE!!!!!!!! AS SOON AS POSSIBLE BECAUSE I NEED TO PRCTICE IN THIS WEEK-END. THANKS
 
Old 06-18-2004, 06:25 AM   #2
Goala
Member
 
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


bye
 
Old 06-18-2004, 09:30 AM   #3
Abulfos
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.

UP
 
Old 06-18-2004, 01:21 PM   #4
Alex Cavnar
Member
 
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, 02:24 PM   #5
enragedchip
Member
 
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, 03:52 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

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

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
As J.W. pointed out, the rules are quite clear on this.
Quote:
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 05:26 PM
diamond home phoneline 10Mb problemmmmmmm uscatu090 Linux - Networking 0 11-25-2004 05:45 AM
I need to email a 10MB file...is this possible? glenn69 Linux - Newbie 4 10-14-2004 01:01 AM
Bonding speed only 10Mb sdandeker Linux - Networking 2 08-30-2004 02:55 PM
10Mb/s and 100Mb/s on same network plisken General 2 05-07-2003 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 AM.

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