Comandos Basicos de DOS

sábado, 30 de agosto de 2008

Complementario a un posta anterior "http://carlosvlcia.blogspot.com/2008/06/xp-comandos.html"

ADDUSERS Add or list users to/from a CSV file
ARP Address Resolution Protocol
ASSOC Change file extension associations
ASSOCIAT One step file association
AT Schedule a command to run at a later time
ATTRIB Change file attributes

BOOTCFG Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info

CACLS Change file permissions
CALL Call one batch program from another
CD Change Directory - move to a specific Folder
CHANGE Change Terminal Server Session properties
CHKDSK Check Disk - check and repair disk problems
CHKNTFS Check the NTFS file system
CHOICE Accept keyboard input to a batch file
CIPHER Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP Copy STDIN to the Windows clipboard.
CLS Clear the screen
CLUSTER Windows Clustering
CMD Start a new CMD shell
COLOR Change colors of the CMD window
COMP Compare the contents of two files or sets of files
COMPACT Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT Connect or disconnect a Printer
CONVERT Convert a FAT drive to NTFS.
COPY Copy one or more files to another location
CSVDE Import or Export Active Directory data

DATE Display or set the date
Dcomcnfg DCOM Configuration Utility
DEFRAG Defragment hard drive
DEL Delete one or more files
DELPROF Delete NT user profiles
DELTREE Delete a folder and all subfolders
DevCon Device Manager Command Line Utility
DIR Display a list of files and folders
DIRUSE Display disk usage
DISKCOMP Compare the contents of two floppy disks
DISKCOPY Copy the contents of one floppy disk to another
DNSSTAT DNS Statistics
DOSKEY Edit command line, recall commands, and create macros
DSADD Add user (computer, group..) to active directory
DSQUERY List items in active directory
DSMOD Modify user (computer, group..) in active directory

ECHO Display message on screen
ENDLOCAL End localisation of environment changes in a batch file
ERASE Delete one or more files
EXIT Quit the CMD shell
EXPAND Uncompress files
EXTRACT Uncompress CAB files

FC Compare two files
FDISK Disk Format and partition
FIND Search for a text string in a file
FINDSTR Search for strings in files
FOR /F Loop command: against a set of files
FOR /F Loop command: against the results of another command
FOR Loop command: all options Files, Directory, List
FORFILES Batch process multiple files
FORMAT Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL File and Volume utilities
FTP File Transfer Protocol
FTYPE Display or modify file types used in file extension associations

GLOBAL Display membership of global groups
GOTO Direct a batch program to jump to a labelled line

HELP Online Help
HFNETCHK Network Security Hotfix Checker

IF Conditionally perform a command
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP

KILL Remove a program from memory

LABEL Edit a disk label
LOCAL Display membership of local groups
LOGEVENT Write text to the NT event viewer.
LOGOFF Log a user off
LOGTIME Log the date and time in a file

MAPISEND Send email from the command line
MEM Display memory usage
MD Create new folders
MODE Configure a system device
MORE Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE Move files from one folder to another
MOVEUSER Move a user from one domain to another
MSG Send a message
MSIEXEC Microsoft Windows Installer
MSINFO Windows NT diagnostics
MSTSC Terminal Server Connection (Remote Desktop Protocol)
MUNGE Find and Replace text within file(s)
MV Copy in-use files

NET Manage network resources
NETDOM Domain Manager
NETSH Configure network protocols
NETSVC Command-line Service Controller
NBTSTAT Display networking statistics (NetBIOS over TCP/IP)
NETSTAT Display networking statistics (TCP/IP)
NOW Display the current Date and Time
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights

PATH Display or set a search path for executable files
PATHPING Trace route plus network latency and packet loss
PAUSE Suspend processing of a batch file and display a message
PERMS Show permissions for a user
PERFMON Performance Monitor
PING Test a network connection
POPD Restore the previous value of the current directory saved by PUSHD
PORTQRY Display the status of ports and services
PRINT Print a text file
PRNCNFG Display, configure or rename a printer
PRNMNGR Add, delete, list printers set the default printer
PROMPT Change the command prompt
PsExec Execute process remotely
PsFile Show files opened remotely
PsGetSid Display the SID of a computer or a user
PsInfo List information about a system
PsKill Kill processes by name or process ID
PsList List detailed information about processes
PsLoggedOn Who's logged on (locally or via resource sharing)
PsLogList Event log records
PsPasswd Change account password
PsService View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend Suspend processes
PUSHD Save and then change the current directory

QGREP Search file(s) for lines that match a given pattern.

RASDIAL Manage RAS connections
RASPHONE Manage RAS connections
RECOVER Recover a damaged file from a defective disk.
REG Read, Set or Delete registry keys and values
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI Change Registry Permissions
REM Record comments (remarks) in a batch file
REN Rename a file or files.
REPLACE Replace or update one file with another
RD Delete folder(s)
RDISK Create a Recovery Disk
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE Manipulate network routing tables
RUNAS Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)

SC Service Control
SCHTASKS Create or Edit Scheduled Tasks
SCLIST Display NT Services
ScriptIt Control GUI applications
SET Display, set, or remove environment variables
SETLOCAL Control the visibility of environment variables
SETX Set environment variables permanently
SHARE List or edit a file share or print share
SHIFT Shift the position of replaceable parameters in a batch file
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP Wait for x seconds
SOON Schedule a command to run in the near future
SORT Sort input
START Start a separate window to run a specified program or command
SU Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST Associate a path with a drive letter
SYSTEMINFO List system configuration

TASKLIST List running applications and services
TIME Display or set the system time
TIMEOUT Delay processing of a batch file
TITLE Set the window title for a CMD.EXE session
TOUCH Change file timestamps
TRACERT Trace route to a remote host
TREE Graphical display of folder structure
TYPE Display the contents of a text file

USRSTAT List domain usernames and last login

VER Display version information
VERIFY Verify that files have been saved
VOL Display a disk label

WHERE Locate and display files in a directory tree
WHOAMI Output the current UserName and domain
WINDIFF Compare the contents of two files or sets of files
WINMSD Windows system diagnostics
WINMSDP Windows system diagnostics II
WMIC WMI Commands

XCACLS Change file permissions
XCOPY Copy files and folders

( obtenido en comandos dos )

Comandos Basicos de Linux

0 comentarios  

Comandos Basicos de Linux


alias Create an alias
apropos Search Help manual pages (man -k)
awk Find and Replace text, database sort/validate/index
break Exit from a loop
builtin Run a shell builtin
bzip2 Compress or decompress named file(s)

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
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

date Display or change the date & time
dc Desk Calculator
dd Data Dump - Convert and copy a file
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
du Estimate file space usage

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
expand Convert tabs to spaces
export Set an environment variable
expr Evaluate expressions

false Do nothing, unsuccessfully
fdformat Low-level format a floppy disk
fdisk Partition table manipulator for Linux
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

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)

hash Remember the full pathname of a name argument
head Output the first part of file(s)
history Command History
hostname Print or set system name

id Print user and group id's
if Conditionally perform a command
ifconfig Configure a network interface
import Capture an X server screen and save the image to file
install Copy files and set attributes

join Join lines on a common field

kill Stop a process from running

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

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
mv Move or rename files or directories

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
nslookup Query Internet name servers interactively

passwd Modify a user password
paste Merge lines of files
pathchk Check file name portability
ping Test a network connection
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

quota Display disk usage and limits
quotacheck Scan a file system for disk usage
quotactl Set disk quotas

ram ram disk device
rcp Copy files between two machines.
read read a line from standard input
readonly Mark variables/functions as readonly
remsync Synchronize remote files via email
return Exit a shell function
rm Remove files
rmdir Remove folder(s)
rsync Remote file copy (Synchronize file trees)

screen Terminal window manager
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
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
sum Print a checksum for a file
symlink Make a new name for a file
sync Synchronize data on disk with memory

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

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 Verbosely list directory contents (`ls -l -b')
vdir Verbosely list directory contents (`ls -l -b')
vi Text Editor

watch Execute/display a program periodically
wc Print byte, word, and line counts
whereis Report all known instances of a command
which Locate a program file in the user's path.
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


( obtenido en comandos linux )

Instalar WINE y un ejemplo de uso

INSTALAR WINE
A1) Instalamos WINE en ubuntu con /sistema/administracion/gestor de paquetes Synaptic ( acceso como 'root' nos pedira clave )

Por ejemplo desde boton "buscar": "wine"
Sobre el Paquete/Marcar para instalar, nos indicara paquetes que debe instalar adicionamente para un correcto funcionamiento
Posteriormente Boton "aplicar" para comenzar instalación.

A2) Para instalar aplicaciones desde terminal:
"sudo apt-get install nombreaplicac"


B) Aparte de wine, puede ser util instalar:
Notas: programas interesantes que tambien instale:
* audacity ( editar audio )
* stellarium y celestia ( astronomia )
* de momento para movernos en entorno terminal, resulta muy util instalar previamente "mc": sudo apt-get install mc
( así una vez instalado, desde terminal tan solo con "mc" entraremos en el clonico del norton comander )


C) Utilizar programas windows desde entorno WINE, veamos dos ejemplo:

C.1) Usar Notepad++Portable

1.1 descargamos notepad_portable, por ejemplo en escritorio
1.2 en escritorio sobre icono de fichero descargado "Notepadpp_Portable_5.0.3.paf.exe"
1.3 con boton derecho raton "abrir con winecargado"
1.4 aparecera una ventana donde se nos solicita 'carpeta' donde instalar:
browser/mi PC/C/Archivos de Programas (para instale aqui, disco C virtual)
1.5 Aparecera boton Finish ya esta
1.6 Para ejecutar aplicacion:
desde terminal:
wine "/home/tu user/.wine/drive_c/Archivos de programa/Notepad++Portable/Notepad++Portable.exe"

C.2) Usar editor de paisajes "Terragen" usaremos demo:

2.1 descargamos programa desde Terragen
2.2 lo instalamos en el directorio donde tengamos instalado wine:
$ cd ~/.wine/drive_c
$ wine msiexec /i tginstall0943.msi
2.3 copiamos las siguientes DLLs al directorio
$HOME/.wine/drive_c/windows/system32: msvcrt.dll / msvcrt20.dll / msvcrt40.dll / msvcrtd.dll / msvcirt.dll ( dll-files.com puede ser util)
2.4 configuramos wine:
$ winecfg
2.5 en configuracion dentro de pestaña "Librerias" y añadimos las dll descargadas para usar la version nativa de esas librerias:
2.6 Inicimos aplicacion:
wine "/home/tu user/.wine/drive_c/Archivos de programa/Terragen/Terragen.exe"
o desde Aplicaciones/wine/programas/terragen

Ubuntu: Instalar y Primeros pasos a recordar

domingo, 17 de agosto de 2008

En videos como:
http://www.youtube.com/watch?v=t9ufpnP77WM&feature=related
se pueden ver facilmente el proceso es sencillo
tan solo, yo remarcaría el momento en el que decidimos donde instalarlo,
es probable que dispongamos de dos o mas discos duros, y que dispongamos de algun win instalado. Asi que previamente debera conocer que son las particion, sus tipos etc


--------------------------------------------

1) Daremos contraseña al usuario "root"
desde comando tecleo:
>>:sudo passwd root
como respuesta primero me pide password de usuario, luego las nueva contraseña dos veces

2) Para actuar como "root" deberas:
>>: su ( para desde terminal entrar como root
Contraseña ( indicamos contraseña de root

3) Activamos firewall por defecto: (como root)
>>: ufw enable ( ponemos en marcha firewall
>>: ufw status ( confirmamos que funciona
(http://www.kriptopolis.org/ubuntu-8.04-ufw)

4) Bloqueo numérico al inicio (como root)
primero instalamos numlockx con Synaptic o apt-get
>>: apt-get install numlockx
luego en terminal:
>>: numlockx on

5) GRUB: (como root)
sudo gedit /boot/grub/menu.lst


00) PAra seguir ...

* aprender continuadamente
un buen sitio para seguir aprendiendo: http://www.guia-ubuntu.org/

* instalar casi todo
http://monkeyblog.org/ubuntu/installing.html

* Tor tambien es posible en ubuntu
http://www.torproject.org/docs/tor-doc-unix.html.es

* En esta direccion muchas equivalencias. Win / Gnu/Linux.
http://www.linuxrsp.ru/win-lin-soft/index-spanish.html



Programas Instalados:
sudo apt-get install vlc hydrogen aptoncd gparted partimage gnome-schedule
sudo apt-get install ktorrent amule mc wine virtualbox
sudo aptitude install d4x scribus amarok celestia thunderbird
sudo apt-get install -y gdesklets
sudo apt-get -y install unrar
sudo apt-get install gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly
sudo apt-get install streamtuner denemo piviti isomaster mixxx audacious kino audacity

Como hacer backup de complementos, bookmark, .. firefox FEBE 3

jueves, 14 de agosto de 2008

0 comentarios  

Para realizar una copia de seguridad de los marcadores, complementos o temas dentro del firefox, tan solo tenemos que instalar un complemento, que por fin se ha actualizado para Firefox 3.0, FEBE.
FEBE:
Tras instalar y rearrancar, como un componente mas podemos realizar una configuración básica desde menu: Herramientas/FEBE/ FeBE-Opcions
Nos aparece una pequeña ventana :
* opciones: Tipo copia Selectiva
* opciones: Elementos a copiar: extencsiones, temas y añadimos marcadores
* opciones: elejiremos la ultima "incluir una copia de FEBE ..."
* carpeta: para indicar en que carpeta edebe dejar la copia
Ahora tras configurarlo para proceder a realizar la copia de seguridad desde menu: Herramientas/FEBE/Realizar Copia de seguridad

Para restaurar, como es obvio, desde mismo menu Herramientas/FEBE/Restaurar y elegimos qué deseamos restaurar


OTRO COMPONENTE:
Si pasas demasiado tiempo conectado controlate tiempo con TimeTracker.

javascript:void(0)