Tuesday, January 19, 2010

Terminal (uBuntu)

Cara-cara Melihat Isi File

$ cat /etc/resolv.conf (enter)

# Generated by NetworkManager
nameserver 10.10.10.100


If wanna look @ profile/binfiles

etc :$cat .profile

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi



Open by page

$cat .binfiles | pg



Untuk Buat Search


$locate python

/usr/share/python-support/python-rdflib/rdflib/sparql/bison/SPARQLEvaluate.py
/usr/share/python-support/python-rdflib/rdflib/sparql/bison/SolutionModifier.py
/usr/share/python-support/python-rdflib/rdflib/sparql/bison/Triples.py
/usr/share/python-support/python-rdflib/rdflib/sparql/bison/Util.py
/usr/share/python-support/python-rdflib/rdflib/sparql/bison/__init__.py
/usr/share/python-support/python-rdflib/rdflib/store/AbstractSQLStore.py
/usr/share/python-support/python-rdflib/rdflib/store/AuditableStorage.py
/usr/share/python-support/python-rdflib/rdflib/store/BerkeleyDB.py
/usr/share/python-support/python-rdflib/rdflib/store/Concurrent.py
/usr/share/python-support/python-rdflib/rdflib/store/FOPLRelationalModel
/usr/share/python-support/python-rdflib/rdflib/store/IOMemory.py
/usr/share/python-support/python-rdflib/rdflib/store/Memory.py
/usr/share/python-support/python-rdflib/rdflib/store/MySQL.py
/usr/share/python-support/python-rdflib/rdflib/store/NodePickler.py
/var/lib/dpkg/info/python2.6-minimal.conffiles
/var/lib/dpkg/info/python2.6-minimal.list
/var/lib/dpkg/info/python2.6-minimal.md5sums
/var/lib/dpkg/info/python2.6-minimal.postinst
/var/lib/dpkg/info/python2.6-minimal.postrm
/var/lib/dpkg/info/python2.6-minimal.preinst
/var/lib/dpkg/info/python2.6-minimal.prerm
/var/lib/dpkg/info/python2.6.list
/var/lib/dpkg/info/python2.6.md5sums
/var/lib/dpkg/info/python2.6.postinst
/var/lib/dpkg/info/python2.6.postrm
/var/lib/dpkg/info/python2.6.prerm




Tempatkan python dlm 1 tempat


$locate python > pythonlist.txt


No comments:

Post a Comment