Pentru pasionatii de "linux" uitati niste comenzi :
----------------------------------
unset HISTFILE
unset HISTSAVE
history -n
unset WATCH
export HISTFILE=/dev/null
-----------------------------------
alias ......... this allows the user view the current aliases
awk ........... this allows the user to search for a pattern within a file
bdiff ......... compares two large files
bfs ........... scans a large file
cal ........... shows a calendar
cat ........... concatenates and prints a file
cc ............ c compiler
cd ............ changes directories
chgrb ......... changes a file groups ownership
chmod ......... changes the permission on a file
chown ......... changes the individual ownership of a file
cmp ........... compairs two files
comm .......... compares two files so as to determine which lines are common to both
cp ............ copies file to another location
cu ............ calls another unix sysytem
date .......... returns the date and time
df ............ shows all mounted drives on your machine
diff .......... displays the diference between two files
du ............ shows the disk usage in blocks for a directory
echo .......... echoes the data to the screen or file
ed ............ text editor
env ........... lists the current environment variables
ex ............ another text editor
expr .......... evaluates a mathmatical formula
find .......... finds a file
f77 ........... fortran complier
format ........ initializes a floppy disk
grep .......... searches for a pattern within a file
help .......... gives help
kill .......... stops a running process -> kill -9
ln ............ creates a link between two files
lpr ........... copies the file to the line printer
ls ............ lists the files in a directory
mail .......... allows the user to send/receive mail
mkdir ......... makes directory
more .......... displays a data file to the screen
mv ............ used to move or rename files
nohup ......... allows a command to continue running even when you log out
nroff ......... used to format text
passwd ........ changes your password
pkgadd ........ installs a new program onto your machine
ps ............ Lists the current processes running
pwd ........... displays the name of the working directory
rm ............ removes files
rmdir ......... removes directories
set ........... lists all the variables in the current shell
setenv ........ sets the environment variables
sleep ......... causes a process to become inactive
source ........ allows the user to execute a file and update any changed values in that file
sort .......... sorts files
spell ......... checks for spelling errors in a file
split ......... divides a file
stty .......... sets the terminal options
tail .......... displays the end of a file
tar ........... copies all specified files into one
touch ......... creates an empty file or updates the time/date stamp on a file
troff ......... outputs formatted output
tset .......... sets the terminal type
umask ......... specify a new creation mask
uniq .......... compairs two files
uucp .......... unix to unix execute
vi ............ full screen editor
vipw .......... opens the vi editor as well as password file for editing
volcheck . .... checks to see if there is a floppy disk mounted to your machine
wc ............ displays detail in the full size
who ........... inf. on other people online
write ......... send a message to another user
! ............. repeats commands
ssh -l <-p port> ....... login
su ...... intrarea in r00t
tar -xzvf fisier.*,* = tar.gz, tgz, gz ...... despachetare
cat /proc/cpuinfo ...... informatiile calculatorului
cat /proc/meminfo ...... detalii cu privire la memoria calculatorului
ls -l ...... listarea directoarelor
cd ...... change dir
mkdir ...... make directory
ps -aux ...... procesele calcului
w ...... cine e pe r00t
pstree -p ..... listarea sub forma unui copac cu ramificatii
./fisier ...... pt run
wget ...... download
cp file1 file2 ....... copy
mv file1 file2 ....... move
lpr file ...... print
emacs, jed sau pico ...... edit file fd format,mount
startx ....... porneste interfata X
ps -f
compress -d fisier.z ...... compress
ssh ip -p port .......login
cat/etc/issue
passwd parola .... schimbare parola root
reboot ........... restartarea calcului
socklist ......... socket-urile
netstat
nmap -sx ip
kill ....... opreste procesul
kill PID ....... Process ID
rm -rf /root/.bash* /.bash* /root/.bash_history /.bash_history /tmp/* /tmp/* /var/log ..... sterge log-urile din root
/usr/sbin/adduser user .... adauga user la root
passwd user .... parola user-ului
/usr/sbin/adduser -g 0 -u 0 user ..... adauga user cu drept de root
COMANDA DE mai multe IP-uri: /sbin/ifconfig
unset HISTFILE HISTSAVE .....invisible mode
who is on......shows who is logged on the system
write name.....name equiv to the person you want to chat with (ctrl D exits chat mode)
EOT............End of Transfer
du -a..........mem check
ps -pid u......kills a user
passwd.........Change your users passwd
ls.............List all files in a directory
(ls -a)
telnet.........start a telnet session
open...........open a location
ftp............start file transfer session
find...........Find a file
cddir..........dir being sub-directory
netstat........See current processes running among your connection.
chgrp..........Changes a file's group ownership
cat "file".....type contents try cat /etc/passwd
tcpdump........Packet sniffer, moniter packets in promniscious mode
rmdir..........Deletes one or more directories
sleep..........Causes a process to become inactive for a specified amount of time
sort...........Sort and merge one or more files
spell..........Finds spelling errors in a file
split..........Divides a file
stty...........Displays or set terminal parameters
tail...........Displays the end of a file
troff..........Outputs formatted output to a typesetter
tset...........Sets other terminal type
unmask.........Allows the user to specify a new creation mask
uucp...........Unix-to-Unix copy
vi.............Full screen editor
wc.............Displays details in the file size
who............Displays information on the system users
write..........Used to send a message to another user
ifconfig.......To see the routing layout/destination of packets, etc.
gcc............Compile C based code
rm.............delete file
mv.............rename
bfs............Scans a large file
cal............Displays a calendar
chmod..........Assign File permissions TIP: If you have temp access to a system, chmod 777 or chmod so you have access to their home directory, as well as their email
cd.............change directory cd .. cd ../..
ls.............list files ls -al ls -l
lsattr.........list attributes
mkdir..........create directory mkdir tmp
mkdirhier......creates a hierarchy
mklost+found...creates such a directory
rmdir..........delete directory rmdir tmp
rm.............remove file rm -Rf rm -R
mv.............move file mv source destination
mmv............multiple move mmv "*.*.*" "#2.#3.#1"
chmod..........change permissions chmod ugo+r file
chown..........(root) change owner/group of file chown jens:users file
chgrp..........change group of file
chattr.........change attributs
umask..........set mask for permissions umask 022
touch..........change time of file