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

How to restore emails on CentOS?

I moved my domain to another server. Unfortunately, i deleted the emails accounts from my Mail Client (On MAC) and all of the previous emails have been deleted and I don't have access to them. How may ...
2
votes
0answers
130 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
2answers
2k views

Arch Linux booting with read only filesystems

I installed Arch today and when I logged in I noticed that my filesystem is read only. How can I fix this?
2
votes
2answers
82 views

Can I associate my command history based on my cwd

I often navigate between multiple directories in a bash session. Sometimes upto 4. For each directory I am in I often have an exclusive set of commands that I fire and this set can be between 7 and 10 ...
2
votes
1answer
231 views

How can I know if the set -e option is enabled or not?

I'm writing a shell function that will be called from many different places and I want to ignore all errors occurring inside the function disabling the (possibly enabled) set -e shell option, ...
0
votes
3answers
112 views

Symbol 001E in a box on a Linux terminal

When reading a Windows log file in a Linux terminal, I see a strange symbol “001E” How can I replace it by space? Maybe something like sed -e 's/010e/ /'
3
votes
2answers
273 views

Force sudo to ask for password once from outside sudoers

I'm trying to hack together my own Android app that opens an SSH connection to my computer, and sends commands. I am aiming to keep the interactivity of this process to a minimum, to make it have the ...
3
votes
1answer
2k views

How to set login screen resolution in debian

My Debian install (Linux machine 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux) is limited to 1360x768, but my monitor is capable of 1680x1050. There is no xorg.conf file so I created ...
6
votes
3answers
10k views

how to stop cp: overwrite './xxx' ? prompt

How can I stop the cp command from prompting to overwrite. I want to overwrite all the files with out having to keep going back to the terminal. As these are large files and take some time to ...
0
votes
1answer
996 views

sudo/su command for Red Hat Server 5.4

Without going into too much detail, I need to execute one linux command on redhat with root user access. Red Hat Server 5.4 does not recognise the sudo command. The command su can be used to switch ...
4
votes
1answer
2k views

Linux permissions for services

How do permissions work for services in Linux? I already know that I can set read, write and execute permissions for files and directories with chmod each for owner, group and other users but how do ...
0
votes
1answer
1k views

How to get out of the Linux Filesystem repair prompt after repairing the filesystem?

When I try to log into my FC16 VM, I end up on the Filesystem repair prompt. I am guessing this is an issue caused by the corruption of the filesystem. In this filesystem repair prompt, I am unable ...
3
votes
3answers
1k views

Linux run script automatically after boot

I want to start a script, which set the system time automatically after booting. I wrote the command date -s "12/31/12 23:59" in rc.d/rc.local. That didn't work. How to solve that?
0
votes
1answer
132 views

how can i find my system turn on and turn off timing

Is there is possibility to find my system turn on and turn off timings in last few days. i want to know last booting time of my system, and who operated my system in last day... thank you
0
votes
0answers
141 views

Network bandwidth & traffic monitoring [duplicate]

I have the following situation: Small network with about 30 PCs with wireless cards. A regular Asus wireless access-point which is connected to the server. Server is a normal x86 PC with Ubuntu ...
1
vote
2answers
261 views

Interpreting regular expressions using find in Linux confusion

I am attempting to use the find command and came across an article at http://www.linux.ie/newusers/beginners-linux-guide/find.php which states: The wildcard character is escaped with a slash so ...
3
votes
1answer
415 views

Setting up a shared folder in Linux

I'm trying to set up a folder in my home directory that will be shared with another user, but I can't get it to work. This is what I've done: I have tried two different ways using ACL's and ...
0
votes
0answers
238 views

Ubuntu can't install an older version of a package

When I try to do an apt-get install, I keep getting an error: Depends: libgtk-3-common (= 3.4.1-0ubuntu1) but 3.4.2-0ubuntu0.4 is to be installed when I run sudo apt-get -f install, I get several ...
0
votes
1answer
1k views

How to use SREP with Freearc?

I've read the instructions at http://freearc.org/research/SREP.aspx and added SREP to my arc.ini but I can't find SREP in the gui? How can I compress my files with SREP? I've also downloaded the ...
0
votes
1answer
3k views

Error: “failed to connect to wpa_supplicant - wpa_ctrl_open no such file or directory” using netcfg with wpa_supplicant

I'm trying to set up netcfg so that I can finish installing Arch Linux (using the instructions from the Beginners' Guide and netcfg) and I passed over what was meant to be a short step. Open ...
0
votes
0answers
141 views

ubuntu 12.04 - keep getting “Server not found” for some websites

ever since last week , i've noticed that many websites cannot be accessed , and it doesn't matter if i use firefox or chromium as a web browser . as an example of such a website is: ...
2
votes
1answer
1k views

Why does Midori on Fedora Linux pretend to be Safari on Mac OS X?

If you are using Google Chrome on Linux then the User-Agent request header will look like this: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 ...
0
votes
1answer
114 views

Two connections in Ubuntu

I have one wire that goes to my laptop. I can connect local network and adsl internet in Windows simultaneously. I created adsl-connection and it works well (I can browse Internet). But I can't ...
0
votes
1answer
537 views

Delete files at boot, or run script on boot

I need the CentOS system to automatically delete some files (if they exist) on every boot. I can write a PHP or bash script to actually delete the files, but how can I get the script to run on each ...
0
votes
0answers
603 views

HDMI to DVI-I adapter no signal without vga

I bought a computer monitor (MAG 22" LED H2201L-NS 1920X1080 2MS + DVI-D), and I have a laptop that only has a vga connection and an HDMI connection. bearing in mind that I want to connect it to my ...
1
vote
0answers
78 views

How to provide an alternate library path for one application only?

After installing the infinality font configs and recompiling freetype with some patches wine won't recognize freetype anymore. I've tried statically linking only freetype by modifying a slackbuild ...
0
votes
2answers
2k views

rm command and regular expressions via Linux BASH shell

I am attempting to use regular expressions to remove set of files however the bash shell returns the message rm: cannot remove `[0-99]+ -': No such file or directory rm: cannot remove `[a-zA-Z': No ...
2
votes
2answers
1k views

How do I change the default for the “df” command in unix/linux?

I'm trying to change a default for the df command. When I type the df command, I see the amount of disk free space listed in kilobytes. I want to change the default so that when I type in df alone, ...
0
votes
2answers
810 views

Wifi not working in ubuntu

I m trying to work wifi in ubuntu 10.04 lts on HP pavilion dv6 laptop. I m new to Ubuntu I tried many thing , that were present online with Broadcom. I feel Broadmcom is not present. Please find ...
6
votes
2answers
4k views

How to see the content of RAM memory? [closed]

Is there any way to see the content of the RAM memory? From the first byte until the last one. I'd like to see where the OS and all the processes running on it are located in the RAM. Is this ...
3
votes
4answers
2k views

Why is setuid ignored on directories?

On Linux systems, you can successfully chmod u+s $some_directory, but instead of forcing the ownership of new subdirectories and files to be the owner of the containing directory (and setting ...
0
votes
2answers
629 views

Apache virtual hosts configuration works on Windows, not on Linux

On Windows this Apache virtual host configuration is fine, but when on Linux it does not work the same. NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/www/chess/htdocs" ...
1
vote
4answers
1k views

Use-cases for assigning multiple IP addresses to 1 NIC [closed]

What would be some of major use-cases in which you would want to assign multiple IP addresses to your NIC? Knowing of any standard/well-known 'gotchas' associated with each use-case would also be ...
2
votes
3answers
279 views

Xargs string interpolation, not by inserting a space

I want to repeat touch ../template/filename where filename comes from find. I want xargs to apply the touch operation, but I dont want it to insert a space like it usually does which derives into: ...
1
vote
2answers
424 views

Is there a method to find how many soft links point to certain file?

SSH is a soft link (symbolic link or symlink) to dropbear. I want to know how many files are soft linked to dropbear. Is there any method to find how many soft links point to certain file? It would ...
1
vote
1answer
1k views

Issue with $ARCH variable

I am using a .sh script and it requires the $ARCH variable. When I type echo $ARCH nothing shows up on screen. How can I make this variable work ?
7
votes
1answer
331 views

Gnome Shell Extension Key Binding

What is the simplest way to (globally) bind a key combination (e.g. <Super>+A) to a function in a gnome shell extension? Inspecting a couple of extensions, I ran into the following code: ...
0
votes
0answers
152 views

Misused mke2fs and cannot boot into system

I installed ubuntu with wubi in windows7 64bit, and I had installed Mandriva 2011 with a disk. I tried to learn linux with Ubuntu and misused mke2fs; after I reboot my computer, windows7 and ubuntu ...
2
votes
1answer
745 views

Linux (v4l) webcam - make settings “stick”

My Logitech camera (C300) is properly detected and present at /dev/video0. However, by default the image has contrast and saturation set to maximum, which significantly degrades the image quality. I ...
3
votes
2answers
5k views

Making a bootable USB for Solaris

Is it possible to create a bootable USB of Oracle Solaris 11? I don't want to install Solaris on an Oracle VM Virtual Box.
2
votes
1answer
221 views

How to watch disk free space change on Linux?

As the title implies, I want to know how to watch disk free space change on Linux instead polling it periodically via statfs. When the free space is changed, a signal is emitted to allow the ...
1
vote
0answers
1k views

How to fix broken dependencies when installing old/archived packages

I am trying to install opencv version 2.1. My codebase requires opencv 2.1, so upgrading is not an option. Specifically, I am trying to install the packages: libhighgui2.1 libcvaux2.1 libcv-dev ...
3
votes
1answer
491 views

List full timestamps of files in a tarball

I have a large tar archive and want to see the exact (nanosecond) timestamps that are stored for each file in the archive. In case it's relevant, the tarball is in POSIX-2001 format (tar ...
3
votes
1answer
648 views

How do I change the default for the “df” command in the Unix/Linux Terminal in the tcsh shell?

I am in the Unix/Linux terminal right now and I'm not in any kind of editor such as vi or emacs. Now when I type in the "df" command, I get the amount of disk free space in KILOBYTES. I want to change ...
2
votes
0answers
288 views

How do I use wine's new multi-channel audio support?

Wine supposedly added Multi-channel support to the ALSA driver in a recent release. However, I haven't found any documentation about it or any reports of anyone successfully using it. I have 5.1 ...
3
votes
1answer
202 views

Xubuntu login hangs after Cancel Button click

I'm running Xubuntu 12.04 (I installed using the alternative installer.) running in Virtaulbox 4.1.20 My issue is with the login screen (lightdm-gtk-greeter). It usually runs just fine, and allows ...
4
votes
1answer
823 views

How can I save my multiple tabs session in an xfce4-terminal?

So I usually have tons of tabs open in terminal sessions and every time I open a new terminal I have to manually open up all tabs. This is pretty annoying. I checked man xfce4-terminal but it didn't ...
1
vote
1answer
355 views

How to list a subset of files in several directories?

I'm starting to pick up Linux. I have one directory called class03 with five directories in it: _html html dothtml images 123 I need a one-line command that lists all files with -01, -02 and -03 in ...
2
votes
1answer
359 views

How to reset xen hyperviser clock

I have a low cost server running Debian Squeeze stable, using the Xen hyperviser. After a very long uptime the clocks of the unprivileged domains will deviate. Restarting the domains will not fix the ...
0
votes
1answer
873 views

how to disable an RTC alarm in linux (once sheduled)

RTC alams are working great for waking up my system when I want to record a program, but if I decide that I don't want my system to wake when it is scheduled to, I'm finding it hard to disable that ...