Daily Archives: February 16, 2008

lftp user friendly ftp sftp

it has path completion and user friendly features: $lftp sftp://user@server1

Posted in CentOS | Leave a comment

logged sudo use

/var/log/secure

Posted in CentOS | Leave a comment

Usint Bash History

$ echo $HISTFILE $HISTSIZE $HISTFILESIZE/home/user/.bash_history 1000 1000 List previous number of history commands$ history 5 1033  sudo yum update 1034  echo $HISTFILE $HISTSIZE $HISTFILESIZE 1035  history 1036  echo $HISTFILE $HISTSIZE $HISTFILESIZE 1037  history 5 Ctrl + r to search a string history

Posted in CentOS | Leave a comment

Yum Command Finding Packages

$yum list available $yum list installed $yum list extras $yum list *vorbis* $yum list updates $yum info wordpress $yum info word* $yum search mp3 $yum whatprovides ogg123 $ yum grouplist

Posted in CentOS | Leave a comment

Finding Commands

Command and Sample Output  ::  Description Show the first mount command in PATH:$ type mountmount is /bin/mount Show binary source, and man pages for mount:$ whereis mountmount: /bin/mount /sbin/mount.cifs /sbin/mount.nfs /sbin/mount.nfs4 /usr/share/man/man2/mount.2.gz /usr/share/man/man8/mount.8.gz Find bash.ps anywhere in the file system$ … Continue reading

Posted in CentOS | Leave a comment