Value Meaning 777 (rwxrwxrwx) No restrictions on permissions. Anybody may do anything. Generally not a desirable setting. 755 (rwxr-xr-x) The file’s owner may read, write, and execute the file. All others may read and execute the file. This setting is common...
#####Hard link vs. Soft link in Linux or UNIX #####Hard links cannot link directories. Cannot cross file system boundaries. Soft or symbolic links are just like hard links. It allows to associate multiple filenames with a single file. However, symbolic links...
####Setup scala in linux and Hello World it is so simple! 1. download scala from official website 2. unzip it: tar xvzf scala-2.10.3.tgz 3. create SCALA_HOME export SCALA_HOME=~/projects/scala/scala-2.10.3/ add it to path export PATH=$PATH:$SCALA_HOME/bin 4. create hello world vi HelloWorld.scala object...
Starts from restart the machine: reboot /sbin/shutdown -r now ####check process: ps aux| less ps aux| grep xxx ####backup tar -cpzf $DESDIR/$FILENAME $SRCDIR...
netstat and ps netstat -tulpn | grep 3306 Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1138/mysqld ls -l /proc/3306/exe find out process details ps aux|grep 3306...