LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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


Reply
  Search this Thread
Old 03-11-2006, 01:36 AM   #1
khurramshahzad
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
10 Linux How -To's


Hi,
i am a newbie to linux. I have osme questions that i am sure i will find answers from you people. So without further delay .....
Q.1 If you need to execute all shells in a particular directory, say you have 20 shell scripts to execute one after the other. How you will do it?

Q.2 How you can make a file or directory "immutable" that is file cannot be modified or deleted; even by ROOT?

Q.3 How would you take backup of only the last accessed files from a directory?

Q.4 How can you quickly find (locate) the path of any linux command or system file/dir? Such as I need to know that from where the command "cp" runs? or where the system directory "rc1.d" located?

Q.5 Linux command "cat" can be used to display contents of a file from top-to-bottom, what if you wish to display contents from bottom-to-top?

Q.6 How can you display file last accessed/modified/changed/size/file-type/Inode No/permissions/Creator/Group Owner using just one command?

Q.7 If you send an important file to someone remotely (via email), is there any simple way that you can ensure that the file received by user is the same that
you send him? HINT: Message Digest

Q.8 How can you check the login status based on users created in /etc/passwd? that which users logged-in when? and which users never logged-in?

Q.9 How can you apply security to your linux box, to block ICMP? no one should than be able to ping the machine remotely on network?

Q.10 Using which command; you can display the system current status? (processor, memory, users, swap and other system status).
Many many thanx in advance for answering these questions. I am waiting......
 
Old 03-11-2006, 02:11 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670

These look like homework questions. There is a policy on this board against doing peoples homework.

I would recommend reading the core-utils manual. The most common commands are a part of core-utils, and you will learn a lot from linux by reading this one.

If you install the core-utils source, there is a target for "make ps" and maybe even "make pdf". This will get you a print worthy version of the manual. Elsewise, you can use the "info core-utils" command instead.
 
  


Reply


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
How to's? Jayce21 Linux - Newbie 2 12-16-2005 12:20 AM
how-to's vs tutorials obnascar Linux - Newbie 2 09-06-2005 12:22 PM
sendmail how to's emailssent Linux - Newbie 2 09-27-2004 04:00 AM
are there any quick how-to's to linux? ryan_jason Linux - Newbie 2 05-07-2004 03:05 AM
How to's zWaR Linux - Newbie 2 02-22-2004 10:51 AM


All times are GMT -5. The time now is 10:57 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