A family of Unix-like 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
3answers
4k views

Mount specific ntfs directory on Linux

Hey SuperUsers, I have Linux mount question. I have a dual-boot Win7/Linux machine. My main OS is Windows, and that's where most of my work lives. Generally all work done under Linux, is to be ...
0
votes
4answers
133 views

Reiser4: completely disable journaling

How can journaling be completely disabled in a Reiser4 filesystem? I don't see relevant options in mkfs.reiser4, nor in documentations. The goal is to fit the FS into an SD card, where no journal is ...
1
vote
0answers
4k views

Squid 3.4.6 Transparent proxy issues

I'm trying to implement a Transparent Squid Proxy for a wireless network where it mainly serve for mobile devices. The software I'm using is squid 3.4.6 (latest version compiled from source) in ...
5
votes
3answers
4k views

Mounting a multi-partition disk image in Linux

I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is ...
7
votes
1answer
9k views

Why is “nc -l xxxx” not opening a port?

I'm trying to get netcat to listen on port 4444, but it doesn't seem to be working. I am checking to see if the port is open using nmap, but it doesn't pick it up and I can't figure out why. I have ...
0
votes
1answer
95 views

Starting gnome-shell with different home

In the company I work for we have home directories mounted by network filesystem. Like all networks our lan can be slow or unreliable at times. Most of my system deals with this kind of situation but ...
0
votes
2answers
489 views

ubuntu home folder permission

I have implemented openLDAP logging into my test server, each user has its own folder, which should be private for him. Now I have testUser1, testUser2 and testUser3, that means my /home/ folder ...
3
votes
3answers
779 views

Merge two Foldes (Backups from my Files) on Windows 7 or Ubuntu 12.04

I have yearly backups of all my files on the harddrive. The problem is that the Backup from 2007 contains files which don't exist in 2008. And I need both Versions of the Files, when they are ...
0
votes
1answer
1k views

Crontab is using some sort of hidden cache?

I used to have a crontab that ran like this * * * * * /usr/bin/php /var/www/vhosts/default/htdocs/agent/time_keeper.php > /dev/null 2>&1 It worked fine. Now I moved that php script to a ...
2
votes
2answers
5k views

Disable GUI on BeagleBone Black running Debian

The Debian image for the BeagleBone Black that they have on their website comes with a GUI by default. I'd like to completely disable the GUI, but in the simplest way possible. It is used as a ...
2
votes
1answer
2k views

Linux FTP User Directory Access Restriction?

I'm setting up the SFTP with different users. I simply need to strict some users to be given stricted Folder Access. General users to access the whole Main FTP Directory normally: ...
1
vote
2answers
151 views

linux map folders by size to compare disk usage

I have AWS linux instance, Currently there are many folders in the instance. I would like to map all the folders and their size, so i could come back in 1 month and check which folder occupy high ...
1
vote
1answer
446 views

dual-monitor on Linux : how to change the virtual resolution of only one screen

I am using Centos 6.3 with two screens : screen A : 1280x1024 screen B : 1680x1050 Screen A is the main screen, and screen B an extension. The problem is, screen A should accept a virtual ...
4
votes
3answers
2k views

Is there anything like HashTab for Linux?

I've recently installed Linux, and I know that you can use "md5sum filename" in terminal, but on Windows there is an AMAZING software called HashTab that incorporates it into the shell. Its awesome, ...
0
votes
1answer
625 views

Use dd to copy an HFS+ volume in linux

I have a friend's HFS+ external drive from her Macbook. We created a new similarly-sized partition on a different external drive, also using the Macbook. From everything I understand about dd, it is ...
0
votes
0answers
268 views

How to let xchat play a sound when someone send me messages?

I know I should set the events. I assign the sound to channel msg hilight, private message. But it doesn't work. I set the audacious to play the file. I test it with your message event, it works ...
0
votes
1answer
58 views

find all users with personal web pages on a server

for a homework question for a class, I have been tasked with finding all grad/undergrad students that have a webpage on the schools server. There must be a list somewhere, but I can not figure out ...
0
votes
1answer
455 views

Tar withour directory structure and exclude folders

I am trying to create a tar file to exclude certain folders and then I want to have a tar file without the parent directory structure. I am able to exclude folders, but when I extract I see path from ...
2
votes
0answers
57 views

Control-L to enter path in Gnome-shell save dialog

In Gnome, I used to be able to manually enter where I wanted to save a file from the save dialog by hitting Control-L. This would focus an editable text box above the file chooser. This appears to not ...
1
vote
2answers
743 views

DD the fastest way

I have this "disk list" table: /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *16.4 GB disk2 ...
1
vote
2answers
2k views

Export display to an iMac

I have a 12" Linux laptop with HDMI, DisplayPort and VGA ouputs. I can successfully export a display of a resolution up to 2048x1536 to any vanilla display or TV. I also have a 27" Mid-2010 top of ...
0
votes
1answer
254 views

What is the meaning of this message in bash commandline?

I did gnome-open document.pdf on my bash shell and I getting this following message :- " ** (evince:11832): WARNING **: Error setting file metadata: No such file or directory" What is ...
0
votes
1answer
192 views

Desktop linux is totally unstable (processes crash)

This is an Ubuntu desktop with various testing tools running. 14.04, x64. Some rare process crashes started around 2 weeks ago and now a lot of different applications crash from time to time with ...
3
votes
1answer
1k views

Understanding rsync's include / exclude patterns

I want to transfer N files from a remote system, using a pattern: ssh remote ls target/ 2013-08-01.mjson.gz 2014-07-04.mjson.gz 2014-07-09.mjson.gz 2014-08-12.mjson.gz ... I only want the 2014-07* ...
0
votes
1answer
2k views

How to snapshot a btrfs root file system (snapshot of /)?

I have Fedora 20 and when I installed it I choose to go with btrfs as file system, by many reasons but mainly to have snapshots available. But I can't seem to create a snapshot of /. I can snapshot ...
4
votes
5answers
3k views

Execute script before shutting down in Ubuntu

When I shut down my computer I want to show some pending tasks that I have to do before leaving the office. I have a local application to manage those tasks, so basically I just want to run a ...
0
votes
0answers
553 views

How to start icewm?

I installed icewm 1.2.13. Metacity is my default window manager. Usually, to replace window manager --replace option is used, e.g metacity --replace. But my version of icewm does not have this option. ...
0
votes
1answer
57 views

Linux backup server

I have a small server and want to create a safety backup to my home. How do I best achieve this? I read about rsync, however, as far as I understand it may make files in use be inconsistent. E.g. my ...
6
votes
4answers
471 views

Linux distro structure

It seems either I am not looking in the right places or documentation is scarce. Where to find an illustration of a typical Linux distro? Something to say that this is a kernel, these are the ...
4
votes
3answers
2k views

Need audio player that lists by directory structure

Amarok is nice, and currently the only thing I've tried that will actually play audio from network shares and not lock up. Only problem is that it doesn't seem to list my library by directory/folder ...
1
vote
5answers
491 views

What is the maximum amount of files to put in 1 folder for performance?

I have read in the past that is it good practice/performance to limit the amount of files you put in each folder, in this case it is user uploaded photos, My site has around 1,000,000 user photos ...
2
votes
1answer
92 views

Difficulty removing corrupt directory

I have two disks in raid 0. I ran fsck on them and long story short, didn't fix it completely. I found it is all in a single directory. I dont mind losing this dir completely so i tried to rm it. I ...
1
vote
1answer
84 views

confusing INPUT,OUTPUT iptables rules

Following is my iptables rules in Ubuntu. ╰─$ sudo iptables -S -P INPUT ACCEPT -P FORWARD DROP -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A ...
1
vote
2answers
481 views

Gentoo xorg-server update conflicts

I ran eix-sync and emerge world -uvDp, then I got below message. I am quite confused by this message. It seems it is saying that the lower version of xorg-server is conflicting withe higher version ...
0
votes
2answers
64 views

Move a range of files

I have a range of numbered files (images) and I want to move them to subdirectory. https://superuser.com/questions/380338/move-a-range-of-numbered-files#= suggests that I use mv IMG_{001-022}.jpg ...
1
vote
2answers
158 views

How to block sites like facebook.com, google.com etc. for different users

I use iptables for other sites as: iptables -A OUTPUT -o EXTERNAL_IF -m owner --uid-owner USERNAME -d DESTINATION_WEB -j REJECT It works for most sites except ones having a large range of IPs. What ...
3
votes
2answers
4k views

Opening firefox in a centos linux terminal

I am trying to run Firefox from the terminal on a server using a centos operating system. Whenever I type in the command: ssh - X hostname firefox I can get firefox to successfully open, but I ...
1
vote
1answer
1k views

Installing Debian 7.6.0 on Lenovo Y50

I was trying to install Debian on my new laptop: a Lenovo Y50 64bit running Windows 8. I got together with a friend and installed Debian in his computer first and had no problems. However I've tried ...
18
votes
7answers
26k views

Killing all instances of Chrome on the command-line?

In some cases killing a single tab/process doesn't do it and I need to close Chrome entirely. Since Chrome has multiple processes, how can I close all of them at once? I know that... pgrep chrome ...
1
vote
1answer
20 views

Loosing random folders on my debians

I'm using updated Debian stable 6 and 7 on few VPS and also on 1 raspberry. The things it's easy, I'm loosing folders and stuff I've installed. For example Mongodb. I had to restart my VPS after ...
0
votes
1answer
628 views

Looking to kill frmweb processes with no jobs

So I am trying to figure out a way to kill Oracle frmweb processes that are doing nothing when load begins to get too high. So far, I have found this command: ps -elf | head -1; ps -elf | awk '{if ...
0
votes
1answer
58 views

Smart encoding conversion

I have a file that contains a mixture of English and Russian lines (one language per line). Russian lines are hand-encoded using one or other Translit encodings. I need to convert Russian translit ...
1
vote
2answers
1k views

Is there any method by which I can send random key events to an X11 application?

So I'm writing a game, and I'm getting crashes very intermittently occuring on movement. I'm trying to get a backtrace out of gdb, but it's incredibly tedious to keep bumbling around, hoping to hit ...
1
vote
0answers
191 views

Redhat user account password expiring after 15 days instead of 30

My user account on a Redhat 5.10 box is set to have my password be changed every 30 days however, it forces me to change the password every 15 days instead. I have confirmed the setting by doing ...
15
votes
8answers
16k views

Where is vmlinux on my Ubuntu installation?

I'm trying to work with starting up oprofile, and I'm running into a problem at this step: opcontrol --vmlinux=/path/to/vmlinux Ubuntu has no package called vmlinux, and when I do a locate vmlinux, ...
3
votes
4answers
1k views

Is there a program/script to modify .conf files?

I want to modify a file like /etc/gdm/custom.conf from the shell or a script. # GDM configuration storage [xdmcp] [debug] [daemon] AutomaticLoginEnable=true; AutomaticLogin=username; But the idea ...
1
vote
0answers
64 views

How to set up a productive and flexible Linux cluster?

I have 7 old computers that are a few years old. I want to cluster them together to create a linux cluster that will run general purpose software(not cluster specific). Is there any software that can ...
6
votes
2answers
1k views

Concatenate files over FTP

I have a list of files on an FTP server that I would like to concatenate remotely. They are quite large, so I would prefer not to download them. The reason I'm in this situation is because I ...
1
vote
2answers
159 views

Make a web request, cat response to stdout?

I'm working from the command line. I need to cat the response of a web request. What tool can I use to make the web request and print the response on stdout? Here's the command I'm trying to make ...
1
vote
1answer
207 views

Most secure way to have IPtables auto-loaded using Debian / Linux

I'd like to know the safest way to load iptables using Debian. Of course, I can use a script that uses iptables-restore : #!/bin/sh iptables-restore < /etc/firewall.conf but : 1) where is the ...