Time to have FUN my Unix/Linux friends...(One liners)...MUST read.. !!


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Time to have FUN my Unix/Linux friends...(One liners)...MUST read.. !!
# 1  
Old 02-20-2009
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  
Old 02-20-2009
one more.....
>> If you dont know how to fork() a process u cannnot make a child process !
# 3  
Old 02-20-2009
> 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  
Old 02-20-2009
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

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

You Want to Spend Time with Friends and Family a UNIX.com Cartoon Explainer

Well, this was kinda fun and different: You Want to Spend Time with Friends and Family a UNIX.com Cartoon Explainer https://youtu.be/6jPDpuxI2OA You want to spend time with friends and family. But you are stuck on some problem... Your Linux or Unix code is buggy and you don't know... (1 Reply)
Discussion started by: Neo
1 Replies

2. UNIX for Beginners Questions & Answers

How to read multiple files at same time through UNIX scripting?

How to read multiple files at simultaneously? (1 Reply)
Discussion started by: Priyanka_M
1 Replies

3. What is on Your Mind?

What's your all time favorite UNIX/Linux book?

I can bet everyone has their one favorite book even though we have had read many books on UNIX or Linux. My all time favorite is "Unix Power Tools". This book always made me geeky and I loved the little tricks/tips in the book. I still do! The next favorite would be "Prentice Hall Unix and Linux... (0 Replies)
Discussion started by: admin_xor
0 Replies

4. UNIX for Dummies Questions & Answers

read fails in Unix, but succeeds in Linux. Why?

Hi, When I use "read" to parse the sftp command sent via ptty, I ran into a very mysterious case below: --- In Unix, the command ‘quit' is lost. === Fri 13Apr12 15:42:47GMT-sftp_send_command: SENT Fri 13Apr12 15:42:47GMT-sftp_read_resp_line: Parse buffer=quit^M --> Command sent correctly... (2 Replies)
Discussion started by: HgHK
2 Replies

5. What is on Your Mind?

FUN POLL: What is the best UNIX/Linux for. . .?

With so many different flavors of UNIX and Linux available in the world, choosing the best one for yourself, your family, or for your organization can be such an overwhelming and rather difficult decision to make! :eek: If you were a salesman and you had to decide the best UNIX/Linux distro for... (1 Reply)
Discussion started by: MrrrrrNiceGuy
1 Replies

6. UNIX for Dummies Questions & Answers

im very new to unix/linux can someone tell me the best books to read...

im very new to unix/linux operating system and having a hard time understanding the command ( grep, ls, echo and variables) is there any book that is simple to understand... after taking this unix/linux operating system i need to take unix operating system..can someone help me please!!! (1 Reply)
Discussion started by: 2071fox
1 Replies

7. Programming

C program in Unix / Linux - Time differences

Hi Friends, When Iam running c program in redhat linux 7.3 version and PCQ Linux 8.0 version, its taking around 20 seconds. But when Iam running it in HP-UX Release 11i, its taking around 3 minutes. Can anyone throw light on this. Thanks in advance, Praveen. (11 Replies)
Discussion started by: chprvkmr
11 Replies
Login or Register to Ask a Question