Developer Tips ------------ create cscope and tags to source code -------------- Create CTAGS, CREATE FILE LIST [cscope.files], start cscope where the cscope.file exist. cscope steps - ctags -R . ; find . -name *.[CchH] > cscope.files ; cscope # ready to start using cscope. Using Ctrl+] Ctril+T for moving forward/ backwards. ---------------------------------------------------------- Setting up messages file log rotation on linux 1. # su - $ change to root account 2. # go to /etc/logrotate.d # delete the line (/var/log/messages) from file syslog sed "/message/d" /etc/logrotate.d/syslog > /tmp/tmpsyslog && mv /tmp/tmpsyslog /etc/logrotate.d/syslog OR grep -v "message" /etc/logrotate.d/syslog > /tmp/tmpsyslog && mv /tmp/tmpsyslog /etc/logrotate.d/syslog 3. #create new file and add below content to limit the file rotate on 20M file size or weekly once which is satisfied cat <<EOF > /etc/logrotate.d/messageslog /var/log/messages {
technical topics of interest and mostly centric to telecom domain ..