The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > The Lounge > What's on Your Mind?
.
google unix.com



What's on Your Mind? Come inside and relax a while. Maybe play a few Video Arcade Games if you have free time.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To retrieve Date/Time from Windows by unix/linux boxes mpc8250 Shell Programming and Scripting 4 02-09-2008 12:31 AM
How to read max of 10 file at a time? cedrichiu Shell Programming and Scripting 10 06-23-2007 08:52 AM
Linux Going Big Time and Prime Time Against Windows, UNIX (WSJ) (Addict 3D) iBot UNIX and Linux RSS News 0 06-21-2007 05:10 PM
im very new to unix/linux can someone tell me the best books to read... 2071fox UNIX for Dummies Questions & Answers 1 11-15-2006 04:03 AM
C program in Unix / Linux - Time differences chprvkmr High Level Programming 11 09-09-2005 01:46 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-20-2009
Rahulpict Rahulpict is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 45
Time to have FUN my Unix/Linux friends...(One liners)...MUST read.. !!

As a mind refresher, I was thinking to start a new thread for ONE LINERS....funny/weird or any technical one liners....

Let me start first......
=================================
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
=================================
  #2 (permalink)  
Old 02-20-2009
Rahulpict Rahulpict is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 45
one more.....
>> If you dont know how to fork() a process u cannnot make a child process !
  #3 (permalink)  
Old 02-20-2009
Rahulpict Rahulpict is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 45
> Bill Gates did not realize was that his daughter would grow up to be a rebel and would never use anything but Linux for her whole life.


> It is not too late to turn back from the GATES of hell. Use Linux
  #4 (permalink)  
Old 02-20-2009
tlarkin tlarkin is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 42
ok, here is what I got

chown -R us /base

Or a geekier version


Code:
#!/bin/bash

for base in * do
    	    if [! -O $base] then
       	        chown us:us $base;
    	    fi;
	done;
echo "All of your base now belong to us!"

exit

Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0