rss
twitter
facebook

Home

Animations 2d 3d




PressCharacterAnimation2D
Read More

VRML - with child - shapes

#VRML V2.0 utf8
#Copyright DM
Shape
{
geometry Box
{
size 2 2 2
}

appearance Appearance
{
material Material
{
diffuseColor 0.1 1.92 1.99
specularColor 0,31,36
ambientIntensity .0533
shininess .32
}
}
}


Transform
{
translation 0 2 0
children

Shape
{
geometry Cylinder
{
radius 1
height 2
side TRUE
bottom TRUE
top TRUE
}

appearance Appearance
{
material Material
{
diffuseColor 0.44 1.44 1.44
specularColor .1 .1 .1
ambientIntensity .117
shininess .4
}
}

}
}

Transform
{
translation 3 0 1
children

Shape
{
geometry Cylinder
{
radius 1
height 2
side TRUE
bottom TRUE
top TRUE
}
appearance Appearance
{
material Material
{
diffuseColor 0.1 .52 1.09
specularColor .92 .43 .01
ambientIntensity .45
shininess .4
}
}

}
}

Transform
{
translation 3 3 1
children


Shape
{

geometry Cone
{
bottom TRUE
}
appearance Appearance
{
material Material
{
diffuseColor 123 .133 .22
specularColor 31 .39 .39
ambientIntensity .07
shininess .13

}
}



}
}
Transform
{
translation 3 2 1
children


Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.44 1.44 1.44
specularColor 31 .39 .39
ambientIntensity .07
shininess .13

}
}
geometry Sphere
{
radius .6

}


}
}


Background
{
groundColor [.51 0.33 0.32
.42 0.15 0.23

.74 0.81 0.53]

skyColor [0.71 0.71 0.71
0.11 0.11 0.11

0.55 0.55 0.55]

skyAngle [1.309,1.709]

}



Shape
{
appearance DEF theTexture Appearance
{
texture ImageTexture
{
url ["http://www.cs.iupui.edu/~aharris/mm/texture/brick1.jpg"]
} # end texture
} # end appearance

geometry Box
{
size 1 2 3
} # end geometry
} # end shape

NavigationInfo
{
type "EXAMINE"
} # end navInfo

Read More

Sample HTML 5




DOWNLOAD

sample.zip

Code by http://www.filamentgroup.com
Read More

Rating

 
<asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always" ChildrenAsTriggers="True">
            <ContentTemplate>
                <ul>
                    <li>An example of five-star rating:
                        <br />
                       
                        <ajaxToolkit:rating runat="server" ID="Rating1"
                            MaxRating="5"
                            CurrentRating="2"
                            CssClass="ratingStar"
                            StarCssClass="ratingItem"
                            WaitingStarCssClass="Saved"
                            FilledStarCssClass="Filled"
                            EmptyStarCssClass="Empty" AutoPostBack="True" OnChanged="Rating1_Changed"
                            >
                        </ajaxToolkit:rating>
                        <asp:Label ID="labelCaption1" runat="server" Text="Selected value: " />
                        <asp:Label ID="labelValue1" runat="server" Text=""></asp:Label>
                    </li>
                   </ul>
            </ContentTemplate>
        </asp:UpdatePanel>


 DOWNLOAD

 
AjaxRatingCS.rar
Read More

Connection Strings

This code below has to be placed in the Web.config file






for more connections Strings go to http://www.connectionstrings.com/
Read More

Calculator

using System.Collections.Generic;
using System.Text;

namespace Calculadora
{
    class Program
    {
        static void Main(string[] args)
        {
            // Declaração de variáveis
            ConsoleKeyInfo n1, n2, op;
            string operacao;


            int resultado = 0;

            Console.Write("SEJA BEM VINDO AO 1º PROGRAMA EM C# DE ALGORITMOS");

            // Recolher 1º oprerando
            Console.Write("\nIntroduza o primeiro operando: ");
            n1 = Console.ReadKey(true);
            Console.Write("\n1º operando: " + (n1.KeyChar));

            // Recolher operação
            Console.Write("\n\nIntroduza a operação: ");
            op = Console.ReadKey(true);
            Console.Write("\nOperação: " + (op.KeyChar));

            // Verificação da necessidade de 2º operando
            operacao = Convert.ToString(op.KeyChar);
            //if (object.Equals(operacao, "+") || object.Equals(operacao, "-") || object.Equals(operacao, "*") || object.Equals(operacao, "/"))
            if (operacao.Equals("+") || operacao.Equals("-") || operacao.Equals("*") || operacao.Equals("/"))
            {
                // Recolher 2º oprerando
                Console.Write("\n\nIntroduza o segundo operando: ");
                n2 = Console.ReadKey(true);
                Console.Write("\n2º operando: " + n2.KeyChar);

                // Efectuar operação
                if (object.Equals(operacao, "+")) resultado = (n1.KeyChar - 48) + (n2.KeyChar - 48);
                else
                    if (object.Equals(operacao, "-")) resultado = (n1.KeyChar - 48) - (n2.KeyChar - 48);
                    else
                        if (object.Equals(operacao, "*")) resultado = (n1.KeyChar - 48) * (n2.KeyChar - 48);
                        else
                            if (object.Equals(operacao, "/") && n2.KeyChar - 48 != 0)
                            {
                                resultado = (n1.KeyChar - 48) / (n2.KeyChar - 48);
                            }
                            else
                            {
                                Console.Write("\n\n### ERRO ###\nImpossível dividir por 0.");
                            }

                // Mostrar resultado
                Console.Write("\n\nO resultado de " + n1.KeyChar + op.KeyChar + n2.KeyChar + " é " + resultado + ".");
            }
            else
            {
                Console.Write("\n\nNÃO HÁ OPERAÇÕES COM APENAS 1 OPERADOR NA VERSÃO 0.1!");
            }
           
            Console.Read();
        }
    }
}

Read More

Windows 2003 R2 Tec

Windows Server 2003 - Active Directory Installation


Windows Server 2003 - DHCP Server Configuration




Windows Server 2003 - Active Directory Users And Computer Management



Learnkey.Windows.Server.2003.Active.Directory.Intrastructure


Windows Server 2003 - Dns Server Configuration


Windows Server 2003 - Dns Server Forwarder Configuration


Windows Server 2003 - Entering To An Windows Server 2003 Domain


Windows Server 2003 - Active Directory Installation
TechNet_Webcast_-_Windows_Server


Read More

Simple Querys

--2.1. Liste todos os nomes dos autores portugueses, ordenados por ordem alfabética?

SELECT NomeAutor
FROM Autor
WHERE Nacionalidade='Portuguesa'
ORDER BY NomeAutor ASC


--2.2. Quais os nomes dos livros de autores portugueses que foram publicados em 2007?

SELECT DISTINCT L.Titulo
FROM Livro L ,Escrito E, Autor A
WHERE L.ISBN=E.ISBN AND
              E.IdAutor=A.IdAutor AND
              YEAR(L.AnoPublicacao)='2007' AND
              A.Nacionalidade='Portuguesa'




--2.3. Quanto é que os Clientes Portugueses gastaram em Livros nas lojas Boa Leitura?

SELECT SUM(Preco * Quantidade) AS Total_Gasto_PT
FROM Compra,Cliente
WHERE Cliente.Pais='Portugal' AND
             Compra.IdCliente=Cliente.IdCliente

--2.4. Diga o nome dos autores que o cliente Marco António comprou, ordenados por ordem 
alfabética.

SELECT DISTINCT NomeAutor
FROM Autor A,Cliente C,Compra CO,Escrito E,Livro L
WHERE L.ISBN=E.ISBN AND
              E.IdAutor=A.IdAutor AND
              L.ISBN =CO.ISBN AND
              CO.IdCliente = C.IdCliente AND
              NomeCliente = 'Marco António' 
ORDER BY NomeAutor ASC
 
--2.5. Quais os editores (Id e Nome), que têm menos de 3 livros seus à venda nas loja Boa Leitura?

SELECT E.IdEditor, E.NomeEditor, Count(*)
FROM Editor E, Livro L
WHERE E.IdEditor=L.IdEditor
GROUP BY E.IdEditor,E.NomeEditor
HAVING COUNT(*)<=3

--2.6. Quais os livros que nunca foram comprados por ninguém?

SELECT L.Titulo
FROM Livro L
WHERE L.ISBN NOT IN (SELECT ISBN FROM Compra)

--2.7. Qual o(s) cliente(s) que gastou(aram) mais em compra de livros em 2008?

SELECT DISTINCT COUNT(CO.IdCliente),NomeCliente
FROM Cliente C, Compra CO
WHERE C.IdCliente = CO.IdCliente AND
              YEAR(DataCompra)='2008'
GROUP BY NomeCliente
ORDER BY NomeCliente DESC

--Opção 1

SELECT Cl.NomeCliente, sum(Quantidade * Preco)
FROM Compra C, Cliente Cl
WHERE Cl.IdCliente = C.IdCliente
              YEAR (C.DataCompra) = '2008' AND
GROUP BY Cl.NomeCliente
HAVING SUM(Quantidade * Preco) = (SELECT TOP 1 SUM(Quantidade * Preco)
FROM Compra C, Cliente Cl
WHERE Cl.IdCliente = C.IdCliente
              YEAR (C.DataCompra) = '2008' AND
GROUP BY Cl.NomeCliente
ORDER BY 1 DESC)

--Opção 2

SELECT TOP 1 WITH TIES NomeCliente, SUM(Preco * Quantidade)
FROM Cliente CL, Compra C
WHERE CL.IdCliente = C.IdCliente
AND YEAR(DataCompra) = '2008'
GROUP BY NomeCliente
ORDER BY 2 DESC

--2.8. Liste os títulos e ano de publicação do editor Gradiva, ordenados por ano de publicação?

SELECT L.Titulo, L.AnoPublicacao
FROM Livro L,Editor E
WHERE E.IdEditor=L.IdEditor AND
              E.NomeEditor like '%Gradiva%'
ORDER BY AnoPublicacao

--2.9. Que livros foram escritos por autores já falecidos?

SELECT L.Titulo,NomeAutor
FROM Livro L ,Escrito E, Autor A
WHERE L.ISBN=E.ISBN AND
              E.IdAutor=A.IdAutor AND
              DataMorte<GetDATE()
SELECT L.Titulo,NomeAutor
FROM Livro L ,Escrito E, Autor A
WHERE L.ISBN=E.ISBN AND
             E.IdAutor=A.IdAutor AND
             DataMorte IS NOT NULL

--2.10. Qual o gasto médio por cliente em 2008, apenas dos clientes que efecturam compras nesse ano?

SELECT NomeCliente, AVG(Preco * Quantidade) AS Gasto
FROM Cliente CLI, Compra C
WHERE CLI.IdCliente = C.IdCliente
             YEAR(DataCompra) = '2008' AND
GROUP BY NomeCliente
ORDER BY NomeCliente DESC



Read More

Computer Graphics

WorldInfo {
title "Bouncing beachball (JavaScript)"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}

Viewpoint {
position 0.0 0.6 8.0
orientation 1.0 0.0 0.0 0.1
}

NavigationInfo {
type [ "WALK", "ANY" ]
headlight FALSE
speed 2.0
}

DirectionalLight {
ambientIntensity 0.5
direction 0.0 -1.0 -0.5
}

#
# Sky
#
Background {
skyColor [
0.0 0.0 1.0,
0.0 0.5 1.0,
0.7 0.7 1.0,
]
skyAngle [
1.371,
1.571,
]
}



#
# Beach
#
Shape {
appearance Appearance {
material Material { }
texture ImageTexture { url "sand.jpg" }
textureTransform TextureTransform { scale 10.0 10.0 }
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-50.0 -1.0 50.0,
50.0 -1.0 50.0,
50.0 -1.0 -50.0,
-50.0 -1.0 -50.0,
]
}
coordIndex [ 0, 1, 2, 3 ]
solid FALSE
}
}

#
# Palm trees
#
Transform {
translation -3.0 -1.0 -10.0
children [
DEF Palm Group {
children [
# Palm tree - in a billboard so it is never edge-on
Billboard {
children [
Shape {
appearance Appearance {
material NULL # emissive texturing
texture ImageTexture { url "palm.png" }
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-2.5 0.0 0.0,
2.5 0.0 0.0,
2.5 11.25 0.0,
-2.5 11.25 0.0,
]
}
coordIndex [ 0, 1, 2, 3 ]
texCoord TextureCoordinate {
point [
0.0 0.0,
1.0 0.0,
1.0 1.0,
0.0 1.0,
]
}
texCoordIndex [ 0, 1, 2, 3 ]
solid FALSE
}
}
]
}
# Fake tree shadow - a black semi-transparent rectangle with
# a texture map to give it the right shape
Shape {
appearance Appearance {
material Material {
diffuseColor 0.0 0.0 0.0
transparency 0.5
}
texture ImageTexture { url "palmsh.png" }
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-2.5 0.05 2.5,
2.5 0.05 2.5,
2.5 0.05 -2.5,
-2.5 0.05 -2.5,
]
}
coordIndex [ 0, 1, 2, 3 ]
texCoord TextureCoordinate {
point [
0.0 0.0,
1.0 0.0,
1.0 1.0,
0.0 1.0,
]
}
texCoordIndex [ 0, 1, 2, 3 ]
solid FALSE
}
}
]
}
]
}
Transform { translation -5.0 -1.0 -6.0 scale 0.6 0.6 0.6 children USE Palm }
Transform { translation 5.0 -1.0 -9.0 children USE Palm }
Transform { translation 10.0 -1.0 -15.0 children USE Palm }


#
# Bouncing beach ball
#
DEF Ball Transform {
# animated translation
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.5
diffuseColor 1.0 1.0 1.0
specularColor 0.7 0.7 0.7
shininess 0.4
}
texture ImageTexture { url "beach.jpg" }
textureTransform TextureTransform { scale 2.0 1.0 }
}
geometry Sphere { }
}
]
}

DEF ShadowBall Transform {
# animated translation
scale 1 0 1
translation 0 -0.9 0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.0 0.0 0.0
transparency 0
}
}
geometry Sphere { }
}
]
}

DEF Clock TimeSensor {
cycleInterval 2.0
startTime 1.0
stopTime 0.0
loop TRUE
}

DEF Bouncer Script {
field SFFloat altura 3.0
eventIn SFFloat set_fraction
eventOut SFVec3f value_changed
eventOut SFVec3f shadowScale_changed

# change 'vrmlscript' to 'javascript' for newer browsers
url "vrmlscript:
function set_fraction( frac, tm ) {
y = 4.0 * altura * frac * (1.0 - frac);
value_changed[0] = 0.0;
value_changed[1] = y;
value_changed[2] = 0.0;

xzscale = 1.0 - 0.5 * y / altura;
shadowScale_changed[0] = xzscale;
shadowScale_changed[1] = 0.0;
shadowScale_changed[2] = xzscale;

}"
}

ROUTE Clock.fraction_changed TO Bouncer.set_fraction
ROUTE Bouncer.value_changed TO Ball.set_translation
ROUTE Bouncer.shadowScale_changed TO ShadowBall.set_scale

Read More

Samples for everyone about developing on C#

sample :


public static bool IsLocalIpAddress(string host)
{
try
{ // get host IP addresses
IPAddress[] hostIPs = Dns.GetHostAddresses(host);
// get local IP addresses
IPAddress[] localIPs = Dns.GetHostAddresses(Dns.GetHostName());

// test if any host IP equals to any local IP or to localhost
foreach (IPAddress hostIP in hostIPs)
{
// is localhost
if (IPAddress.IsLoopback(hostIP)) return true;
// is local address
foreach (IPAddress localIP in localIPs)
{
if (hostIP.Equals(localIP)) return true;
}
}
}
catch { }
return false;
}


You can test the method for example like this:
[C#]

IsLocalIpAddress("localhost"); // true (loopback name)
IsLocalIpAddress("127.0.0.1"); // true (loopback IP)
IsLocalIpAddress("MyNotebook"); // true (my computer name)
IsLocalIpAddress("192.168.0.1"); // true (my IP)
IsLocalIpAddress("NonExistingName"); // false (non existing computer name)
IsLocalIpAddress("99.0.0.1"); // false (non existing IP in my net)



Code by : http://www.csharp-examples.net/examples/
Read More

SQL Server Date Formats

Standard Date Formats
Standard SQL Statement
Default SELECT CONVERT(VARCHAR(20), GETDATE(), 100)
USA SELECT CONVERT(VARCHAR(8), GETDATE(), 1) AS [MM/DD/YY]
USA SELECT CONVERT(VARCHAR(10), GETDATE(), 101) AS [MM/DD/YYYY]
ANSI SELECT CONVERT(VARCHAR(8), GETDATE(), 2) AS [YY.MM.DD]
ANSI SELECT CONVERT(VARCHAR(10), GETDATE(), 102) AS [YYYY.MM.DD]
British/French SELECT CONVERT(VARCHAR(8), GETDATE(), 3) AS [DD/MM/YY]
British/French SELECT CONVERT(VARCHAR(10), GETDATE(), 103) AS [DD/MM/YYYY]
German SELECT CONVERT(VARCHAR(8), GETDATE(), 4) AS [DD.MM.YY]
German SELECT CONVERT(VARCHAR(10), GETDATE(), 104) AS [DD.MM.YYYY]




code by http://www.sql-server-helper.com/tips/date-formats.aspx
Read More

how to insert player on blog!!!

<"center>
<"object id="MediaPlayer" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" "width="401" height="376" name="MediaPlayer">
<"param value="ENDEREÇO DA RÁDIO OU TV" name="URL"/>
<"param value="1" name="rate"/>
<"param value="0" name="balance"/>
<"param value="1" name="playCount"/>
<"param value="-1" name="autoStart"/>
<"param value="0" name="currentMarker"/>
<"param value="-1" name="invokeURLs"/>
<"param value="50" name="volume"/>
<"param value="7964" name="_cx"/>
<"param value="7303" name="_cy"/>
<"embed showstatusbar="1" style="margin-bottom: -6.5px;" stretchtofit="1" width="401" "src="ENDEREÇO DA RADIO OU TV" height="376">
<"/embed><"/object>
<"script for="MediaPlayer" event="Error( )" language="JScript">
"window.navigate(window.location.href);
<"/script>
<"/center>


This code is necessary to remove the (") to work ...
Read More

Commads Linux


  
adduser Add a user to the system
addgroup Add a group to the system
alias Create an alias •
apropos Search Help manual pages (man -k)
apt-get Search for and install software packages (Debian/Ubuntu)
aptitude Search for and install software packages (Debian/Ubuntu)
aspell Spell Checker
awk Find and Replace text, database sort/validate/index
b
basename Strip directory and suffix from filenames
bash GNU Bourne-Again SHell
bc Arbitrary precision calculator language
bg Send to background
break Exit from a loop •
builtin Run a shell builtin
bzip2 Compress or decompress named file(s)
c
cal Display a calendar
case Conditionally perform a command
cat Display the contents of a file
cd Change Directory
cfdisk Partition table manipulator for Linux
chgrp Change group ownership
chmod Change access permissions
chown Change file owner and group
chroot Run a command with a different root directory
chkconfig System services (runlevel)
cksum Print CRC checksum and byte counts
clear Clear terminal screen
cmp Compare two files
comm Compare two sorted files line by line
command Run a command - ignoring shell functions •
continue Resume the next iteration of a loop •
cp Copy one or more files to another location
cron Daemon to execute scheduled commands
crontab Schedule a command to run at a later time
csplit Split a file into context-determined pieces
cut Divide a file into several parts
d
date Display or change the date & time
dc Desk Calculator
dd Convert and copy a file, write disk headers, boot records
ddrescue Data recovery tool
declare Declare variables and give them attributes •
df Display free disk space
diff Display the differences between two files
diff3 Show differences among three files
dig DNS lookup
dir Briefly list directory contents
dircolors Colour setup for `ls'
dirname Convert a full pathname to just a path
dirs Display list of remembered directories
dmesg Print kernel & driver messages
du Estimate file space usage
e
echo Display message on screen •
egrep Search file(s) for lines that match an extended expression
eject Eject removable media
enable Enable and disable builtin shell commands •
env Environment variables
ethtool Ethernet card settings
eval Evaluate several commands/arguments
exec Execute a command
exit Exit the shell
expect Automate arbitrary applications accessed over a terminal
expand Convert tabs to spaces
export Set an environment variable
expr Evaluate expressions
f
false Do nothing, unsuccessfully
fdformat Low-level format a floppy disk
fdisk Partition table manipulator for Linux
fg Send job to foreground
fgrep Search file(s) for lines that match a fixed string
file Determine file type
find Search for files that meet a desired criteria
fmt Reformat paragraph text
fold Wrap text to fit a specified width.
for Expand words, and execute commands
format Format disks or tapes
free Display memory usage
fsck File system consistency check and repair
ftp File Transfer Protocol
function Define Function Macros
fuser Identify/kill the process that is accessing a file
g
gawk Find and Replace text within file(s)
getopts Parse positional parameters
grep Search file(s) for lines that match a given pattern
groups Print group names a user is in
gzip Compress or decompress named file(s)
h
hash Remember the full pathname of a name argument
head Output the first part of file(s)
help Display help for a built-in command •
history Command History
hostname Print or set system name
i
id Print user and group id's
if Conditionally perform a command
ifconfig Configure a network interface
ifdown Stop a network interface
ifup Start a network interface up
import Capture an X server screen and save the image to file
install Copy files and set attributes
j
join Join lines on a common field
k
kill Stop a process from running
killall Kill processes by name
l
less Display output one screen at a time
let Perform arithmetic on shell variables •
ln Make links between files
local Create variables •
locate Find files
logname Print current login name
logout Exit a login shell •
look Display lines beginning with a given string
lpc Line printer control program
lpr Off line print
lprint Print a file
lprintd Abort a print job
lprintq List the print queue
lprm Remove jobs from the print queue
ls List information about file(s)
lsof List open files
m
make Recompile a group of programs
man Help manual
mkdir Create new folder(s)
mkfifo Make FIFOs (named pipes)
mkisofs Create an hybrid ISO9660/JOLIET/HFS filesystem
mknod Make block or character special files
more Display output one screen at a time
mount Mount a file system
mtools Manipulate MS-DOS files
mtr Network diagnostics (traceroute/ping)
mv Move or rename files or directories
mmv Mass Move and rename (files)
n
netstat Networking information
nice Set the priority of a command or job
nl Number lines and write files
nohup Run a command immune to hangups
notify-send Send desktop notifications
nslookup Query Internet name servers interactively
o
open Open a file in its default application
op Operator access
p
passwd Modify a user password
paste Merge lines of files
pathchk Check file name portability
ping Test a network connection
pkill Stop processes from running
popd Restore the previous value of the current directory
pr Prepare files for printing
printcap Printer capability database
printenv Print environment variables
printf Format and print data •
ps Process status
pushd Save and then change the current directory
pwd Print Working Directory
q
quota Display disk usage and limits
quotacheck Scan a file system for disk usage
quotactl Set disk quotas
r
ram ram disk device
rcp Copy files between two machines
read Read a line from standard input •
readarray Read from stdin into an array variable •
readonly Mark variables/functions as readonly
reboot Reboot the system
rename Rename files
renice Alter priority of running processes
remsync Synchronize remote files via email
return Exit a shell function
rev Reverse lines of a file
rm Remove files
rmdir Remove folder(s)
rsync Remote file copy (Synchronize file trees)
s
screen Multiplex terminal, run remote shells via ssh
scp Secure copy (remote file copy)
sdiff Merge two files interactively
sed Stream Editor
select Accept keyboard input
seq Print numeric sequences
set Manipulate shell variables and functions
sftp Secure File Transfer Program
shift Shift positional parameters
shopt Shell Options
shutdown Shutdown or restart linux
sleep Delay for a specified time
slocate Find files
sort Sort text files
source Run commands from a file `.'
split Split a file into fixed-size pieces
ssh Secure Shell client (remote login program)
strace Trace system calls and signals
su Substitute user identity
sudo Execute a command as another user
sum Print a checksum for a file
symlink Make a new name for a file
sync Synchronize data on disk with memory
t
tail Output the last part of files
tar Tape ARchiver
tee Redirect output to multiple files
test Evaluate a conditional expression
time Measure Program running time
times User and system times
touch Change file timestamps
top List processes running on the system
traceroute Trace Route to Host
trap Run a command when a signal is set(bourne)
tr Translate, squeeze, and/or delete characters
true Do nothing, successfully
tsort Topological sort
tty Print filename of terminal on stdin
type Describe a command •
u
ulimit Limit user resources •
umask Users file creation mask
umount Unmount a device
unalias Remove an alias •
uname Print system information
unexpand Convert spaces to tabs
uniq Uniquify files
units Convert units from one scale to another
unset Remove variable or function names
unshar Unpack shell archive scripts
until Execute commands (until error)
useradd Create new user account
usermod Modify user account
users List users currently logged in
uuencode Encode a binary file
uudecode Decode a file created by uuencode
v
v Verbosely list directory contents (`ls -l -b')
vdir Verbosely list directory contents (`ls -l -b')
vi Text Editor
vmstat Report virtual memory statistics
w
watch Execute/display a program periodically
wc Print byte, word, and line counts
whereis Search the user's $path, man pages and source files for a program
which Search the user's $path for a program file
while Execute commands
who Print all usernames currently logged in
whoami Print the current user id and name (`id -un')
Wget Retrieve web pages or files via HTTP, HTTPS or FTP
write Send a message to another user
x
xargs Execute utility, passing constructed argument list(s)
yes Print a string until interrupted
. Run a command script in the current shell
### Comment / Remark




Code by http://ss64.com/bash/syntax.html
Read More
 
Powered by Blogger