Search found 129 matches

by Chris
Thu Nov 07, 2013 8:27 pm
Forum: Linux
Topic: rename files with leading dot
Replies: 1
Views: 31290

Re: rename files with leading dot

Try rename.

Code: Select all

rename 's/.4/4/g' .*.wav
Something like this should work
by Chris
Fri Sep 27, 2013 4:52 pm
Forum: Windows
Topic: Windows 7 asks to confirm the open program actions
Replies: 1
Views: 99276

Re: Windows 7 asks to confirm the open program actions

This is a feature of Windows User Account Control (UAC).
As you understand, it's a security feature to prevent unwanted software from installing itself in the background without your permission.

It should show for normal programs, only for programs that request administrator access.
The first ...
by Chris
Tue Aug 27, 2013 7:26 pm
Forum: Linux
Topic: ls: reading directory /var/share/movies/: Input/output error
Replies: 4
Views: 49644

Re: ls: reading directory /var/share/movies/: Input/output e

In the latest version of linux (at least from kernel 3.2)
you can get a list of hard disk id's in /dev/disk/by-id/

ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root 9 Aug 27 20:47 scsi-SATA_SAMSUNG_HD103SJS246J9GB303707 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 27 20:47 scsi-SATA_SAMSUNG ...
by Chris
Thu Jul 25, 2013 9:02 am
Forum: Linux
Topic: ls: reading directory /var/share/movies/: Input/output error
Replies: 4
Views: 49644

Re: ls: reading directory /var/share/movies/: Input/output e

Sounds like you have a read problem (hardware problem).

Try unmounting and remounting your drive.

You can also check dmesg for more info.
by Chris
Fri Jul 19, 2013 6:30 pm
Forum: Linux
Topic: Log files permissions always changed to root
Replies: 2
Views: 35149

Re: Log files permissions always changed to root

It is probably logrotate that is not correctly configured.

In the config file /etc/logrotate.conf
You should have section like this:

Code: Select all

/var/log/clamav {
    monthly
    rotate 5
    compress
    create 0600 clamav clamav
}
You can run logrotate with:

Code: Select all

logrotate -v /etc/logrotate.conf
by Chris
Wed Jun 05, 2013 7:12 pm
Forum: Linux
Topic: Solved: How to remove a symbolic link to a directory
Replies: 2
Views: 36074

Re: How to remove a symbolic link to a directory

You need to handle it like a file.
Without the slash '/'

Code: Select all

rm DIR
This should work.

When you use tab to complete the directory-name,
it automatically adds the slash (/).
But it is not needed in this case.
by Chris
Wed Apr 17, 2013 5:31 am
Forum: Windows
Topic: Solved: windows turn screen hotkey
Replies: 1
Views: 100570

Re: windows turn screen hotkey

Always a funny office prank :-)

Press Ctrl+Alt+Arrow Keys.

To turn it the way you want.
by Chris
Sat Nov 24, 2012 10:12 pm
Forum: Linux
Topic: Solved: Recover deleted files from encrypted home
Replies: 2
Views: 35665

Re: Recover deleted files from encrypted home

If your files have been encrypted,
they are now encrypted stored in /home/.ecryptfs/$USER/.Private/

So make sure you are looking in the correct dir.

Shut down your computer;
you can pull the plug, because shutting down will write files to your hard drive,
and might overwrite your deleted files ...
by Chris
Tue May 22, 2012 3:48 pm
Forum: Linux
Topic: Power save for SATA drives
Replies: 1
Views: 29120

Re: Power save for SATA drives

You can do this with:

hdparm -S 240 /dev/sdc
This will tell you hard drive to power down after 20min of inactivity.

I have read in many forums that it only works for IDE drives,
and doesn't work for SATA drives.
Anyway on my machines it works,
And I have drives from Samsung, Western digital and ...
by Chris
Thu Apr 26, 2012 7:28 pm
Forum: Windows
Topic: How do I change ntp-server in windows 7
Replies: 2
Views: 120222

How do I change ntp-server in windows 7

Hi,

does any know how I can synchronise windows 7 to my own ntp-server?

So not the default "time.windows.com"
or any of the nist.gov.

Thanks,