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
128 views

transmission-daemon web 403 forbidden

Using transmission-daemon on a Raspberry Pi with Respbian, I always get 403 Forbiden when I try to visit RPi_IP:9091/transmission/ from another computer via local network. My settings.json: ...
19
votes
4answers
25k views

Read the contents of a zipped file without extraction?

How can I see the contents of a particular file in an archive without extracting the .zip it is contained within? I'm using the Linux command line.
2
votes
0answers
128 views

Linux USB to work as CD ROM in OS X

I am working in driver development in Linux USB modules. I have written a driver for USB and it is working as CD ROM in a Windows machine. I made the first partiton as fat32 modprobe g_hidmass ...
1
vote
0answers
54 views

Where to look for devices for writing devices drivers in linux?

I am thinking of getting my hands dirty with Linux kernel by writing drivers for some real devices for which there are no drivers available currently. The device specification should also be freely ...
1
vote
1answer
3k views

How can I list Ubuntu disks by a unique identifier?

I am running Ubuntu 12.04 LTS inside a VM running on VMware Workstation 8.0.4. When I try to view the disks attached to the machine by their ID nothing shows up but the CD-ROM drive. I listing the ...
0
votes
1answer
31 views

Debian ARM and Brother DCP195C with CUPS

I want to have acces to my DCP 195C printer (Brother) over LAN. For this purpose I have bought an raspberry pi and installed CUPS on it. CUPS runs fine and everything else is running smooth as well. ...
1
vote
1answer
13 views

Limit the size of tmpdir

I need to limit the disk usage of MySQL tmpdir so it does not "eat" all available disk space. There are around 30G available but i have seen mysqld using all of it to create a temp table. My first ...
1
vote
2answers
179 views

Linux, Unix, Windows… Is access/modify time relative to system time?

I have searched, but can't find the right terminology. For example, if today was Friday, and a file was modified on Wednesday, then when I change the system time to Saturday, does the file's mtime ...
0
votes
0answers
8 views

password md5 equivalent in grub2

In the old version of grub, we can prevent the user modifying the boot option in menu.lst with the following line: menu.lst password --md5 <password> In grub2, I tried to add the following ...
4
votes
2answers
3k views

Mounting ext4 drive with specified user permission

I want to mount a supplementary ext4 data disk drive with specified rwx permission for a certain user. The mount point is inside the home of such a user and it's owned by the user. I added the new ...
0
votes
2answers
21 views

/dev/random but predictable?

if i want to do a quick test of some flash memory that i'm not sure is working correctly, the convenient ways to write data to it are either /dev/random, /dev/zero but dev/random i have no idea what ...
0
votes
1answer
5 views

Can’t ping gateway on a Tomato OpenVPN server setup

I have some problem configuring an Open VPN server from a tomato firmware (v1.28.9054 MIPSR2-beta K26 USB vpn3.6) on a WNR3500L router. I’ve setup the server like that : And, when connecting ...
0
votes
3answers
8k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So at first I was getting this error when trying to create databases for use in phpmyadmin. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I ...
0
votes
0answers
6 views

How to concatenate MP4 files without losing embedded subtitle or audio tracks?

I have two MP4 files (mediainfo below), one is a short intro scene, and the other is the primary feature. Now, the primary video contains several audio tracks and embedded subtitles. I want to simply ...
1
vote
1answer
20 views

partitioning and subvol strategy with btrfs

I'm new to btrfs and I'd like some advice on partitioning and subvolume strategy. The system is a light-duty web server, and assume it only has a single disk. With ext filesystems, I've always ...
0
votes
2answers
29 views

Boot Ubuntu 12.04 on Samsung ATIV book 8

I am trying to boot Ubuntu 12.04(64 bit) on the laptop Samsung ATIV book 8. Samsung ATIV book 8 came with Windows 7. I am successfully able to install Linux Ubuntu 12.04 on the SSD using USB pen drive ...
0
votes
1answer
19 views

How do I find out the duplex mode / speed of an ethernet interface under Linux?

I want to find out the duplex mode / speed of an etherenet interface or a bridge interface. And I want to change them also. I can not use tools like ethtool or mii because my system does not have a ...
1
vote
2answers
32 views

Hard drive spinning down/up while playing music

I'm playing music from my hard drive and at routine intervals it stops playback and waits for my drive to spin up again (takes about 2-5 seconds). Is there a way to fix or avoid this? It's a Buffalo ...
5
votes
4answers
2k views

Email Client with Vim Editing

I've been using vim for about 5 years now and have grown quite effective with it, to the point where writing things without vim feels so painfully slow. Just about everything that I write, I write in ...
1
vote
2answers
73 views

What does “<>” exactly mean in “echo <> temp.txt”?

Non existing file $ ls file_not_exists.txt ls: cannot access file_not_exists.txt: No such file or directory $ echo <> file_not_exists.txt $ ls file_not_exists.txt file_not_exists.txt $ cat ...
0
votes
0answers
16 views

How to bypass problems when trying to spoof a webcam in Linux

I am wanting to spoof my webcam, so I can eventually insert the method in to a pen-testing book that I am writing. This could possibly lead me into to building a program that is better than ...
0
votes
0answers
18 views

What percentage of RAM can I allocate as heap

I have 32 GB RAM on host, where I need to run java program ( On JRE 1.7 64 Bit). Currently I have specified 8 GB as heap memory. I am wondering how much can I increase ? I just run the java webapp on ...
1
vote
0answers
40 views

What does “<>” exactly mean in “echo <> temp.txt”? [duplicate]

Non existing file $ ls file_not_exists.txt ls: cannot access file_not_exists.txt: No such file or directory $ echo <> file_not_exists.txt $ ls file_not_exists.txt file_not_exists.txt $ cat ...
0
votes
3answers
13 views

How to batch compress images with Imagemagick or similar command or program in Linux

I recently learned about the convert command from imagemagick which I have used to compress many pictures that I have for personal use, and for a blog that I have. In my experience, Imagemagick is the ...
0
votes
2answers
54 views

How to rm -rf a directory that's “hard to kill”?

I want to sudo rm -rf a directory, it was a chrooted jail. I already did everything I know of: umount everything in there netns -k the directory ps amx kill everything involving the directory ...
0
votes
1answer
68 views

Errors were encountered while processing fuse

I was updating my system (Debian Sid x64) using apt-get, but I got the following error: Setting up fuse (2.9.3-14) ... dpkg: error processing package fuse (--configure): subprocess installed ...
2
votes
2answers
269 views

yum/RPM depend on generic package (like “provides” in other package managers)

I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which ...
0
votes
2answers
21 views

tee causing bash scripts to hang

I have a script that calls a number of other install scripts ./script1.sh 2>&1 | tee script1.log<br> ./script2.sh 2>&1 | tee script2.log<br> ./script3.sh 2>&1 | tee ...
0
votes
0answers
11 views

School Bell with Digium Switchvox

Wondering if anyone has a script or suggestion on how to setup a School Bell with VoiP phones. Basically I'd like to setup a schedule to call every phone in a group, switch to speaker, and play a ...
0
votes
0answers
23 views

2 port 10Gbe NIC Performance half of expected

I'm having trouble getting my expected throughput of a Intel dual port 82599EB 10-Gigabit. I've tried many things and want to know if there's anything I could try that I've missed. My hardware ...
1
vote
1answer
22 views

What could cause ext4 partition label to change?

I have a Rosewill RX-358 U3C external HD enclosure which I boot from on different machines. I had a Seagate Barracuda ST31000524AS 1TB 7200 drive in there until yesterday, when I started getting fs ...
0
votes
1answer
29 views

Something is creating inodes on my VPS Linux Server

Please help, my server keeps exceeding the limit of iNodes (750,000). I'm not sure how these are being created. I do have multiple development sites on the server but it had never been a problem ...
0
votes
1answer
6 views

shellinabox - How can I restrict access to certain users only?

I've got a Ubuntu 14.04 machine which I've set up with shellinabox. Now I would like to restrict access to shellinabox to only a certain user account. Nobody else should be able to log in with it. ...
2
votes
2answers
851 views

How do I prevent USB flash drive from getting a new Linux device name after wake from sleep?

I'm booting Linux from a USB flash drive on my laptop. Everything runs fine until I put the laptop to sleep. When it wakes up, suddenly the USB flash drive gets a different device name, and ...
4
votes
1answer
6k views

Configure permissions for /dev/ttyUSB0

I'm trying to communicate with an Arduino from Ubuntu 12.04. When plugging in the USB cable, the arduino's serial port occurs as /dev/ttyUSB0. When I try to connect to it using moserial, I'm getting ...
0
votes
0answers
13 views

Linux Mint - local access but no internet

I am able to see the windows computers on my network and access the shared folders on them. I can no longer remote into my OpenVPN and cannot access the internet. For about the first 30 seconds after ...
25
votes
5answers
9k views

Linux / OS X tar incompatibility – tarballs created on OS X give errors when untarred in Linux

When I tar up files on my Macbook and untar them in Linux, I repeatedly get the following warnings/errors: tar: Ignoring unknown extended header keyword `SCHILY.ino' tar: Ignoring unknown extended ...
0
votes
1answer
59 views

uploading music automatically with Google Music on a Linux server

So I've seen questions like this one looking for help uploading music with Google Music on Linux, but none really seem to confront the notion of solely using the command line. I've downloaded the ...
2
votes
1answer
96 views

Unable to delete file via quoting, escaping or using inode

I wrote a Perl script and fat-fingered the name of my output file inserting a space in the file name, so now I have my_file .txt I have tried the following with no success (and no errors reported): ...
0
votes
2answers
2k views

Enable simple password for root user on CentOS

I have a machine with CentOS and I want to enable a simple password for the root user. Something like 7 characters with 2 numbers or so... But I'm getting this error: BAD PASSWORD: it is based on a ...
0
votes
1answer
15 views

“Always-on” video chat?

I would like to set up an "always-on" video chat between two locations displayed on a TV. The hosts that will do the work will be running Linux. Skype is too low quality and runs poorly on Linux. ...
0
votes
3answers
42 views

cat clipboard text into a terminal?

I have text in the clipboard. I want to cat it in a terminal a pipe it into another command. The exact use case is a PEM encoded X509 certificate on a website presented as text (-----BEGIN ...
0
votes
2answers
40 views

what can be the reason for no permission even using root or sudo

When root or using sudo, I cannot write to some files. I have a file fileA with permissions 750 fileA rwxr_x___ root root When I run a program as root or using sudo, the system prompt is: no ...
0
votes
1answer
43 views

Preventing a Linux user from executing anything non-approved

For some user 'bob' in Linux is it possible to restrict the stuff executable by 'bob' to specific paths only. As an example suppose that the 'bob' has the home directory /home/bob 'bob' must not be ...
0
votes
0answers
9 views

Rsync doesn't allow me copy files into mounted filesystems

I configured rsyncd.conf for public access in my rpi: log file = /var/log/rsyncd.log timeout = 600 max connections = 20 uid = nobody gid = nogroup read only = yes list = yes [public] path = ...
0
votes
0answers
6 views

Could I use a raspberry pi as a wifi access point with Sophos UTM for uplink balancing?

I have a router box that's running Sophos UTM (which has an option for uplink balancing). I've already got a wired connection to my ISP, but also have a wireless connection to a different ISP that I'm ...
0
votes
1answer
34 views

wget index.php redirection - The name is too long

I am trying to get a copy of the catalog. I would love to get the "List View" and "Show Object" details. The URL I am tring to wget is: ...
0
votes
5answers
149 views

The following packages have been kept back

I'm running 64-bit Debian Wheezy. Recently when I do apt-get upgrade I get this: The following packages have been kept back: libsmbclient libtevent0 samba-libs It's driving me crazy. I though I ...
1
vote
2answers
2k views

How to get the speed of a network card on the command line?

I am trying to see what the speed of some network cards on a remote server. Our reporting software says they are 10Mbps, but I am sure that is wrong they should be 1Gbps. Our monitoring software uses ...
20
votes
6answers
12k views

On Linux/Unix, does .tar.gz versus .zip matter?

Cross-platform programs are sometimes distributed as .tar.gz for the Unix version and .zip for the Windows version. This makes sense when the contents of each must be different. If, however, the ...