Monthly Archives: August 2007

gentoo: ’emerge’ problems

problem:

/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

solution:
to resolve such problems correction of broken lib dependencies required:

revdep-rebuild -p

the specified problem were corrected with following:

emerge –oneshot -p =sys-devel/gettext-0.16.1



# bash reminder

// частеноко забываю..:(

# (some) HISTORY SEARCH AND REPLACE:

# execute the most recent command the contains the following string:
!?string

# globally search replace on the previous line:
!!:gs/old/new/

# Keyboard shortcuts:
CTRL-k: delete (‘kill’) from cursor position to the end of the line
* CTRL-u: delete from cursor position to the beginning of the line
* ALT-d: delete from cursor position to the end of the current ‘word’
* CTRL-w: delete from cursor position to the beginning of the current ‘word’
* CTRL-a: move cursor to the first character of the line
* CTRL-e: move cursor beyond the last character of the line
* ALT-a: move cursor to the first character of the current ‘word’
* ALT-e: move cursor to the last character of the current ‘word’
* CTRL-y: insert latest deleted ‘word’
* ESC-_ or !$: repeats the last argument of the previous command.

Leave a comment) 01:06 pm some tweaks and installations on fresh freebsd

> some shell tweaks
> /etc/csh.cshrc
setenv CLICOLOR
set autolist
#set correct = cmd

> Vulnerability check disabled, database not found
/usr/ports/security/portaudit #or: /usr/ports/ports-mgmt/portaudit
portaudit -Fa
0 3 * * * /usr/local/bin/cvsup /root/ports-supfile && cd /usr/ports/ && make fetchindex && portsdb -u && /usr/local/sbin/portaudit -F

/usr/ports/editors/vim
make NO_GUI=yes WITHOUT_X11=yes WITH_PERL=yes