Linux -Tips-

Searching word

grep -rI “Qt” ./

SSh Directory copy

scp -r kara6.zip xxxx@xxxxx.aitech.ac.jp:.

How to use Linux in Japanse

Delete Directory

sudo rm -d -rf directory_name

Hard Info

sudo apt-get install hardinfo

symbolic link

TO: /usr/bin

ln -s /extra-home/username /home/username

copy directory

sudo cp -avr potree-master/ /var/www/

chmod 755 go

mount exfat in Ubuntu 13.04

sudo apt-get install exfat-fuse

ulimit -s unlimited

ulimit -c unlimited : for core limit

find files and directory 1

find / -name pcl*

Command Shell

VNC: Virtual Network Computing

Howtos  for setting VNC on CentOS

/etc/sysconfig/vncservers on CentOS5.8

vncpasswd

#/sbin/service vncserver start

#/sbin/service vncserver stop

#/sbin/chkconfig vncserver on

setting Firewall – open port

 

chmod = change mode

Folder structure

/bin: Essential command binaries (programs) are stored here (bash, ls, mount, tar, etc.)
/boot: Static files of the boot loader.
/dev: Device files. In Linux, hardware devices are acceessd just like other files, and they are kept under this directory.
/etc: Host-specific system configuration files.
/home: Location of users’personal home directories (e.g. /home/susan).
/lib: Essential shared libraries and kernel modules.
/proc: Process information pseudo-filesystem. An interface to kernel data structures.
/root: The root (superuser) home directory.
/sbin: Essential system binaries (fdisk, fsck, init, etc).
/tmp: Temporary files. All users have permission to place temporary files here.
/usr: The base directory for most shareable, read-only data (programs, libraries, documentation, and much more).
/usr/bin: Most user programs are kept here (cc, find, du, etc.).
/usr/include: Header files for compiling C programs.
/usr/lib: Libraries for most binary programs.
/usr/local: “Locally” installed files. This directory only really matters in environments where files are stored on the network. Locally-installed files go in /usr/local/bin, /usr/local/lib, etc.). Also often used for software packages installed from source, or software not officially shipped with the distribution.
/usr/sbin: Non-vital system binaries (lpd, useradd, etc.)
/usr/share: Architecture-independent data (icons, backgrounds, documentation, terminfo, man pages, etc.).
/usr/src: Program source code. E.g. The Linux Kernel, source RPMs, etc.
/usr/X11R6: The X Window System.
/var: Variable data: mail and printer spools, log files, lock files, et

# /sbin/service   vncserver start
# /sbin/service   vncserver stop
# /sbin/chkconfig vncserver on