A family of Unix-like 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
0answers
10 views

Unable to format or write to USB drive

By mistake removed USB drive from Mac while copying something to it. After that, not able to either format it, or write to it. On clicking "Erase" on disk utility in mac, am seeing this error: ...
4
votes
2answers
7k views

How do I install python with proper permissions?

So python installed probably fine. Or perhaps it was already on here (I'm using xubuntu 12.10). But I tried to install networkx today using pip: pip install networkx then says I don't have ...
0
votes
2answers
27 views

sed command to replace multi-line text with empty

I have an XML file which contain portion as given below. <Target name=something> < other content here> </Target> Now how can I remove this content from my file using sed ...
0
votes
1answer
25 views

Fedora 23 has stopped installing new programs and updates

I have been using Fedora 23 for the last 2 months and since yesterday DNF has stopped installing or upgrading programs. This is the error message I got in the Yum Extender - Powered by DNF: ...
1
vote
1answer
141 views

what happens when mount a partition on / ?

I have a partition /dev/sdb1 what happens after executing this command? sudo mount /dev/sdb1 / -o rw ^ I know that must change mountpoint "/" address as mentioned above. ...
1
vote
8answers
11k views

How can I move files from Windows to Linux using WinSCP?

I have PuTTY and WinSCP, but WinSCP doesn't work in this case because I need to use a command cd ../public in order to enter the directory as I can't find it for some reason. How would I use PuTTY or ...
0
votes
1answer
38 views

wget script exit abnormally with error 126

Can't seem to get this script to run, I have user access to the data I'm trying to download but it just won't run. If anyone can help with wget scripts it would be appreciated. for i in $(seq 1 9); ...
1
vote
2answers
23 views

Joining Windows host to a Samba Active Directory failed

I couldn't join a Windows (2k3) computer to a Samba4 Active Directory, because I got this message on the host: Error occured joining the domain. The specified network name is no longer available. ...
-1
votes
1answer
28 views

Can i clone a running vbox machine? [duplicate]

Is it possible to clone a running VBox machine? I need this because I can't turn off the machine during its purpose so I was wondering if something like that is possible? I tried by cloning the ...
0
votes
1answer
17 views

How to use the lastb command from Mac terminal?

In bash on mac, when trying to list recent bad logins, the lastb command is unrecognized, while it works fine on my Linux machine. Does it need to be installed or is it a different command for macs?
0
votes
0answers
9 views

Debian Testing, iwlwifi-7260 issue

I'm trying to install Debian Testing but I'm actually stuck in the wifi configuration. It asks for: iwlwifi-7260-13.ucode iwlwifi-7260-14.ucode iwlwifi-7260-15.ucode iwlwifi-7260-16.ucode ...
8
votes
3answers
58k views

Login with Linux FTP username and password

What's the command for logging in with FTP all with one line? ftp username:password@my.domain.com says: Password required for username:password
0
votes
1answer
27 views

High CPU Usage by “root” User in Ubuntu VPS server

My server was working fine until last week, until it seems someone changed my SSH password. After this when I checked the CPU usage, it always 160-190% on executing top command. Some users told that ...
0
votes
0answers
2 views

“require all granted” not working with dbd auth on my apache 2.4.1

I am replacing my old apache 2.2 server with a apache 2.4.1 server. I'm in the process of testing if everything i need is still working with apache 2.4. I have some pages secured with apache auth ...
2
votes
0answers
27 views

Transferring large file to/from USB drive causes system to hang until transfer is done

I have a box running Ubuntu 16.04 server. It has an internal SATA hard drive with the OS on it, and an attached USB 3 hard drive which I use for storage of large/long term files. A lot of times, this ...
0
votes
0answers
9 views

windows partition wiped out with debian install CD and LVM

Going by my prehistoric knowledge on how to set up a dual boot with Windows and Linux, I set out to install debian over my Windows 10 installation. My single hard disk was originally partitioned into ...
0
votes
0answers
11 views

Remove a physical partition on a Mac drive

I wanted to install ubuntu with rEFind on my Mac but I made a mistake during the installation and created a physical drive instead of a logical drive for Linux. My Mac boots fine, but I want to ...
44
votes
7answers
19k views

What happens if mv is interrupted?

What happens if the Linux mv command is interrupted? Say, I'm moving a whole directory to some other place and interrupt it while it's moving. Will the source directory still be untouched?
0
votes
0answers
5 views

Use ADB with Genymotion from concurrent linux VM

I have a linux VM and a genymotion VM on my host. Both have the same network configuration (I set it up myself) which is: Adapter 1: Attached-To: Host-only adapter Name: VirtualBox Host-Only ...
0
votes
0answers
12 views

apache php7 is 100 times slower then static content

I am having slow TTFB (200-700ms) on my local web site (Vbox VM, debian8, apache 2.4, php7), so I made some bench marking, and narrowed it down to an Apache configuration. I have made 2 identical ...
0
votes
2answers
31 views

Blocking Websites

I use Linux, I connect to Internet through Ethernet, I made a Hot-spot, so that I can share my Internet with my Family Members, now I see the that one of my elder was getting addicted to illegal ...
1
vote
1answer
18 views

Hard Drive Error

Hello please look at error log below and suggest me solutions. I am using Fedora 23, I am getting this error while installing or updating and package. so my log from "/var/log/messages" is... May 27 ...
23
votes
5answers
16k views

How to prevent sudo users from running specific commands?

I have a very sensitive network setup and I really dont want to mess up with it. My network consists a bunch of users who are with sudo privilege. I want to stop them from running service ...
0
votes
0answers
14 views

How get PCI express configuration for SSD storage?

I am looking for updating my SSD in my laptop to a newer/faster one. The one currently in the laptop is the default one that came with the purchase. It is an m.2 ssd. The problem is that I am ...
0
votes
1answer
20 views

Installing KDE 5 in Linux mint 17.3

I have been trying to install KDE 5 on linux mint 17.3 Rosa I know I need to add a PPA to do this first, I have been trying both sudo add-apt-repository ppa:neon/kf5 and sudo add-apt-repository ...
1
vote
1answer
12 views

Making sure my desktop is locked when it goes into sleep mode

Is there a way to install some kind of a hook that'd make sure xlock or a similar program is called before my laptop goes to sleep, regardless of the origin of the request (calling pm-suspend from a ...
0
votes
0answers
14 views

# du -h --max-depth=1 / -> Permission denied (but I'm root)

Why in the output of # du -h --max-depth=1 / there are complains about permissions, shouldn't root see everything? root@machine:/# du -h --max-depth=1 / 529M /opt 112M /boot 20K /mnt 8,0K ...
0
votes
2answers
14 views

Use Ubuntu in Window server 2008 in virtual machine?

Recently our group has purchased Window Server 2008. Though most of us use Windows I require Linux system for my work. I read about virtual machine but I am not sure which one to use to utilize ...
0
votes
1answer
620 views

“sudo yum install nginx” throws “Cannot retrieve repository metadata (repomd.xml) for repository”

Here's what I get when I type it in via the command line: [prompt]$ sudo yum install nginx Loaded plugins: priorities, security, update-motd, upgrade-helper ...
0
votes
0answers
7 views

Linux Packages installing fix

I'm using Linux Backbox but when I want to install a package in the terminal it says: package not located. Can someone help me please?
10
votes
3answers
12k views

Mono sound output in Ubuntu?

Is there an easy way of forcing mono sound output - for one ear, one earphone, one speaker?
0
votes
1answer
4 views

Can't modify directory contents where I am part of owner's group

I am not able to create or delete files inside a directory which has www-data as owner and has relevant permissions as far as I can see: ankblog$ ll total 88 drwxrwxr-x 7 www-data www-data 4096 May ...
4
votes
1answer
4k views

integrated intel graphics 3D acceleration probem with Linux on ThinkPad S531

I have a Lenovo ThinkPad S531 running OpenSuse 12.3 64bit. This notebook has the following graphics cards: - integrated Intel HD 4000 - discrete (muxless) AMD Radeon HD 8670M After the standard ...
-1
votes
0answers
12 views

how to setup ftp server on cloud9

i have turned on ftp mounts in cloud9 preferences . i have to enter Name, hostname username, password and remote path as specified in the link below https://docs.c9.io/docs/ftp-mounts. I tried ...
86
votes
11answers
84k views

Remove a certain line from Bash history file

How can I remove a certain line from history's database?
0
votes
0answers
13 views

Cloning disk to new SSD drive

So, I've recently bought a 1TB SSD for my notebook. The orginal one was a 1TB spinning disk. I "dd" from the old disk to the new one and everything went fine, I'm using it with no problems at all. I ...
14
votes
5answers
42k views

How to make Alsa pick a preferred sound device automatically?

I bought an USB sound card. I'd like to set up my Linux desktop so that it prefers the USB device, if it is plugged in and automatically switches as the device is (un)plugged. Is it possible, and how? ...
9
votes
3answers
14k views

Can I expand the size of a file based disk image?

I created an empty disk image using dd, then I used mkfs to make it a real filesystem image. I am mounting and using it fine. What I need is to be able to expand or shrink this file based disk image ...
2
votes
1answer
7k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
1
vote
1answer
23 views

Windows displays old NTFS after partitioning disk for ext4 on Linux

I try to install a "shared" space between my Gentoo and my Windows10. So, in Gentoo, I used parted to remove all (NTFS) partitions from one of my drives and repartition it with ext4. I then mounted ...
-1
votes
2answers
313 views

cut: |: No such file or directory

while read line do echo $line calendar_date=$(cut -d\ -f1 $line) hr_of_day=$(cut -d\ -f2 $line) echo ...
0
votes
1answer
27 views

CPU capacity not fully used - Stuck at 16%

I just bought a new Laptop. The problem is that it only uses 16% of its CPU capacity, and never goes over that. I have tried stressing the CPU, but even then it still doesn't go over 16% Booting in ...
0
votes
0answers
6 views

How to mount 3 ISO images as repos in SLES using zypper

I'm wanting to mount the three ISO disks of the SLES11SP3 OS onto my system, as we have a minimal installation and we need to zypper install some additional packages. zypper addrepo ...
3
votes
2answers
4k views

Very strange behaviour of mouse / not able to click certain elements of UI

So from one moment to the other, in Windows 7, i wasn't able to click certain elements of the UI. I could click icons in the taskbar but not on the desktop (just no reaction), then I could click icons ...
0
votes
1answer
18 views

Limit CPU frequency on Ubuntu Linux

I'm looking for a way to limit CPU frequency when system is running on battery. Solution doesn't have to work exclusively when using battery, it may be in form of bash commands from which I could make ...
3
votes
3answers
8k views

How to display only Permissions and file names using ls command?

How can I display only Permissions and file names using ls command and how to list all files in a directory including full path, owner, group and permissions for each file?
7
votes
1answer
3k views

Verizon USB551L 4G Stick on Linux

I have been trying to get a Verizon USB551L 4G USB Stick working on Debian Linux. I have been able to get it to connect, but it always disconnects after 10 secs to 2.5 minutes, then it cannot connect ...
1
vote
1answer
3k views

Sync iPhone in Ubuntu 11.04

I want to sync music on my iPhone 4 (version 4.3.3) with Ubuntu 11.04. Is there any working way to do that? I've already tried Amarok, Banshee, and iTunes on wine. None of them work.
0
votes
1answer
13 views

Shrink total disk image: UEFI GPT Flashdrive - freespace at end

I have a disk image from a bootable flashdrive. It is GPT for EFI booting, so there is a small Vfat32 partition and three other Linux partitions, followed by about 3G of free space. I need to disk ...
0
votes
1answer
16 views

Mount command not working, pulling up info page on Ubuntu Server

I'm trying to mount one of my disks (/dev/sdb) to a particular user (/home/username), with "sudo mount ext2 /dev/sdb /home/username", and it doesn't look like it's working. When I run that, it pulls ...