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

11
votes
5answers
11k views

Linux command to return number of bits (32 or 64)?

What is a Linux command that I can run to programmatically return either 32 or 64 to indicate whether the processor is a 32 bit or 64 bit processor?
268
votes
8answers
28k views

Did I just get hacked?

I am developing a consumer product, and it is supposed to be connected to the Internet, so as expected, it is connected to the Internet so that I can properly develop it. I went away for an hour or ...
1
vote
2answers
23 views

Troubleshooting slow boot due to network devices

I'm trying to troubleshoot boot times for a relatively modern machine with a SSD. The machine runs Ubuntu Server 14.04.3 LTS and it has two ethernet ports. Network Manager is not installed. All device ...
4
votes
5answers
4k views

Email Client with Vim Editing

I've been using vim for about 5 years now and have grown quite effective with it, to the point where writing things without vim feels so painfully slow. Just about everything that I write, I write in ...
0
votes
0answers
2 views

Refit old CISCO 5505 ASA hardware with Linux/FreeBSD software - (for the experience)

I was given an old Cisco 5505 ASA (EOL). The device hardware meets the specs for what could work in a small network, and I would like to replace the Cisco IOS with a unix open source option, like ...
0
votes
1answer
1k views

How do I compile 64bit program with gcc/g++ on a 64bit Linux?

I'm using Ubuntu 10.04 LTS, and want to make a program to run on a large Debian server that has 300GB memory. With command: g++ Encoder.cpp -std=c++0x -m64 -o Encoder.o it returns something like ...
15
votes
4answers
15k 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?
0
votes
1answer
40 views

kali linux not asking password to login ( in persistence using USB)

Iam using kali using persistence usb. Everytime I open my system using kali persistence , it doesn't ask for password for the first time (i.e gives access to the root user without any ...
0
votes
2answers
221 views

Delete All Files Older Than Specified Time Within A Directory (Ubuntu)

I have a bunch of files in a directory with all different names and I want to delete all that are older than a specified time. Example: File1 File2 File3 File1 was made Mar 31 08:00 File2 was made ...
-1
votes
1answer
24 views

Format SSDs through MSI Motherboard MS-7751

I ran into a couple of problems and ended up at a point where I cannot boot into Linux nor Windows. I was wondering if there was a way to wipe my drives using MSI's shell and whatnot.
1
vote
3answers
705 views

Install Windows XP after Linux FS Partioned Space

I'm trying to install Windows XP onto the 3rd primary partition of my hard drive. The layout is like so: Part 1, 100 MB, Linux EXT2, /boot Part 2, 280 GB, Linux Raid, /root Part 3, 40 GB, ...
2
votes
0answers
11 views

Linux stuck on boot up, windows bootloader overwritten

Ahoi. I recently installed debian on my windows 10 machine, and have essentially bumloved my entire machine, it seems. I installed Debian using the 8.3.0 DVD Image from the official site, and the ...
7
votes
1answer
1k views

Is there a way to disable the DHCP client in Raspbian Linux on a Rasperry Pi?

I have a Linux server (Rasperry Pi using Raspbian as OS) that should be using only static IP. However I noticed that it also has got IP from DHCP server (The IP given out by DHCP is 192.168.111.2). ...
0
votes
0answers
13 views

KDE - Plasma becomes glitchy with Intellij Idea launched

I am using Debian Jessie with KDE. When I am working with opened IntelliJ IDEA, almost all windows in Plasma become so: How to fix it? Version of IntelliJ Ultimate is 15.0.3.
0
votes
1answer
166 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 ...
1
vote
1answer
954 views

Atheros wifi configuration on ubuntu 9.10?

I can't get my hp laptop that come with vista on linux cause my wifi don't work ... I know for ndiswrapper but the opensource drivers are betters (madwifi,ath5k,ath9k). My card work with madwifi or ...
0
votes
3answers
62 views

How can I install software packages to a Debian Linux OS?

I've tried many different things on this try. The biggest problem is I don't know what to use in the apt-get command as a name of the package. The internet has been absolutely no help at all in ...
1
vote
2answers
3k views

Archlinux/atheros WLAN configuration troubles

I'm trying to config archlinux to use my wireless network adapter. It's quite troublesome. From what I've gathered, it's an atheros network adapter, using the ath5k driver/module... I can't get it to ...
0
votes
0answers
192 views

Troubles with wifi card on linux

I have Ubuntu 12.04.1 and follow wifi equipment: 02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01) And I have this drivers ...
0
votes
0answers
7 views

Play stream with VLC on Ubuntu 14.04

I have Ubuntu desktop 14.04 with two NIC, eth0 and eth1. One is just for internet and the other one is on local subnet where multicast UDP stream is coming. Default route is on eth0, and multicast ...
0
votes
0answers
11 views

Partiton Requirement for Linux

I am new to Linux, I want to install it on my laptop which currently has 2 partitions C: which has windows 10 and F: which has 700 GB capacity. I want to install kali Linux, I want to know how many ...
0
votes
0answers
9 views

How to write a new Linux kernel driver?

I found this tutorial: http://www.x.org/wiki/Development/Documentation/XorgInputHOWTO/ It says: Note that if you think about writing a new input driver for a “common” device (e.g. touchscreen, ...
0
votes
1answer
16 views

Alias command from terminal that opens a new terminal on a specific folder

I have this command already working in my .bash_profile: alias mysite='cd /Applications/sites/mysite;pwd; php artisan serve --port=9000 | open http://localhost:9000 | open -a Finder ./' So it: ...
1
vote
2answers
10k views

Dual boot (Windows 8 + Linux Mint 17) UEFI system boot windows only

I have been working on a dual boot system with windows 8 preinstalled and linux mint 17 for a month or so. After applying an update in linux grub loader does not appear and system only boots windows. ...
1
vote
0answers
15 views

Can't access files in SMB share

I'm trying to mount some share from my synology NAS via SMB. I'm using Linux Mint and when I mount it over the GUI ("Computer"->"Network"->"NAS"->"Sharename") everything works fine. But I want it to ...
2
votes
1answer
231 views

Remmina RDP key remapping

Remmina is a wonderful piece of software and I use it a lot on my work. The only problem is key mapping. I am really used to working in DWM window manager, which utilizes windows key to switch panes. ...
1
vote
0answers
6 views

Transmission-daemon and security

Recently I have installed and configured transmission daemon on my server, but I wounder how I can increase security of it. I am using nginx to provide access via ssl but I have a question about ...
-1
votes
2answers
42 views

What is the difference between the Iceweasel versions?

I am a Xubuntu LTS user, considering using Debian Stable 64 bit in my next install. I use just one desktop computer, with no network to other devices, for casual browsing and desktop use. When I ...
0
votes
0answers
7 views

External hard drive is not seen in computer but it can be seen in devices computer management [duplicate]

I have 1TB WD My Passport portable hard disk. I was using it with both Windows 7 and Linux. However something is wrong with it. Both OS do not recognize it and I can see my external disk is ...
0
votes
1answer
67 views
+50

Unable to start GNU/Linux installation process while installing from USB

I use Trisquel GNU/Linux 7.0. I am trying to install it on my uncle's desktop-pc (running with Windows7 currently) from (bootable) USB. The scenario is: I plug USB stick, choose boot from USB, choose ...
4
votes
2answers
533 views

Computer crashes constantly after upgrading from Debian Wheezy to Jessie

I’m on a Lenovo ThinkPad T430 which had Debian Wheezy running solid/stable. No crashes, ever. Upgraded to Debian Jessie recently and been having crashes; it seems like Gnome crashes. By crash, it ...
0
votes
1answer
3k views

How to upgrade to g++ 4.7 in SUSE linux

I am new to linux. I am trying to upgrade my g++ to version 4.7 If I type g++ -v it shows currently version gcc version 4.1.2 20070115 (SUSE Linux) I am trying to do the following sudo zypper ...
0
votes
1answer
3k views

Cannot open port 8080

I'm running a VmWare with an application under JBoss starting up on port 8080. I'm able to access the app from outside the VM if the iptables are off. However, I must turn on iptables due to some ...
1
vote
0answers
11 views

KDE - “/media/dev/path is a folder, but a file was expected” error

I have a Kubuntu 15.10 installation (fully updated). Sometimes when I try to copy some files/folder the OS throws "/media/dev/path is a folder, but a file was expected" error. Screengrabs (Click on ...
1
vote
2answers
2k views

How to install .apk on Alpine Linux like .deb in Debian using dpkg

My question is in the title. Problem: Comparison with other distros doesn't speak about installing a local .deb in Debian or whatever is Gentoo's equivalent or Alpine Linux's .apk. Plus the command ...
1
vote
1answer
16 views

Apache, DocumentRoot effect

A question regarding the DocumentRoot directive as found in Apache's sites-available folder, file 000-default.conf has: DocumentRoot /var/www/html My layout of the /var/www folder is: ...
3
votes
3answers
6k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
0
votes
0answers
14 views

How to see Kernel Oops/Panic? and provide “proof”

I'm doing this assignment and I'm kind of confused on providing proof for kernel oops/panic static int __init hello_init(void) { printk(KERN_INFO "Hello world!\n"); return 1/0; ...
0
votes
0answers
11 views

Linux: Why UID and GID are 0 despite not being the root user?

Just a question here. I was looking through my program and its pid, uid, gid. And I found UID and GID are 0 but I'm not signed in as a root user. Why is this the case? And I am curious if UID and ...
1
vote
1answer
35 views

New SSD terribly slow at writing in Linux

I got a new SSD, Crucial BX200, 480 GB. It is plugged into a sata 3 port. I installed Linux Mint 17.3 Cinnamon 64 Bit on the ssd (using full disk encryption) If I run bonnie++ to do a benchmark, I ...
0
votes
1answer
42 views

What is the maximum capacity of a small router?

I developed a Java app, that runs on several Raspberry Pis. This software makes 10 requests to a server at same time during the day. When the first Raspberry was started there wasn't any problem. But ...
0
votes
1answer
14 views

BIOS can not find hard disk in boot priorities

I was installing Linux Kali os 2.0 but have got an error while installing grub, so I was unable to start installed kali os and also second OS, Windows 8.1. Only what was possible was to start live ...
2
votes
4answers
3k views

How to create a restore point in Ubuntu?

Like Time Machine in Mac OS X. Is it possible?
0
votes
0answers
9 views

Auto-unmount NTFS partition when hibernating Xubuntu

I use a dual-boot setup (Xubuntu & Windows). My Windows has Fastboot and Hibernation disabled and my main OS is Xubuntu which i hibernate almost every day. I always make sure no NTFS partition is ...
1
vote
1answer
3k views

Installing Gnome 3.12 from stable repository for OpenSUSE 13.1

I installed (upgrading) Gnome 3.12 from a stable repository for OpenSUSE 13.1, I follow this: sudo zypper ar http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/ GNOME sudo ...
4
votes
1answer
14k views

How can I mount a single RAID 1 disk/partition as ext3?

I need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD. Background: The HD comes from ...
0
votes
0answers
21 views

Kernel threads and process virtual address

If the kernel is spawned as threads and resides in the memory then how could the ps command identify them if those are not normal process and i give you more look here: root 2 0 0 ...
0
votes
0answers
22 views

64GB SSD, 20GB visible, HPA disabled

I have a 64GB OCZ Agility 4 SSD that only shows 20GB available. My first thought was HPA was enabled, so I fired up hdparm only to learn that HPA is disabled. root@PartedMagic:~# hdparm -N /dev/sdb ...
0
votes
0answers
8 views

adduser with custom conf file: enable all users in group to read, write and execute

I am trying to enable apache to create new users for git groups, repositories and ssh access. I've managed to get apache to add users, but now apache cannot move, read and write in the home dirs of ...
18
votes
5answers
8k views

Is kernel a process?

In Linux, we always say the first process is init(pid==1). but why is not the kernel(startup) which setup the system and create init process. Is kernel a process? We know all the user space threads ...