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

3
votes
2answers
3k 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 ...
2
votes
2answers
14k views

Completely removing apache + phpmyadmin + php from Ubuntu?

I am trying to completely remove apache + phpmyadmin + php from my Ubuntu operating system. For phpmyadmin i tried sudo apt-get autoremove phpmyadmin but the files were still in the /etc/ folder. ...
0
votes
2answers
887 views

Which command is used to run or execute .exe files and movie files in linux?

I want to run movie files or executable file in linux. Which command is used run these two filetypes?
5
votes
2answers
2k views

How to increase SWAP space in Ubuntu

I would like to increase swap space on my existing Ubuntu machine. At present it is merely 10 % of RAM available. I would like to make it as 50 % more than RAM. How can I do it on a machine which ...
-1
votes
1answer
698 views

List all my working processes in Linux

pgrep is the command used to return a process ID. Now I would like to see the process ID of my working processes rather than giving a single process — how can I do that?
4
votes
3answers
6k views

Swapon failed: Invalid argument on a Linux system with Btrfs filesystem

What's wrong with this sequence of operation, running on a Debian Squeeze system with a Btrfs filesystem? $ dd if=/dev/zero of=swapfile2 bs=1024 count=524288 $ sudo mkswap swapfile2 $ sudo chown ...
0
votes
1answer
159 views

Sparse image filesystem suitable for live linux filesystem

I want to boot linux (Mint 14) from an USB drive, but mount essential parts of the filesystem from the hard drive (/home, /usr, /opt). Is there a filesystem type that can be used within a sparse image ...
2
votes
1answer
190 views

XFCE: Show all ssh terminals

My XFCE desktop has multiple workspaces, and I have terminals open across the workspaces, each terminal containing a ssh session. I usually have around 10 SSH sessions open at a time, I was wondering ...
0
votes
1answer
26 views

Removing Fedora15 and install Fedora17

I have a DELLE6420 with dual boot of Linux Fedora15 and Windows7. I wish to install Fedora17 in place of Fedora15. I understand that i have to retain the /home folder. As for system-wide installation, ...
1
vote
1answer
2k views

Unicode (non-ascii) filename interoperability between linux and windows

I have this problem, and I'm not really sure where the issue is on client or on server or both. I'll appreciate any help diagnosing and resolving this. I have remote linux box running debian, that I ...
1
vote
2answers
2k views

Linux commands “id” and “whoami” dependencies (for chroot environment)

I have a new openssh (openssh-server-6.1p1-4.fc18.i686) chroot environment in Fedora Core 18 and puts users in a chroot directory structure with a (bash) shell. During troubleshooting SELinux has been ...
1
vote
3answers
810 views

Editing multicam video on Linux

Multicam is a feature where you combine several video clips together (for example, an Internet band whose members record his own instrument at home, then mix all videos of the members into one single ...
0
votes
1answer
133 views

Can't use awk in terminal

I want to use awk command to do something, I input awk in terminal, but the terminal show me that awk: cannot open /home/user/myexe/external_symbols.awk (No such file or directory) Someone ...
0
votes
1answer
691 views

How to clear cache via command line?

I want to clear all caches via command line on linux, how do you do this? Mem: 1033200k total, 175560k used, 857640k free, 5880k buffers Swap: 2097144k total, 0k used, ...
3
votes
2answers
3k views

Fedora 18 Disable Hibernate and Suspend

I recently installed the new Fedora 18, LXDE spin on a workstation (not a laptop). I want to disable the hibernate and suspend functions, and remove them from the "Logout" menu in the UI. In F17 and ...
13
votes
2answers
2k views

SSH into Linux machine over internet

I recently setup a Linux machine in my dorm and I would like to be able to access it via SSH. I'm on a college campus that has several subnets to manage the machines connected wirelessly to the ...
1
vote
1answer
150 views

Commands to control vlc

I have an instance of VLC open and I want to set up some hot keys so that I can pause/play/seek without having to switch focus to VLC. Are there commands that make this possible, and if so, which?
-1
votes
1answer
386 views

How to prevent any Windows 7, 8, XP install to write $Recycle.Bin, System Volume Information on multiuse (Android, Linux) FAT32 SD cards/USB sticks? [duplicate]

Possible Duplicate: How do I get Windows 7 to NOT use the recycling Bin on a removable drive? It's not enough if I set up my machine to work properly, I want to be able to use the SD cards ...
0
votes
0answers
381 views

Du shows wrong file size for about 1 minute

I have a problem with "du -hs" showing a wrong file size for about 1 minute. for example: downloading 200MB file, and checking with du right after the download has been completed will show 1.1MB. than ...
0
votes
2answers
102 views

For loop with conditions

I have a script that adds user on many server. Since I'm adding on many server(s) I am using for loop. Below are the output when user is successfully added. 0,22529,User added. If the user is not ...
7
votes
4answers
7k views

Get the parent directory for a file

I want to get just the name of the parent directory for a file. Example: When I have path=/a/b/c/d/file, I want only d and not /a/b/c/d (which I get from dirname $path) as output. Is there any ...
1
vote
1answer
816 views

Binary spreadsheets with bitwise operators [closed]

I am looking for a way to easily construct binary spreadsheets using bitwise operators such as SHIFT, AND, OR and XOR. I've looked at Gnumeric but can't find any function that'd allow you to set the ...
5
votes
5answers
1k views

How to move all sibling folders into one folder?

I apologize that this seems like such a dumb question, but I can't afford to screw it up. I have a bunch of folders like so: /users/me/foo/oops1 /users/me/foo/oops2 ...
6
votes
1answer
729 views

Emulating extra displays

I have a system with a single monitor, I would like to test the an xmonad configuration that is designed for multiple monitors. Is there any way to emulate a system with 3 monitors using something ...
3
votes
3answers
147 views

Transparent usage of temporary files as means of piping [closed]

As many of us are surely aware, it's always a good idea to make your program accept stdin input. Very many programs do allow that *nix environments. This lets us do cool things like piping echo "foo" ...
3
votes
3answers
5k views

Adding a line into the hosts file, getting permission denied when using sudo - Mac

I'm trying to add a line into the hosts file on my Mac by executing a one line command on the terminal. I thought this would be easy using sudo, but it returns "permission denied" when I try to add ...
2
votes
1answer
1k views

Can I update a Mint 14 Debian-Edition persistent Live USB System

I've installed Mint 14 Debian Edition on an USB-Stick (actually a SDCard in an USB card reader) with the help of UNetbootin, created an additional ext2 partition called live-rw and added the ...
1
vote
1answer
744 views

What routes must be set (in Linux) to allow Internet access through given interface without setting it default?

I am trying to solve a task with routing and OpenVPN's configuration. After setting the connection, I don't want it to become defaut route to anything, but rather want to use its interface for this ...
1
vote
0answers
44 views

Git merge. Behavior different on explicit merge than on pull

I have a problem with my git configuration. I like to use the --no-ff option when I merge two branch. So I put on my configuration file ~/.gitconfig under the section [merge] the option ff = no. Which ...
3
votes
1answer
1k views

How to use different ip address between virtual machine and your laptop?

How to use different ip address between virtual machine and laptop. For laptop, my os is mac. And within my laptop, i run a virtual machine (vbox). The os within vbox is ubuntu 11. Thank you.
3
votes
1answer
90 views

Installed mysql from source on linux and then how to get it work with php?

I installed apache and php from source and got them working together a month ago. Because I'm learning both of them this term. Now I need mysql to do more works. And I installed mysql from source just ...
0
votes
1answer
157 views

Which driver should I use for this Atheros network adapter?

I ran the command sudo lshw -c network and here is the hardware info. for my network adapter. I have build all the modules related to Atheros, and have load them already. But none of them could help ...
4
votes
3answers
386 views

why “cd -” in .sh file will print the address

I use "cd -" to switch between folders. like: cd /etc/ cd - but why "cd ...
0
votes
1answer
516 views

web server very slow, bombarded with php-cgi processes?

I have a Parallel Plesk 11.0.0 with CentOS 6.3. Lately, I've noticed that my web server runs VERY slow (not the norm), CPU average at 80% no matter what kind of traffic, and my top is filled with ...
1
vote
1answer
128 views

Building a pc to learn Linux — Anything to watch out for besides hardware compatibility issues?

I will need a new computer pretty soon, and am planning on building a dual-boot Windows/Linux box for weekend programming and play. Unfortunately, this will be my first time building a pc from the ...
0
votes
0answers
315 views

Is it possible for Windows' command prompt to display the correct charters when connected to a linux machine via SSH?

I'm sorry for the long question, but I wanted to make sure it got the point across. The thing is, that no matter what I do, when I use a linux-based console application that uses ncurses, via SSH ...
1
vote
0answers
63 views

How can I switch from Win/Fedora to Win/Kubuntu dual boot

I've got a desktop system with WinXP and an and older Fedora. Things work ok, BUT I'd like to change to Kubuntu 12.10 - which I use at work. The install dvd apparently suggests that I shrink the ...
1
vote
0answers
510 views

Fedora 18 - HP pavilion g7 - boot after install fails

F18 Installation from x64 DVD went fine, then reboot without DVD shows grub, so far so good. But as soon as grub timeout is reached, the screen becomes black and that's it! No F1, no Ctrl-Alt-F1 ...
2
votes
1answer
2k views

Can't move or resize windows - fluxbox

I recently uninstall fedora on my laptop and installed opensuse instead. Everything was working fine. Since I used fluxbox with fedora and I still use it with opensuse, I decided to use my old ...
1
vote
1answer
4k views

fullscreen xinit raspberry pi

I can start chromium from a xinit command xinit /usr/bin/chromium --kiosk www.google.co.uk And it boots into the browser but it is not using the full width of my screen. The browser appears on the ...
5
votes
6answers
2k views

Launching gnome-shell-timer in Unity?

I'd like to have a countdown timer in my taskbar on an Ubuntu 12.04 machine with Unity 2D. My use case is primarily time management, for example "countdown from 30 minutes, and I'll take a break when ...
2
votes
0answers
474 views

How to convert downloaded Zinio publications to an open format?

I got a free temporary subscription to PC Magazine on Zinio and I liked it. Now I'm considering renewing the subscription and looking at other interesting publications they may have, but that's ...
1
vote
0answers
175 views

Control screen brightness of HP Pavillon DV 9643 EG 17 with OpenSUSE 12.2

I'm running an HP Pavillon DV 9643 EG 17 with OpenSUSE 12.2 and KDE. I don't know how to adjust the brightness of the screen. Would looking at /usr/bin/nvidia-settings help?
0
votes
1answer
197 views

booting into a virtual machine from a linux installed on external hard drive

I am running windows 8 and have a linux Ubuntu 12.04 installed on an external hard drive, can I install a virtual machine on windows and run the linux system installed on my external HD?
0
votes
1answer
3k views

Gnome and Cinnamon loads in fallback mode only

So I have been using linux mint for a while now. A few months ago my Gnome shell crashed and I was unable to use the full 3d features and loaded into fallback mode only. From that day (around 2 months ...
2
votes
1answer
3k views

Linux - Convert FAT32 to NTFS without loss data

I have an external USB hard disk (300GB) in FAT32. The question is how can I convert the type FAT32 to NTFS without loss my data. I have 250 GB of data stored in my disk. I was trying to do that in ...
5
votes
3answers
6k views

How to bulk-rename files with invalid encoding or bulk-replace invalid encoded characters?

I have a debian server and I'm hosting music for an internet radio station. I have trouble with file names and paths because a lot of files got an invalid encoding, for example: ./music/Bändname - ...
0
votes
0answers
36 views

creating ssh file [duplicate]

Possible Duplicate: Can I create an SSH user which can access only certain directory? I have a testbed of 50 motes, mounted on the cyling of the lab. I want students to be able to access ...
3
votes
2answers
3k views

Using VirtualBox with a local Windows 7 installed on the hard drive

I just discovered today that one can create VirtualBox VMDK files that simply reference real partitions on local disks and, needless to say, got pretty excited. "This means I can boot my Windows 7 ...
2
votes
4answers
258 views

Is a screen mandatory for using remote desktop?

I'd like to use the GUI environment on a spare box I have headless, not just ssh into it. Is it possible to setup a remote desktop service even when there's no screen attached to the remote host? ...