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

1
vote
2answers
2k views

Unable to connect to 127.0.0.1

I have a new Ubuntu install where I am not able to connect to localhost or 127.0.0.1 or using my computer name. telnet localhost [tried all/no port numbers] returns telnet: Unable to connect to ...
0
votes
1answer
2k views

Linux Mint 13 64bit Cinnamon and Oracle Virtualbox: 3d acceleration crash

I've recently got an interest in Linux. After some research, it looks like Linux Mint 13 cinnamon is hot and I thought I'd try it out... I'm running Windows 7 64bit and have experience with Oracle ...
1
vote
1answer
689 views

SELinux issues when adding rules

On my laptop I use Fedora 17 distro for the first time and I'm having some issues adding rules to semodule An example: # grep httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i ...
2
votes
1answer
558 views

What does the lpr -h command exactly mean from linux?

I am new at Linux and in my school they asked me to give an example of this command lpr -h I already know that lpr its for printing and that the option -h disables banner printing. What banner? As ...
0
votes
1answer
86 views

NFS symbolic link to /root possible?

Suppose that I have access to nfs server. The directory that I have an access is /shared and it is owned by root. I can read and write to that directory + subdirectories + files. Suppose that I want ...
3
votes
4answers
2k views

Using cp command in linux shell, how do I copy a whole directory into another directory?

I have a directory, let's say, "work": ~/work/ This directory has some sub-folders (d1, d2...) in it and files in these sub-folders. I want to make a backup copy in the same folder, so it would be ...
4
votes
5answers
683 views

Is GPU active when there are not any monitors?

Today I turned an old PC into some kind of a "server", which means that I want to leave it running 24/7. I don't need any display as I will use the machine via ssh so when everything was set up I ...
1
vote
1answer
85 views

Does ls provide information about NFS permissions?

When writing to NFS directories remotely, what would the permissions of files written be, when both the client and the server use Linux? Does ls -l show file permissions as seen by the NFS server?
1
vote
0answers
1k views

Squid cache access denied

I'm trying to create an anonymous squid server. I've installed squid with with yum install squid Here's my /etc/squid/squid.conf file: # # Recommended minimum configuration: # acl manager proto ...
3
votes
2answers
650 views

How do I wipe an entire hard drive using the Gutmann method? [duplicate]

Possible Duplicate: Securely erasing all data from a hard drive Is it possible to securely wipe a hard drive with the method outlined here using dd and little else? I have an old PC and an ...
0
votes
1answer
706 views

How can I set deadline as the I/O scheduler for USB Flash devices by using udev rules? [duplicate]

Possible Duplicate: Udev rule is not working I have set CFQ as the default I/O scheduler. I often get bad performance when I write data into a Flash device. This is resolved if I use ...
0
votes
1answer
46 views

When I try to change mode in VI it prompts ^[ char

I am using FreeBsd 9 and I need to use Vi. My problem related with the changing mode (command to insert or insert to command) in VI. I know that I need to use ESC key to change mode. But in Insert ...
2
votes
1answer
2k views

Autoload .Xresources when system is started

How can I load the settings from ~/.Xresources when system is loaded? Currently, I write xrdb ~/.Xresources everytime I start the system and I'd like to automate it somehow. I use Ubuntu 12.04 ...
0
votes
1answer
214 views

Is it possible to figure out which http request generated the corresponding response

I am using iptables to listen to tcp (http) packets. I am filtering out INPUT responses containing a matching string. Is it possible to know which http request generated the response. Assuming 10 ...
0
votes
0answers
58 views

Is it possible to install Linux straight from an ISO image? [duplicate]

Possible Duplicate: Write Fedora.iso to USB and boot it from a Macbook I have a Macbook Air without an optical disk drive. I do not have a USB optical drive handy. Is there any way I can ...
0
votes
3answers
493 views

How can I login as root so I can use gdm?

In the past, Debian presented an action menu upon initial boot after install where you could confirm "login as root." When that option disappeared, I stopped defining the root user. However I now ...
2
votes
2answers
162 views

Linux: How to determine which console I am using

I use Ubuntu 12.04. I am logged-in to tty2, tty1 and tty7. In my textbook I read that the whoami command allows me to determine which console I am using. But this command merely shows my login. As ...
2
votes
1answer
795 views

A way to auto cycle (close) through all screen sessions

I frequently use screen when I log into the interactive nodes to a supercomputer that I have access to -- and I often run things and move on. There are about 20 separate nodes that I can log into; and ...
0
votes
4answers
2k views

Reverse order using command

Is there a way i use the ps --sort option on a linux to display the processes in reverse order based on the process ID or is there another command i can use for this?
3
votes
1answer
874 views

Put Conky behind the desktop icons

Maybe I am trying do something impossible, but after hours of Googling I didn't get 100% answer yet. So - it is possible put Conky on Desktop backgroud (behind desktop icons)? The usual config: ...
3
votes
1answer
403 views

VirtualBox without X server

I want to run a guest operating system under a Linux host with VirtualBox, but I don't want to run from within X. I don't want a headless configuration, I don't want to run VirtualBox in the ...
0
votes
1answer
415 views

Use USB pen drive as HDD for Linux mint

I have already installed Linux mint to a USB pen drive.It is working,but slow. On a p4 2.8 Machine with 512 ram. Can i speed up this system? Any suggestions ? Thank you.
1
vote
0answers
174 views

Hiding window from alt-tab and window-buttons (xfce panel) [closed]

Is there any way I can achieve this under Linux Mint 13 running xfce4 ?
0
votes
1answer
80 views

Books or other materials to overcome Linux learning curve? [closed]

I was born in 1989 and am an active Windows user since 1993. I've always struggled with Linux, not being able to configure the system the way I would like, snooping through blogs and forums for ...
5
votes
1answer
368 views

How can I use a remote machine for swap space?

I have two Linux boxes, one of which doesn't have much RAM or disk space. How would I go about setting up a swap file on the second machine for the first to use?
1
vote
1answer
201 views

Have only read access to Samba

Hi I've been struggling a lot with Samba on Centos 5.5 lately. I develop in Windows 7 and send files through scp (ant task), but it's to slow and wanted to setup thoroughly samba. After installing ...
3
votes
2answers
194 views

How should I create a folder that automatically links to a shared drive between Windows and Linux?

I'd like to set it up so that when I click on my 'My Pictures|Videos|Music...etc' folder it just redirects to my middle data drive. Likewise for my linux folders. How can I set this up? I'm sorry if ...
1
vote
0answers
422 views

ATI Radeon Drivers works with which linux distribution and version?

I have ATI Mobility Radeon HD 5850 graphics card. Almost every new linux distribution seems to have an issue with it, when i install the drivers. Working without utilizing the graphics card leaves me ...
7
votes
3answers
1k views

Is it possible for root to execute a command as non-root

I am root user and suppose i want to run any application as another user. is it possible, without switching to another user. Something like # google-chrome user=abc I am actually executing a cli ...
0
votes
5answers
7k views

The requested security information is either unavailable or cannot be displayed

Something or someone had recently deleted 90% of the files on the network. The recovery was done by copying backup files from a Linux based NAS (Baffalo Terastation Pro) back into the win2k8 servers. ...
5
votes
1answer
3k views

Bash: permission denied for file write

I followed this tutorial guide on "How to Create Linux Proc Files in C Program using LKM". I've successfully made my module and loaded it in. Now I want to echo to my proc file to make sure the ...
1
vote
2answers
4k views

Slow data transfer using SSH

The server is an ubuntu server 11.04 with sshd. SSH works fine for console programs. But data transfer is slow, which is very annoying when transferring large files. I tried two different client ...
87
votes
4answers
180k views

How to decompress a .bz2 file

I have a file as: filename.bz2, but I can't figure out how to decompress it. I tried several methods, none of them seems work. I have tried the command: tar xvjf filename.tar.bz2, but it didn't work ...
0
votes
2answers
1k views

How can I change the Desktop background or the screensaver in Terminal only?

I have a few images in a directory and I can only use the Terminal
0
votes
2answers
1k views

Installing GNU scientific library and linking to programme

I am trying to install a statistical program which requires GNU Scientific Library (GSL). I have successfully installed GSL through the yum command, but my statistical program gives an error when I ...
5
votes
2answers
752 views

Which logical CPU (core) belongs to which socket?

I need to test performance of a multithreaded program on 1 CPU, but I have a dual CPU machine. I need to set affinity to those logical CPU's, that share their socket, oterwise they strongly benefit ...
0
votes
1answer
59 views

Linux: Change argv[1] recursively through file sytem

Ok, so what I have right now is a c++ program that does work (replacing things) to files. The thing i need to do now is run this program on a folder. Pretty much run it on all .cpp and .h files in the ...
7
votes
2answers
1k views

Is there any command like time, but for memory usage?

Is there any command like time, but that reports more statistics? It would be great if I could do something like: $ statistics some_command time: real 0m3.002s user 0m0.000s sys ...
3
votes
2answers
910 views

Is there a cat alternative that supports unbuffered output?

I'm looking for a program to copy stdin to stdout while showing control characters (like cat -v) and without waiting for an EOF (the input is from a tail -f). I have GNU|Linux; the cat that's ...
-1
votes
2answers
49 views

numbering some content of a file using grep or any other commands

I have a file like this: ==================================[RUN]=================================== result : Ok CPU time : 0.016001 s ...
0
votes
1answer
218 views

Why does my Slackware 13.37 freeze with a kernel bug?

My Slackware 13.37 started to freeze from time to time. Mouse and keyboard stops working, while xmms still playing the song. I paste my syslog and I hope someone could see the reason it crashes. BUG: ...
0
votes
1answer
576 views

Should I compile the latest stable linux kernel (3.5.4) for CentOS? [closed]

I am tasked with compiling a newer version of the Linux kernel that what is currently running on this CentOS 6.3 system. My instructions were to get a new kernel from kernel.org, but I was told that ...
1
vote
4answers
2k views

Difference between folders

How can I compare recursively 2 folders with same structure. With using diff or git diff from bash command line?
4
votes
2answers
277 views

About memory cache of Linux

I'm running a python script to do some statistics and the actually memory which used is low,about 10%.And no other process cost more memory.However,when i use free -m and it shows that almost 95% ...
2
votes
1answer
870 views

Netbeans UI empty in DWM

I'm trying to use dwm Windows Manager, everything is fine (1mb ram ;) but when I run netbeans it load but with a grey and empty interface. (it works fine in Unity or E17 ) Any Idea ? I have found ...
0
votes
1answer
63 views

How can I follow qsub's standard error?

I am running a job using torque (qsub). I would like to follow the standard error of the job as it is being output. The normal output files (for stdout and stderr) are only being written once the ...
2
votes
2answers
1k views

Bash script 'while read' loop causes 'broken pipe' error when run with GNU Parallel

According to the GNU Parallel mailing list this is not a GNU Parallel-specific problem. They suggested that I post my problem here. The error I'm getting is a "broken pipe" error, but I feel I ...
0
votes
1answer
188 views

How to get USB mouse support for guest host VM?

I have a Logitech mouse connected to my computer, but I cannot use all of its capabilities in my virtual machine. In my virtual machine, the back button on my mouse does not work. In order for it to ...
4
votes
1answer
1k views

Ctrl-Z on an SSH session

When I SSH into another system and press Ctrl-Z, I expected the SSH client to go into background. However, it's the remote process that does that. Where does the magic happen?
1
vote
1answer
223 views

How to give user read/write access to folders?

I'm running a certain script that is using a non-root user to do the following... mkdir: cannot create directory `/srv/www/example.com/releases' *** [err :: 12.23.45.789] : Permission denied How ...