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
1answer
392 views

Authenticate VNC session with ConsolKit?

I have a linux machine running Fedora 16 in a cupboard. It has no screen or keyboard. I connect to it using a combination of vnc and ssh. Recently, after an update, I have had issues with ...
1
vote
3answers
2k views

Use `dd` linux program to save / recover a disk's MBR

I have an Ubuntu OS installed on my laptop. I want to install Windows 7 as well to another disk partition (I will do it by recovering it from a special partition on my laptop). After installing ...
3
votes
3answers
552 views

Is there actually a way to make video calls through XMPP/Jingle WITHOUT Google Talk?

Good day people, I'm writing because I've spent the whole day trying to make video calls through XMPP but I haven't really found out if it's actually possible. There are many clients which ...
5
votes
3answers
593 views

How to share address book data between MacOS X and Windows/Linux?

We're using a PC and a MacBook at home which are connected via a local network. We'd like to have a "master" address book for both computer, so that when contact information is changed on one of the ...
1
vote
1answer
922 views

How to install Windows 8 as a dual boot with Linux Mint pre installed?

I have Linux Mint installed on my system. Now I want to install Windows 8 OS on another drive which is empty, so how can I achieve that. Does installing Windows over Linux affect GRUB loader? PS: ...
0
votes
0answers
20 views

dual booting on linux after windows 7 installation [duplicate]

Possible Duplicate: How to fix GRUB after Windows breaks it, and how to edit the GRUB menu I have installed red hat enterprise linux(RHEL 6.0) and after that i installed windows 7 but after ...
13
votes
4answers
9k views

In linux, how do you check if a disk is fragmented?

At boot, fsck sometimes reports the frgmentation for a disk: "5.3% non-contiguous". How can I get this information myself? Is there a specific fsck invocation?
2
votes
1answer
3k views

How can I install gfortran 4.6 in Ubuntu 11.04?

I am running Ubuntu 11.04. I wanted to install gfrotran 4.6 on my system. Can anyone please explain (show all) steps required to install gfortran 4.6 on ubuntu 11.04? I did the following: sudo ...
1
vote
3answers
228 views

Move installed R library to other directory

Accidentally I have installed R library in my home directory /home/user/R/i686-pc-linux-gnu-library And I want to move all this "/R/i686-pc-linux-gnu-library" thing to original R libraries ...
0
votes
2answers
93 views

What happens if I write to a device other than a disk?

I know, I can write to a hard disk just using dd command in Linux, such as dd if=/dev/zero of=/dev/sdb. Since, every device is represented as file in Linux, I wonder what might happen if I ...
1
vote
3answers
147 views

How to remove text from vim

I want to remove all the words that ending with abc Example: 111abc 222def 333abc 444def 555abc 666def From here I want to delete all the words that ending with abc. so I tried this ...
0
votes
2answers
1k views

Redirecting output from syslog to own log

I'm following this tutorial: Using Fail2ban To Block Wrong ISPConfig Logins, but rsyslog won't redirect the output from a file to another: /etc/rsyslog.d/12-ispconfig.conf: if $programname == ...
0
votes
2answers
2k views

find: missing argument to `-exec' when executing the find command in Linux [closed]

I get the error find: missing argument to-exec'` when I attempt to run the command find . -maxdepth 1 \( -iname \*.png -o -iname \*.jpg \) -exec echo {} \; The reason I am using echo is because I ...
1
vote
1answer
3k views

XBMC launching external applications full screen

Running xbmc-standalone (Eden) on Ubuntu server edition 12.04 (no gnome/kde/etc...). When launching another application via 'advanced launcher' or other launcher add-on XBMC goes into a 'windowed ...
0
votes
1answer
1k views

Changing the MAC address on a FritzBox WiFi router

The AVM FritzBox WiFi router has a feature to set the required MAC address from the configuration GUI. When we change the MAC address, is this change done virtually at the firmware level, or does the ...
2
votes
3answers
2k views

Count of files in each sub-directories

I would like a BASH command to list just the count of files in each subdirectory of a directory. E.g. in directory /tmp there are dir1, dir2, ... I'd like to see : `dir1` : x files `dir2` : x ...
2
votes
1answer
1k views

Prompted for password twice at linux boot login

After a recent update in Arch Linux, which required updating /etc/passwd, /etc/shadow, and /etc/pam.d/login, I have started being prompted for my login password twice at boot up. I boot to runlevel 3, ...
3
votes
2answers
977 views

Bash prefix string with tilde to expand to home directory

I can't figure out how to prefix a string (e.g. "user1") with a tilde (~) to produce ~user1 and have that expand to user1's home directory. Here is what I have now: USER="user1" ls ~${USER} ls: ...
2
votes
2answers
232 views

Any lightweight Linux/Cross-platform text editor that does tables? [closed]

I like to organize info in tables. OpenOffice/LibreOffice is too heavyweight, I don't need the hit to swap nor the featureset. Is there any lightweight editor that does a table/grid like that, and can ...
1
vote
0answers
404 views

Disabling OSX menu bar in VirtualBox fullscreen

I am trying to run Linux Mint/ubuntu using VirtualBox on OSX. My problem is that the OSX menubar keeps appearing when mouse gets on top of screen in fullscreen mode. I would like to stop this effect. ...
1
vote
3answers
110 views

Linux - Set Subdirectory as Root for a user/group

We currently are only using a root ssh login to our server and are attempting to make a "developer" status user which should only have access to a sub directory. Is there a way we can set it up so ...
1
vote
1answer
595 views

Where should I put my application cache for Unix based apps?

I am building command line application, and I have a need to save some temp data to files. I do not know where is convention for applications to store their cache on unix based systems (in this case ...
0
votes
1answer
60 views

add script on boot linux machine

I have one script to start a service on my ubuntu. I added it on boot machine using "# update-rc.d projeto defaults". But it still doesn't start with the boot machine. I think is because I am using ...
2
votes
2answers
4k views

How to change XFCE to LXDE?

I've just installed LinuxMint XFCE, which seems to be still a bit to heavy for my hardware. Thus, I'm thinking about LXDE installation and wonder if a new Linux installation is necessary/advised in ...
1
vote
1answer
109 views

“autocmd FileType” doesn't work the same way in Mac and Linux

Here is a small vimrc snippet that I was trying to use on my Mac function SetCommonDefaults() " Set line numbers set nu endfunction autocmd FileType cpp call SetCommonDefaults() What I expect ...
1
vote
2answers
3k views

Error in Ubuntu, what does this mean?

Got this on my machine. I was just browsing the web on Chrome and my computer froze. I recently just built this machine. I have a feeling it is a hardware problem... Possibly one of my parts arrived ...
4
votes
1answer
1k views

(How) does deleting open files on Linux and a FAT file system work?

It's clear to me how deleting open files works on filesystems that use inodes - unlink() just decreases the link count to zero, and when the last file handle to the file is closed, the inode will be ...
1
vote
2answers
2k views

How to automatically wrap long lines in emacs?

I just tried Gnu emacs 23 automatic long line wrapping feature using M-x auto-fill-mode. it works perfectly. Now I modified my .emacs file as following to have this feature always turned on but it ...
0
votes
3answers
100 views

terminal history clearing automatically

My bash shell is clearing its history automatically and I am unable to figure out whats wrong. I have looked at the bashrc file and these are the settings HISTSIZE=5000 HISTFILESIZE=10000 Can some ...
0
votes
2answers
1k views

linux sort -n uniq -c

I have a text file which contains about 50MB of text: valA valB valC valZ valB Whats the quickest way to: cat the file Display the unique appearences
0
votes
2answers
118 views

I've set an editor as default, how do I call it to open files in a shell?

EDIT I thought of a better way to phrase the question. How can I find the alias that Ubuntu is using for a different text editor? Rather than using nano by typing nano file.txt, i'd like to be able ...
1
vote
1answer
72 views

Printing: Different pages from different feeds (pdf)

I've got a pdf document and want to print it about 100 times with a Kyocera fs 4020dn printer. I'd like to have the first page on colored paper. Is it possible to tell the printer to take the first ...
0
votes
0answers
26 views

How to bulk translate file names and rename them [duplicate]

Possible Duplicate: Software to rename files with Japanese or Korean character/letter filenames to their Romanized (Roman/Latin letters) equivalents I have some files with Chinese names. I ...
0
votes
2answers
445 views

GUI search tool in linux

Coming from windows, there is a fantastic search tool, called find everything, found here: http://www.voidtools.com/ Which can instantly search all files on your hard drives via name. It does not ...
0
votes
1answer
693 views

Middle Mouse Button does not work in XFCE / Arch Linux

I have the XFCE desktop manager installed on my Arch Linux system. With E17 (Enlightenment desktop manager) I had no problems with my mouse: all buttons worked correctly out of the box. But in XFCE my ...
0
votes
1answer
898 views

What command can I run to erase all partitions and create a new one

Is there a command can I run to erase all partitions that exist, and then create one new one?
7
votes
2answers
3k views

Will a job put in background continue running after an SSH session is closed?

I have an AWS instance, and there I some tasks that I need to complete that will take some time. If I run these before commuting to/from work (e.g. wget <someStuff>), then commit it to ...
0
votes
2answers
2k views

What command lists the files created in a specific month and is readable for the owner?

I am supposed to find the command that lists all the files created in September and are readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I will ...
24
votes
4answers
33k views

What is effect of CTRL + Z on a unix\Linux application

I was curious and confused that what exactly is the behaviour of CTRl+Z. I know, If a process in running in foreground, and we press ctrl+z, it goes to background. But what exactly happens. Does it ...
2
votes
2answers
150 views

Is it possible to boot Windows normally, but boot up Ubuntu if certain usb drive is in?

I have 2 operating systems installed. But I want the operating system that boots, to be dependant on whether there is a usb flash drive inserted or not. If a flash drive is not inserted - boot ...
1
vote
1answer
1k views

Debian 6 Internet connection sharing aka IP masquerade not working

The problem: the computers [Xbox 360 and a Kubuntu 12.04.1 laptop] can't access Internet through a recently-installed desktopless Debian 6 laptop (which is wirelessly connected to a WLAN station) but ...
0
votes
4answers
149 views

Installing softare on Linux

I'm trying to install the GMP package on Redhat 4, x86_64. The package can only be installed using make, which is not available and should be installed with apt-get/yum, but I don't have either one of ...
1
vote
1answer
390 views

How do i install apache on my ubuntu 12.04 where it has virtualhost

According to the docs https://help.ubuntu.com/10.04/serverguide/httpd.html i have done following, and that is almost how i do always in my Fedora, but Ubuntu looks like its not working. a) DNS to IP ...
0
votes
1answer
445 views

How do I find files containing two strings together in Linux? [duplicate]

Possible Duplicate: How to Combine find and grep for a complex search? ( GNU/linux, find, grep ) I have a file containing a text: PADLST20120907:D:05B:UN:IBTA+TK4 17 ...
5
votes
1answer
2k views

recursive file/directory verification on linux

What would be a command structure or simple bash script to run to compare all files in one directory with all files in another directory, verifying their data are identical, or not, down to the bit? ...
5
votes
1answer
512 views

How do I achieve lossless JPEG joining without truncation of partial MCUs?

I am working on a project for which I need to join thousands of JPEG images losslessly (I'm not talking about the Lossless JPEG/JPEG 2000/JPEG-LS formats here). Aforementioned images have varying ...
0
votes
2answers
105 views

Setting up an alias that waits for the next prompt to enter a command

I'm trying to set up an alias that connects to an ftp site.. so far (with the help of SO :] ) I've been able to create the alias that will connect. I've tried adding the next command preceded by a ...
0
votes
3answers
12k views

What does ~ mean in a Linux shell?

I'm new to Linux and have been seeing this often. Could someone explain the concept here? ~/.somefilename What does the ~ (tilde) signify?
2
votes
2answers
114 views

Rename a file to move the version number from the end to the beginning

How do I rename a file in linux and take the version # from the end and move it to the beginning. For example I have a file name: Random text - text 1.1 (SD).mp3 to 1.1 Random text - text.mp3 ...
0
votes
1answer
122 views

Clean Multi X Server Setup

I want to spawn a second X Server for my TV and use a Media Station software like xbmc over it. Is it best practice to manage multi x instances from xinit or is there another/better way? Apart from ...