Welcome, Guest. Please login or register.
+  Linux Soft Forum
|-+  Discută» /dev/random» Comanda UNIX preferată
[Picture 161] [Picture 160] [Picture 159]
Username:
Password:
 
Pages: [1] 2   Go Down
  Print  
Author Topic: Comanda UNIX preferată  (Read 4679 times)
0 Members and 1 Guest are viewing this topic.
mapleoin
Admini
**

mapleoin@jabber.org


WWW
« on: August 26, 2007, 08:27:27 AM »

Hai să postăm fiecare câte o comandă UNIX interesantă, dar mai necunoscută. (şi preferabil cât mai inutilă Wink )
Încep eu:
Comanda yes(1), care e inclusă în coreutils scrie un string în mod repetat până îi dai kill, adică cam aşa:

Code:
% yes I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel
I R better than Weasel

etc.

Ce poate fi mai inutil?

Later: Ah, şi dacă o comandă a fost postată deja, nu o repetaţi!

ATENTIE! Nu folosiți comenzile de aici decât dacă înțelegeți exact ce fac și la ce risc vă expuneți. Unele dintre ele vă pot compromite sistemul.
« Last Edit: February 19, 2008, 11:07:50 AM by mapleoin » Logged

~Empathy~
Veteran
**

Decadence is Bliss...


« Reply #1 on: August 26, 2007, 10:33:09 AM »

dd(1), nu e necunoscuta si in nici un caz inutila dar e preferata mea Smiley. Ar mai fi comanda say(1) din Mac OS X care iti vorbeste.
« Last Edit: August 26, 2007, 10:33:24 AM by ~Empathy~ » Logged

gheorghe
Veteran
**


« Reply #2 on: August 26, 2007, 03:46:56 PM »

Code:
gheorghe@gheorghe:~$ true
gheorghe@gheorghe:~$ echo $?
0
gheorghe@gheorghe:~$ false
gheorghe@gheorghe:~$ echo $?
1

Nu e chiar inutila, dar ma rog.
Logged
wonder
Veteran
**


WWW
« Reply #3 on: August 26, 2007, 03:57:58 PM »

Comanda preferata:
Code:
ls
Comanda inutila dar care nu e default:
Code:
cowsay LinuxSoft
 ___________
< LinuxSoft >
 -----------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
« Last Edit: August 26, 2007, 03:58:29 PM by wonder » Logged

Give what you have. To someone, it may be better than you dare to think.
My blog wonder.rodp.net
bogdanix
Membru
*


« Reply #4 on: August 27, 2007, 08:52:39 PM »

Code:
/home/bogdan# apt-get moo
          (__)
          (oo)
   /------\/
  / |     ||
 * /\---/\
    ~~   ~~
...."Have you mooed today?"...
« Last Edit: August 27, 2007, 08:55:59 PM by bogdanix » Logged
sonel
Membru
*

« Reply #5 on: August 28, 2007, 12:19:25 PM »

tar --help | halt

 lamo

 lol
Logged
tusov
Membru
*

tilt


« Reply #6 on: September 01, 2007, 03:37:52 AM »

Code:
$make love; rehash
Not war.
Logged

copy on, paste (b)in, print out
mudrii
Veteran
**

« Reply #7 on: September 01, 2007, 04:44:42 AM »

sed
Logged
hydrarulz
Veteran
**

warning flame-war


WWW
« Reply #8 on: September 01, 2007, 12:55:02 PM »

Code:
grep root /etc/shadow | cut -f 2 -d :
Logged

unixlust
Membru
*


« Reply #9 on: September 07, 2007, 01:58:11 PM »

Code:
[root@inspire ~]# echo "127.0.0.1          google.com" >> /etc/hosts

sau altfel spus, cum sa pici google fara flood.pl Smiley
Logged

my blog

And on the 8th day, God gave the people Google so that all the problems of the universe could be researched from one central place. And it was good.
Yehppael
Membru
*


« Reply #10 on: September 07, 2007, 03:14:34 PM »

fortune
Logged
gheorghe
Veteran
**


« Reply #11 on: September 07, 2007, 08:16:00 PM »

sync
Logged
gheorghe
Veteran
**


« Reply #12 on: September 22, 2007, 02:21:37 PM »

gheorghe@gheorghe:~$ [
bash: [: missing `]'
Logged
skaarj
Membru
*

« Reply #13 on: January 26, 2008, 12:41:34 AM »

Unix 6.2BSD/sparc64 (gateway.campusupg.ro) ttyv5
login as: skaarj
Using keyboard-interactive authentication.
Password:
Last login: Fri Jan 25 19:26:30 2008 from 192.168.1.5
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.


% man woman
No manual entry for woman
%
%
% ar -p god
ar: God nonexistent
%
%
% %blow
bash: fg:  %blow: no such job
%
%
%
% make sex
make: don't know how to make sex. Stop
%
%
% ^D
logout


alte comenzi:   strip, finger, touch, gasp, mount, yes, yes, unmount, make clean, slip

comanda care as dori-o sa functioneze pe sistemele *nix:   uubp  [unix to unix beer protocol]
Logged
tusov
Membru
*

tilt


« Reply #14 on: January 26, 2008, 03:32:28 PM »

#script snort.feb.08.2008
Logged

copy on, paste (b)in, print out
Pages: [1] 2   Go Up
  Print  
 
Jump to: