xamp
(4,407 views)

Unix Command crib sheet

 

Copying/Downloading

wget

fetch

scp

curl 

 

Searching

grep

grep -r "text2find" ./*

(*.ext doesnt recurse)

ls | grep -i php |less 

 

find

find /etc -name my.cnf

find /usr -name "Chapter1*" -type f -pint

find / -name "something.*" -print

find / -iname '*some*' 

http://www.devdaily.com/unix/edu/examples/find.shtml

 

Processes

ps aux |grep httpd 

netstat -anl |grep LISTEN

sudo killall -9 httpd

 

 

Comments

New Comment

markdown formatting permitted