Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
1answer
106 views

What is the file formated generated by “gpg -c”

I cryptographed a file using gpg -c --cipher-algo BLOWFISH. Obviously I use gpg -d to decrypt it. But my question is, if I want to decrypt this file without GPG, is it possible? What is the file ...
4
votes
1answer
2k views

Setting laptop leds in Linux

I have installed Arch Linux on my laptop. Controlling ALSA using the hardware audio keys works fine using Openbox shortcuts. I only need to make the mute button lights up, like it does in Windows. ...
0
votes
1answer
780 views

Is chown user:group file the same as chgrp group file when assigning permissions to a group?

If I use the command chown username:groupname filename to assign permissions to both a user and a group, does the command have the same results when executing chgrp groupname filename?
4
votes
4answers
4k views

Why use the commands chown and chgrp?

I understand what the commands chown and chgrp do however do not understand why you would want to use them apart from assigning ownership to either another user or group? Is this for security purposes ...
0
votes
1answer
505 views

trying to get .csh history via arrow keys

I was wondering if there was a easy way to get the up and down arrows to scroll command history while in .csh?I know that it is done like that in bash and sort of use to being able to work that way
1
vote
2answers
2k views

Linux Mint power consumption / CPU

I installed Linux Mint 12(lisa) on my dell lx502 i.e. XPS 15 with an i7-670QM cpu and the nvidia 550M with optimus. However I am concerned about the power consumption. About 21% battery ~= 36 ...
9
votes
3answers
21k views

Remove first N lines from an active log file

Is there a way to remove the first N lines from a log that is being actively appended by an application?
6
votes
1answer
5k views

Using a .ppk key with `ssh`

I have a PuTTY .ppk key. How do I use it with ssh/OpenSSH on Linux?
0
votes
3answers
908 views

Is it safe to re-partition / reformat my flash drive?

I just bought this flash drive on eBay. It's a 4GB Imation Swivel. I have no interest in the proprietary encryption software that comes with it, in fact I'd rather not plug it into my Windows PC until ...
7
votes
5answers
27k views

What similar rsync tool for Windows? [closed]

What can you recommend of an application that looks the same on rsync for windows? I will be doing migration where I need to transfer data from Windows to Linux. I like the rsync on linux where you ...
1
vote
1answer
383 views

How to copy files from HDD to HDD with integrity checking

I am moving data from an almost dead HDD to an external USB drive using linux , because for some reason Windows cannot see the data. I want to copy a large amount of data over from the HDD to the USB ...
-2
votes
1answer
71 views

How we can disable the packets which are received continuously? [closed]

When I click on System monitor in administration tab in Ubuntu, there I see a Network history option and it continuously receive packets form Internet, But I didn't find the exact location where it ...
2
votes
2answers
791 views

How to make text editors respect read-only file permissions as root?

I just discovered that nano, KWrite and Kate all silently overwrite read-only files when editing as root -- even if the file permissions are 400 (-r--------). It also doesn't matter if root is the ...
2
votes
1answer
670 views

linux/bash conditional syntax on command line

I want to run foo if and only if the current day of the month is less than the 7th. So something like: [ (/bin/date +'%-d') -le 7 ] && foo Except that gives me a syntax error. The date part ...
0
votes
2answers
454 views

Search recursively for a string containing whitespaces

I want to search for "this table..." string under /home/myuser directory recursively, ie in all files under /home/myuser and in all directories and sub-directories under /home/myuser. /home/myuser ...
2
votes
0answers
524 views

How to change the profile of current tab in gnome from command line

If I do this gnome-terminal --profile=NEW_PROFILE it indeed changes to the new profile but opens a new window. But I want it to change the profile of the current tab and not pop up a new window. ...
0
votes
2answers
399 views

Swap implication in Linux and way to increase it

I used top command to print this on Linux box: [root@localhost ~]# top top - 23:38:38 up 361 days, 12:16, 2 users, load average: 0.09, 0.06, 0.01 Tasks: 129 total, 2 running, 126 sleeping, 1 ...
1
vote
1answer
681 views

I2C_SLAVE ioctl in i2c linux driver

I am supposed to write a simple write and read program for i2c but the problem is that I don't have the device at hand presently to test it so I need my code to be perfect. I am confused about the ...
1
vote
1answer
640 views

meaning of files in cpu folder of linux

What's the meaning of files in the folder /sys/devices/system/cpu/cpu0/cache/index0? I see these files in the folder: coherency_line_size number_of_sets shared_cpu_list size ...
2
votes
5answers
11k views

How to use Wget with Tor Bundle in Linux

I'm a Linux Mint (Lisa) and Tor Bundle user trying to use wget over Tor. After following the directions I found here, all I get when running wget is an output file saying, "514 Authentication ...
1
vote
1answer
636 views

Can I exclude a partition from Linux disk caching?

I created a MDADM RAID0 disk with two SSD hard disk and mounted it at /media/ssd. Is it possible to prevent Linux from disk caching reads/writes to/from this mounted partition? This would be wasted ...
4
votes
2answers
12k views

How to reset default ssh password in Ubuntu?

When I trying to connect via ssh to localhost as root, ssh don't accept my current password. How can I reset ssh password?
0
votes
1answer
383 views

Allow Incoming Responses Apache. On Ubuntu 11.10 - Curl

I'm trying to get a Curl Response from an outside server, however I noticed I cant neither PING the server in question nor connect to it. I tried disabling the iptables firewall but I had no success. ...
0
votes
0answers
727 views

How to fix hard lockups (mentioning some IRQ) in my Eeepc laptop (running Linux)?

My EeePC 1015PEM tends to block sometimes (approximately once per 2 days). Even _ cursor in (modesetted) text mode does not blink. After rebooting (unless battery and adaptor was removed) it shows the ...
0
votes
1answer
2k views

BackupPC error during xfer

While trying to do a full backup using BackupPC on localhost getting error: Last bad XferLOG: Contents of file /var/lib/backuppc/pc/localhost/XferLOG.bad.z, modified 2012-03-26 02:00:08 Running: ...
0
votes
1answer
812 views

How do I preserve ownership permissions when copying to an external volume?

When I upgrade or reinstall linux I backup my home folder by running sudo cp -pr /home/users/yitzchak /media/externalHDD/backups. When I do this I get errors saying that permissions could not be ...
2
votes
2answers
4k views

what is ranlib?

I have been using a MacOSX system for a while, but just only recently started poking into the guts. I found a guide telling me to run 'sudo ranlib /usr/local/lib/libjpeg.a'(installing libjpeg). I have ...
1
vote
0answers
345 views

Ubuntu installation hangs at certain level

When I try to install/run Ubuntu from a liveCD, it just hangs on following screen... Any ideas? I've unplugged all my usb devices other than my death adder mouse and g15 keyboard, tried 32bit and ...
0
votes
2answers
853 views

Ways to have audio output without wires

I'm trying to find a way of using my home speakers/amp without actually having to connect them. There are two laptops that use them normally (so I don't like changing the connection all the time) and ...
0
votes
0answers
529 views

Getting a USB remote controller to work

I'm at a lost at setting up a USB remote controller on Ubuntu Natty with Kernel 2.6.38-12-generic. It's a "USB pen" used to control the routine of Slideshows (Powerpoint, ... , etc) It recognizes the ...
1
vote
0answers
53 views

Disabling quotas on Linux

I am in a situation where the root user is kind of in a locked situation due to exceeded quotas. I am unable to eedit /etc/fstab or /etc/mtab to remove the quota tag in the file for root. Is there a ...
1
vote
1answer
980 views

Reinstalling Debian Squeeze via APT after significant core package removal

Some background: I accidentally left two problematic repositories in my /etc/apt/sources.list - to be specific, the squeeze-updates repository (changed from "volatile"), and the sid repository. I was ...
8
votes
3answers
17k views

How to change input keyboard layout while in console?

I need to change layout of keyboard while working in console in Linux. I need to setup English layout as default for console. How to do it?
0
votes
1answer
577 views

Error while mounting home directory on different logical volume

I created RAID 5 form 3 hard drives. Formatted as ext4 this raid array. Created VG0 group and lv_home logical volume in LVM. Then I tried to mount default /home directory on lv_home, while trying to ...
2
votes
1answer
1k views

Modern looking visualization of folder structure

Is there a tool for nice, modern looking visualization of folder (with cloned GIT repository) structure in Linux? I know there is command tree but it outputs "ugly", text based results. What I'm ...
1
vote
1answer
569 views

how to make ffmpeg convert files and copy to other folder

I need to convert mp3s from 5 folders to the lower bitrate (192) ones without changing their names. How can I do it? (what command)
1
vote
2answers
74 views

How do I close the OS I'm currently using so I can run it using VMWare?

Some friends just turned me on to virtualization and recommended VMWare. I'm currently running Windows 7 and would like to try running it virtually on a host Linux machine. The thing is, I'd like not ...
2
votes
1answer
1k views

How to set up virtual users in vsftpd?

I've read this tutorial: http://howto.gumph.org/content/setup-virtual-users-and-directories-in-vsftpd/ My configuration is as follow: ---vsftpd.conf--- listen=YES anonymous_enable=NO ...
19
votes
2answers
18k views

Rename user's group name

I just did usermod -l login-name old-name to change the username, but the group name is still the old one. Any way of renaming the group name? I can't find any info to do so.
2
votes
1answer
259 views

Weird chmod parameter - “!$”

I found on an article a line that was saying: Now execute -> sudo chmod 700 !$ What does !$ in that case?
1
vote
1answer
899 views

Using Synergy between two clients with different resolutions

I have two fedora systems (running synergy 1.3.7) each with two displays. The synergy server has two displays arranged horizontally and the client has two displays arranged vertically. When I go ...
12
votes
2answers
5k views

How to rename a BTRFS subvolume?

I have a BTRFS filesystem with a set of subvolumes in it. So far so good. I need to change the name of a subvolume, unfortunately the btrfs program does not allow me to rename a subvolume. Searching ...
3
votes
2answers
1k views

How to list directories names but not their contents, in *N*X?

If I do a simple ls specifying a filename pattern, like ls A*, for directories that match the pattern, it will enter the directory and give the full listing, but how could I get just the listing for ...
0
votes
2answers
3k views

How to prevent the monitor to turn off in Linux

I have a weird question here but I need an answer as fast as possible :( For a specific project I have to start a QT-Program on the screen on startup in Linux Mint 9. The Monitor which is displaying ...
0
votes
1answer
269 views

unable to run OpenOffice from text mode

I have installed OpenOffice in Redhat5 in text mode. When I tried to start OpenOffice using the command: sudo /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100; ...
5
votes
2answers
7k views

How do I debug an upstart job?

I have the following job in /etc/init/collector: start on runlevel [2345] stop on runlevel [!2345] expect daemon exec /usr/bin/twistd -y /path/to/my/tac/file When I start the job with sudo ...
1
vote
3answers
3k views

grep file for only part of line

I have a rtf file that I'm using grep on like this grep "Order Number" 'Extract Text Output.rtf' which results in lines that look like this \b\fs28 \cf2 Fab Order Number : FAB00772450\ and I ...
1
vote
3answers
2k views

What do slashes “/” mean in crontab?

I'm seeing slashes in some crontab examples, I don't understand what they mean? Check this one out for example */10 * * * * /home/ramesh/check-disk-space ...
3
votes
1answer
1k views

How can I compare just the file contents of two zip files

I created these two zip files about 24 hours apart. $ ls -l /tmp/*.zip -rw-rw-r-- 1 scott scott 1401289 Mar 21 20:11 /tmp/inc1.zip -rw-rw-r-- 1 scott scott 1401289 Mar 22 19:29 /tmp/inc2.zip You ...
16
votes
7answers
3k views

Why does Windows not recognize files inside Linux partitions?

I dual booted my Windows XP, installing Linux Mint. I found out that when using Linux Mint, I could see and open files installed on Windows XP, but when using Windows XP, I can't see and open files ...