LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

revamp your bash

Posted 05-27-2011 at 07:33 PM by sumeet inani
Updated 05-27-2011 at 07:45 PM by sumeet inani

I did following changes
Code:
in ~/.bashrc
export  HISTTIMEFORMAT="%h/%d-%H:%M:%S "
export PS1="\[\e]2;\u\a\]\[\e[31;1m\]\t \w \$\[\e[0m\]" 
#if [ "$color_prompt" = yes ]; then
#    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
#else
#    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
#fi
alias ls='ls -lA'
alias cp='cp -v'
...
Member
Posted in Uncategorized
Views 299 Comments 0 sumeet inani is offline
Old

updatedb for ntfsdrives mounted in /media

Posted 05-27-2011 at 07:09 PM by sumeet inani

Edit your /etc/updatedb.conf
Code:
PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
#PRUNEPATHS="/tmp /var/spool [strikethrough]/media[/strikethrough]"
PRUNEPATHS="/tmp /var/spool"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.glusterfs fuse.sshfs"
Some say create symbolic...
Member
Posted in Uncategorized
Views 600 Comments 0 sumeet inani is offline
Old

Installing QGIS using Synaptic

Posted 05-26-2011 at 09:49 PM by megasaputra

I try to install QGIS using Synaptic. Cause my computer is offline, so I need Synaptic help to generate script. Then I will download in another computer that has a fast internet connection.
LQ Newbie
Posted in Uncategorized
Views 581 Comments 0 megasaputra is offline
Old

bulk uploading a web site via ftp

Posted 05-24-2011 at 10:06 AM by neonsignal
Updated 05-24-2011 at 05:39 PM by neonsignal

The sitecopy application can be used to automate the ftp uploading of websites. It keeps a local record of files, so that only updated files need to be uploaded on each refresh.

After installing sitecopy, it needs a cache directory and a configuration file in the home directory:
Code:
mkdir -m 700 .sitecopy
touch .sitecopyrc
chmod 600 .sitecopyrc
The configuration file .sitecopyrc contains details about the web site(s). Each site entry...
Senior Member
Posted in Uncategorized
Views 1887 Comments 1 neonsignal is offline
Old

Chmod

Posted 05-24-2011 at 05:02 AM by brownie_cookie

Thanks to Colucix, it became clear how to use chmod.
I hope this helps for other people who are starting to learn Linux !!

They are octal numbers. If you consider a triplet of permissions
Code:
Code:
rwx
they correspond to 4, 2, 1 respectively:
Code:
Code:
421
If you sum these values you obtain uniquely identified permission sets. For example, you have:
Code:
Code:
rwx = 4 + 2 + 1 = 7
r-x = 4 + 0 +
...
Member
Posted in Uncategorized
Views 452 Comments 0 brownie_cookie is offline

  



All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration