vim에디터로 새로 만든 스크립트라면, 그 파일을 "실행 가능 모드"로 변경해 주어야 합니다. 그렇지 않으면 실행이 되지 않습니다.

chmod +x tt.pl
이런 명령을 사용하면 tt.pl 파일이 실행 가능하게 됩니다.

이후
./tt.pl
입력시 실행이 가능해집니다.

이렇게 파일명 앞에 마침표와 슬래시를 붙여야 합니다. 참고로 "./" 는 "현재 디렉토리"를 의미합니다. 윈도우의 도스창에서와는 달리, 유닉스/리눅스는 보안상의 이유로 인해, 현재 디렉토리의 파일이라도 패스를 꼭 적어 주어야 실행이 됩니다. 그렇지 않으면 파일을 찾을 수 없다는 에러가 납니다.

'Linux' 카테고리의 다른 글

우분투 UI 통으로 날아갔을 때 대처법.  (0) 2015.03.06
VMware tools install / uninstall  (0) 2015.03.05
ubuntu 14.04 jdk6 설치하기  (0) 2015.03.05
VMware 클립보드 공유  (0) 2015.03.04
apt 명령어  (0) 2015.03.03
Posted by 튼튼한노예
,

VMware 클립보드 공유

Linux 2015. 3. 4. 11:16

Installing VMware Tools from the Command Line with the Tar Installer

The first steps are performed on the host, within Workstation menus:

1. Power on the virtual machine.

2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.

Choose VM > Install VMware Tools.

The remaining steps take place inside the virtual machine.

3. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.

Note: Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.

Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, you must modify the following commands to reflect the conventions used by your distribution.

mount /dev/cdrom /mnt/cdrom

cd /tmp

Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is 
/tmp/vmware-tools-distrib.

4. Untar the VMware Tools tar file:

tar zxpf /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.tar.gz

umount /dev/cdrom

Where <xxxx> is the build/revision number of the VMware Workstation release.

Note: If you attempt to install a tar installation over an rpm installation — or the reverse — the installer detects the previous installation and must convert the installer database format before continuing.

5. Run the VMware Tools tar installer:

cd vmware-tools-distrib

./vmware-install.pl

Respond to the configuration questions on the screen. Press Enter to accept the default value.

6. Log off of the root account.

exit

7. Start X and your graphical environment.

8. In an X terminal, launch the VMware Tools background application.

vmware-toolbox &

Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).

'Linux' 카테고리의 다른 글

우분투 UI 통으로 날아갔을 때 대처법.  (0) 2015.03.06
VMware tools install / uninstall  (0) 2015.03.05
ubuntu 14.04 jdk6 설치하기  (0) 2015.03.05
리눅스에서 prel(.pl)스크립트 실행하기  (0) 2015.03.04
apt 명령어  (0) 2015.03.03
Posted by 튼튼한노예
,

http://nosemaj.org/howto-build-android-kitkat-nexus-5

참고.

'AOSP' 카테고리의 다른 글

개발폰별 파일들  (0) 2015.03.05
AOSP 기본세팅  (0) 2015.03.04
libz.so.1: cannot open shared object file  (0) 2015.03.03
libz.so.1 error1  (0) 2015.03.03
AOSP build errors  (0) 2015.03.03
Posted by 튼튼한노예
,