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

How to use i3 window manager in fedora with gnome

I installed i3 and have its config file ~/.i3/config ready. When I execute i3 command, it says, ERROR: Another window manager seems to be running (X error 10). I found this article. I don't know ...
1
vote
1answer
10 views

Initial MySQL 5.7 installation on RHEL Instance Fails to Start

I did a standard MySQL install with Chef on an AMI on AWS. Here's the recipe: mysql_service 'default' do bind_address '0.0.0.0' port '3306' version '5.7' initial_root_password 'hunter2' ...
1
vote
0answers
7 views

How to “install” Fedora / Opensuse on USB Drive

I want to install dedicated(no live CD) Fedora / Opensuse on USB key. I have a sony micro vault click(32 GB) usb drive. The previous answer is not working fine for me (trouble installing Fedora 21 on ...
1
vote
0answers
18 views

How do I change the document root for lighttpd?

I am trying to change my lighttpd configuration as follows: I have a 500GB ext4 formatted hard disk attached to my server via USB. I would like to either a) Change my lighttpd server's document root ...
1
vote
1answer
19 views

Linux command line/app to compare sets of folders against one another

I have many photos organised in folders. I also have an "Uncategorised" folder for photos before they are organised. I've found that many (but not all) photos in Uncategorised have now been organised ...
1
vote
1answer
15 views

How to get different prompt look for root and regular user

My .bash_profile has different styles of prompt for regular user and root but in order it to work the .bash_profile should be reloaded every time I switch users. How can I achieve this? Can I make the ...
1
vote
0answers
19 views

Manually compiled TigerVNC throws syntax error on Raspberry Pi

I want to set up TigerVNC (because it have XRandR support), on my Raspberry Pi B+. So I've downloaded sources from TigerVNC Github repo and compiled directly on Raspberry using CMake. It compiled ...
1
vote
0answers
8 views

Cannot load tp_smapi module on thinkpad x60

I have an old thinkpad x60 running debian. Recently, I brought a new battery, to check the stats(manufacture-data, first use etc ..) I installed a common program called tlp on the machine. But It ...
-1
votes
0answers
10 views

IP config of a private network with a vagrant VM

I am following this installation document of a mapserver stack (on my Ubuntu Trusty 64): https://media.readthedocs.org/pdf/nodeshot/latest/nodeshot.pdf I am pretty bad at network/ip-settings. The ...
1
vote
0answers
9 views

Using directory as initrd in QEMU

Is there a way to use a directory as initrd when booting QEMU? I know how to use the -kernel and -initrd flags for QEMU to boot a kernel and initrd without needing to first create a bootable device ...
0
votes
2answers
24 views

find /data/oozie-admi/ -type d -ctime +1 | xargs rm -rf [0] command deleted /data/oozie-admi/ folder

/data/oozie-admi/ folder contains multiple directories. This command find /data/oozie-admi/ -type d -ctime +1 | xargs rm -rf [0] deleted /data/oozie-admi/ folder . Need to find out scenarios in ...
1
vote
1answer
73 views

How to remove directory flag?

I have a .trp video container witch is shown as a directory. Is there a quick way to remove the directory bit from the inode, so the folder is shown as a file? (Not sure if this solves my problem but ...
0
votes
0answers
5 views

Alcatel 918D kernel (Frame buffer console) compilation error

Hi i've been trying to compile the Alcatel 918D kernel with the framebuffer console driver, but I get this error. Can anyone help, Originally the procedure I followed was for a Samsung mobile which ...
0
votes
1answer
29 views

How to install u-torrent from a tar.gz on Kali Linux?

I am trying to install u-torrent, from utserver.tar.gz file. I have used the commands: root@kali:~# cd ~/Desktop root@kali:~/Desktop# ls [kickass.so]easy.recovery.essentials.pro.win.8.7.xp.torrent ...
2
votes
1answer
35 views

Formatting hard drive works on windows, not on linux

Alright this is driving me crazy. About a month ago I finally migrated to Linux almost exclusively (I only use windows for gaming these days) and so decided to migrate my data storage as well. I ...
0
votes
1answer
37 views

Windows 8: Drive partition is missing

wanted to run 2 operating systems on the same laptop so downloaded manjaro ( I have windows 8). When i opened 'Gparted' (after booting manjaro) in order to partition my disk i got the message ...
1
vote
1answer
35 views

Can't get Windows 8.1 to appear in loader list in GRUB

I have a Dell laptop with Win 8.1 preinstalled and wanted to dual boot to Linux. So I partitioned off 100gb of the main and only hard drive and installed Kali Linux (Debian 7). It asked if I wanted to ...
0
votes
1answer
37 views

Apache2 server won't restart after replacing server.crt with server.crt from ca

I'm trying to enable ssl (tls?) I ran into these errors and I have these questions. Why did apache not restart? And how do I get it to restart? Replacing restart with start does not work. Could ...
0
votes
0answers
7 views

Mercurial commands take more than 20 seconds when run as root-user

when I call any mercurial command (hg init, hg status, hg manifest, hg add, etc) as root user, the commands take more than 20 seconds to complete: # time hg init real 0m25.226s user 0m0.156s ...
1
vote
1answer
14 views

Sample cron job run but gave errors

I have sample script that backup my site. www folder and database. When is running It's get this error tar: unrecognized option `--transform' Try `tar --help' or `tar --usage' for more information. ...
2
votes
1answer
11 views

How to collapse all trees in htop?

I would like to be able to collapse all the trees in the default view of htop. Is there a way to achieve that at once, instead of selecting every tree and hitting F6?
0
votes
1answer
18 views

Backtrack 5 R3 not detects laptop in build Wi-fi card

I installed Backtrack 5 R3 in to my laptop and after perform airmon-ng command in the terminal it shows nothing. So can anyone tell me how to configure my Wi-fi to the backtrack Thanks &Regards
1
vote
1answer
9 views

How to edit options logged out in Skype for Linux?

I need to edit my Skype preferences without logging in, but I don't see "Options" in any menu. What to do? In my case, I have to edit proxy settings to be able to connect to Skype. There is no ...
0
votes
1answer
14 views

Sudo usermod -a -G is totally ineffective

Really simple, I run the following in Ubuntu 14.04 Server, logged in as max: sudo usermod -a -G www-data max When I run groups as max after doing so, www-data is not in the output set of groups. ...
1
vote
1answer
23 views

How to set DNS entry with no domain in local network?

I would like to refer local network computers with short DNS names, without full multilevel path. What is required for it? Probably I need to know terminology or something. I wish to configure both ...
0
votes
0answers
11 views

SELinux Error with chcat “Requires at least one category”

I have been trying to figure out what's wrong with my chcat syntax. I keep running into this issue: root@dangerzone:~# chcat -l -- +SystemLow,+SystemHigh john /usr/bin/chcat: Requires at least one ...
0
votes
2answers
47 views

Linux returns “No space left on device” while copying data to a non-full USB flash drive

I'm trying to copy a file to a USB flash drive. The drive does not have a write-protect switch. df gives the following: $ df -h . Filesystem Size Used Avail Use% Mounted on /dev/sde1 ...
0
votes
2answers
29 views

How to use Continuously (-c) with grep on netstat?

How can I use netstat -c option with grep without repeating the info? Example: sudo netstat -tapc (works fine) I want to do the same but only for the http lines: sudo netstat -tapc | grep http ...
1
vote
1answer
26 views

How to compile an ISO with a kernel patch for another computer?

I recently bought an HP Stream, which is a neat, cheap laptop that I intended to install Xubuntu on. Unfortunately, I have been running into problems due to its eMMC drive. I found it seems to be ...
0
votes
2answers
21 views

In Linux, how can I determine the power consumption of my HDD?

Is there a way to determine how much power my HDD(s) are using? I'm running typical (oldish) desktop with an 848P chipset and Debian GNU/Linux 7.6 (Wheezy).
1
vote
0answers
21 views

Ubuntu fails to install cuda toolkit

I want to install cuda toolkit on ubuntu 14.04, so I downloaded cuda-repo.deb from nVidia site and then ran: sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb But it fails. There are no error ...
0
votes
0answers
7 views

Ubuntu 13.10 can't start Unity after upgrade

Last night I ran a apt-get update/upgrade which installed several packages. This morning however, I am unable to log in...as soon as I entered my password I see just wallpaper. I've tried: ...
0
votes
0answers
8 views

files different on removable hard drive in linux

I'm having a problem with my external hard drive when using it on my linux system. I am running ubuntu with kde, and I have a 1tb hard drive (formatted in ntfs, I think). I was working perfectly when ...
2
votes
2answers
62 views

On GNU/Linux, How can I determine my CPU model name?

I know of several ways to obtain information about my CPU in a GNU/Linux environment, from cat /proc/cpuid to various utilities, see e.g. here However, none of them seems to tell me what my CPU model ...
-1
votes
2answers
17 views

is there any refresh needed to update `du` command results?

I have a disk of size 80G I ran du to find that I have a directory which consumed about 60G so I found the file which caused all this a log file (had size of 60G) I deleted it and now df shows that ...
-1
votes
0answers
21 views

Python script to create users and upload ssh keys to remote server from a local machine [on hold]

This is what I am trying to do. I have a user list csv file containing: user1, SSHkeys/user1.pub user2, SSHKey/user2.pub Store them respectively into $username and $SSHKey Another server list csv ...
0
votes
0answers
15 views

Trying to build liquidsoap libportaudio not found

I'm trying to build liquidsoap on openSuse 12.2. ./configure is stuck at : configure: error: libportaudio not found However, when I tried installing from rpm: sudo rpm -Uvh ...
0
votes
0answers
15 views

Chrome keeps opening maximized

Chrome keeps opens up in a maximized windows while I prefer it to open in normal size. No matter how many times I resize it down it stays the same on new windows. I tried resizing the windows then ...
1
vote
2answers
37 views

Can `ls` be set to only list the first X files/directories?

I'm trying to make a command which only displays the first 30 files when the ls command is invoked. I found this method... ls | head -30 ... but it ends up spitting out the files in one long list, ...
0
votes
2answers
34 views

What is the file “-”, and why can only stat see it?

I'm using Ubuntu 12. When I type into my terminal stat -, I get the following output: File: ‘-’ Size: 0 Blocks: 0 IO Block: 1024 character special file Device: ch/12d ...
0
votes
2answers
30 views

Command “find” -exec replacing string

I'm trying to find JPG files in a folder tree to execute the command "" to transform it to PDF. The problem is that the code I am running leaves the file in the same directory and I want to move it ...
0
votes
1answer
21 views

Stop automatically scanning for Wi-Fi on Linux Mint

How can I disable the automatic scan for other Wi-Fi networks when I'm already connected on Linux Mint? I have an HP laptop with touchscreen buttons and the Wi-Fi button doesn't act as usual. It ...
0
votes
1answer
51 views

Wireless internet connection consistently keeps dropping out after a few minutes of use on Linux Mint

My new installation of Linux Mint 17.1 32bit Cinnamon edition, installed as the sole OS on a Samsung N130 Netbook, consistently loses its wireless internet connection a few minutes after logging on ...
1
vote
0answers
22 views

My laptop often resumes when its lid is *closed*

I have an Alienware M17x with Kubuntu 14.10. When I suspend to RAM and close the lid, very often it will wake up after a few seconds of sleep. Sometimes not. I get the feeling it's related to how ...
0
votes
1answer
34 views

What's the easiest & most elegant way to edit files on a remote web server? [on hold]

I need to edit remote files (web application) on remote server. How do I do this most easily? Remote server is Linux web server, files are on shared hosting, where I can use FTP/SFTP, and jailed SSH ...
-1
votes
0answers
13 views

Is there a way to check if driver si working correctly in VM [on hold]

Before a few weeks I had problem with one driver on Linux it was about my network card. I was unable to fix the driver and I also destroyed the Windows installtion(i was using doul boot). My question ...
0
votes
0answers
13 views

CRON @reboot vncserver?

Is there any reason per-user cronjobs running vncserver @reboot wouldn't run? When I reboot the machine and look into /var/log/syslog, I see the jobs being run, then cron saying (CRON) info (No MTA ...
0
votes
2answers
36 views

Can't start MySQL to reset root password

I've installed mysql-server on a Linux box and forgot (oops) the root password. Having looked around the internet, the general method is so: Stop MySQL (sudo service mysql stop) Start MySQL in ...
0
votes
0answers
11 views

Inheriting file permissions

So I currently have an AirPlay audio streaming service (Shairport) running on Raspbian on my Raspberry Pi. I have it configured to save the metadata for the songs that are played. For every song, it ...
0
votes
0answers
15 views

Alfa Wireless Card disconnects randomly from VirtualBox Linux Guest

I have an Alfa wireless card connected to VirtualBox running a Linux guest. It works, and I can connect to networks, but then it disconnects shortly afterwards. I have to bring the wlan0 interface ...