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

2
votes
1answer
2k views

Finding CPU utilization past 2 months in Linux

I am trying to figure a way to get the CPU utilization for the past 2 months. I have tried to use sar. What I found with sar is that you can collect and report CPU utilization with it and it is ...
0
votes
1answer
853 views

What Linux distributions come with Python 3 as the default? [closed]

I know that ArchLinux has Python 3 as the default Python install. What other Linux distributions ship with Python 3 as the default Python version? I've checked this SO question, but it seems more ...
0
votes
3answers
2k views

How to configure a large mtu (linux)

I have a gigabit ethernet connection from my laptop to my router, and a working ipv6 connection to the internet. I can receive very large packets from sites on the internet, with sizes up to at least ...
1
vote
1answer
363 views

How to format an mp3 player in linux

I have a cheap 2Gig mp3 player. It works well with a windows filesystem, but in linux there must be some tricks I'm overlooking. The format is generally good with the following options: mkfs.vfat -I ...
2
votes
4answers
4k views

Forgotten LUKS passphrase

i am stuck with a big problem. I have encrypted my linux drive with LUKS and now I can't remember it. During boot, it prompts me for the passphrase, but I went into troubleshooting mode and deleted ...
1
vote
1answer
99 views

Will changed username propagate to file permissions?

I ran lastb and found login attemps that used my username. I doubt they would guess my password, but my 4-lowercase-letter dictionary username should probably be made more complex. I'm going to add ...
1
vote
1answer
102 views

Is it possible to upload setuid-set file to ftp-accessible directories?

Just curious, is it possible to upload files set with setuid permission to directories using ftp and retain its setuid permission? Or does FTP always change the permission?
1
vote
2answers
1k views

FreeBSD password file

What would be FreeBSD password file equivalent of linux /etc/shadow and /etc/passwd? Is it the same? According to what I heard /etc/passwd exists in FreeBSD, but not sure in case of /etc/shadow.
1
vote
0answers
301 views

Virtualbox: print from Windows XP guest in Xubuntu host, using NAT

I have several network printers at work and at home I'd like to access in a Windows XP guest, under a Xubuntu 12.04 host. I have networking set to NAT, since I take my laptop back and forth to work ...
3
votes
2answers
717 views

Using sed to Download ComboFix automatically

I'm trying to write a shell script to grab the dynamic URL which ComboFix is located at at BleepingComputer.com/download/combofix However, for some reason I can't seem to get my regex to match the ...
4
votes
4answers
4k views

Quickly switching between virtual sessions (screen?)

I'd like to have few virtual session in one putty window and change between them quickly. What's the best way to do that? screen? I know I can detach with ctrl+ad and then reattach to a different ...
1
vote
0answers
466 views

How to resolve Kernel Panic error after upgrading F15 to F17 using Preupgrade?

I tried to upgrade my Fedora 15 to Fedora 17 directly using Preupgrade. Everything went smooth and the updates were installed. Grub2 screen came up after the restart. When I chose to boot F17, I got a ...
0
votes
1answer
99 views

Crontab as other user

I am running crontab as root user: screen -S konsola -X stuff 'say hello'`echo -ne '\015'` How do I run it as the user "nobody"? Only this user has screen with given pid, thats why I need it.
0
votes
2answers
254 views

How can I find the folders with specific permission?

How can I find the folders with specific permission in Linux? I want to find all these folders and files in Linux so that I can change them.
3
votes
1answer
254 views

Creating full, global clang+llvm environment

What is the easiest way to setup full Clang, libc++ and LLVM as default global toolchain? All of my attempts to build it, in most of the configurations I could think of, resulted in working Clang, but ...
0
votes
2answers
1k views

Ldapsearch query

I have around 10 users who have been given access to one specific application which uses AD authentication. ldapsearch -p xxx -LLL -x -w test -h abc.com -D abc -b dc=abc,dc=com sAMAccountName=xyz | ...
2
votes
2answers
354 views

Notification of available updates in terminal window

I run Ubuntu 12.04 and if the computer is started in console mode I get a notification of available updates when I log in. Is there a way to get this notification to show up in a (GUI) terminal ...
7
votes
2answers
8k views

CentOS Live CD vs Live DVD download

In this download page, I am presented with some options: http://mirrors.arpnetworks.com/CentOS/6/isos/i386/ What's the difference between Live CD vs Live DVD? CentOS-6.3-i386-LiveCD.iso 690M ...
21
votes
3answers
6k views

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i ...
1
vote
0answers
102 views

How to get Mac's Cmd key working on a Linux

I want to be able to, like on Mac, get my Linux to be able to send an additional key event on top of Ctrl, that is, the Cmd key event. And then easily map keybindings on Linux to listen for that Cmd ...
5
votes
4answers
11k views

How do I permanently reset the time zone in Debian?

Dreamhost seems to think that we like PDT, despite being in the Midwest. How do I change the timezone?
5
votes
2answers
375 views

What is the preferred way to set the path for library directories?

I installed a binary and its dependencies to a non-standard location. When I run the binary, I need to specify the library locations of all its dependencies. I know one way of doing this is to do: ...
1
vote
1answer
418 views

How to set fstab file to let Linux AutoMount NTFS with read-write permission

want to have one folder in windows server 2008 r2 shared to a Linux user with read-write permission. I put the following sentence int the /etc/fstab file //192.168.1.1/sharedFolder ...
4
votes
1answer
252 views

where do default file permissions before umask come from?

Where are default permissions for files and directories set before a umask is applied to limit those? Or are they 0777 by default?
0
votes
1answer
144 views

Can I remove “other” read access to /etc in Linux (CentOS)

I know this is probably a stupid question. I'm guessing that a lot of "others" (various processes) need read access to /etc and other directories. I am giving SSH access to an outside developer and I ...
1
vote
2answers
695 views

how to delete a file with colons in its name

this one is odd: I have two partitions on my computer, one for linux (ubuntu 12.latest) and one for window 7. I use grub to choose the system to boot. I made a Screenshot in Linux and saved it on the ...
1
vote
1answer
3k views

Enable networking on raspberry pi - Internet sharing with Win7

I do not have physical access to the wireless router that I use (shared living agreement), so I cannot connect my RasPi (Model B) to the router via Ethernet. However, I am running a Windows 7 64-bit ...
3
votes
1answer
3k views

Two parts: linux startup script to connect to bluetooth and cron to keep it connected

I have a mini bluetooth keyboard and a Raspberry Pi running a Debian-based distro. I know the MAC address of the keyboard but for this question, let's just use AA:BB:CC:DD:EE:FF. Right now I have to ...
3
votes
4answers
1k views

Partitioning a disk with already existing partitions

On a Linux Virtual Machine that i recently setup, I had a disk /dev/sdb of size 20G in which i created 8 partitions (3 primary, 1 extended containing 5 logical partitions), using upto 10G of space. So ...
1
vote
0answers
148 views

Is it possible to automatically mount a hot-swappable drive when it is turned on?

In my PC, I have a hot-swap drive. Usually I keep it off to save power. I only really use it when accessing from another PC on the network. Is it possible to configure /etc/fstab to mount this drive ...
1
vote
1answer
118 views

Format of Linux device name (in /dev)

Is there a format of names of devices in /dev. I know there are conventions like sd maps to a disk. I was wondering however if the kernel forces a specific format? I noticed when I tried to attach a ...
2
votes
2answers
957 views

How can I remote control mac from a linux machine?

I have a Mac Mini without a display and I'd like to remote control it, including desktop sharing, from a Linux machine. My goal is to use XCode on the Mac Mini for iOS development. What are my ...
0
votes
0answers
338 views

New usb wifi card on linux

I plugged my USB wifi card and on /var/log/message I can see that new hardware has been found Sep 17 16:21:34 bt kernel: [43049.422451] usb 1-2: USB disconnect, device number 5 Sep 17 16:21:40 bt ...
2
votes
4answers
2k views

Can you change permission to all files except one directory in Linux?

Is there any way to change all files/directories permission except one single directory in a single Linux command line command?
4
votes
2answers
1k views

How do I burn FullHD movie in linux so it can be played in blueray player?

I have prepared a wedding slideshow movie with Imagination. I have successfully created a PAL 720x578 DVD with menus and so on with DVDauthor (with help of Bombono DVD) and I have nice disk playable ...
0
votes
4answers
2k views

ban IP on multiple faild ssh login attempts

Is there an easy way to block an IP that runs a brutforce login attack on my sshd? Maybe just an increasing time for the login prompt to appear. I know fail2ban, but that did hang when I tried it. ...
1
vote
1answer
43 views

Selecting which parts of an email mutt saves

Using the ignore function it is possible to cherry pick which header information is displayed in the pager. This works perfectly. Saving mail, using the standard s bound functionality or a tagged ;s ...
2
votes
1answer
2k views

Is it safe to remove /usr/share/locale if 'locales' package is removed

I'm trying to make a minimalistic Debian install for a low-mem VPS box. I'll be uninstalling the locales package, as there is no need for any kind of locale support for my purposes (only a few server ...
1
vote
1answer
36 views

Is it possible to store Hashed data in a different field than userPassword in LDAP

I've been asked to store hashed data in a LDAP server. Putting hashed passwords is easy but I'm not sure if LDAP allows to store data like email hashed or even encrypted. Creating a LDIF file with a ...
0
votes
2answers
711 views

Cannot find my hard disk while installing linux-“No root file system defined” error

I am trying install Linux on my computer (tried Ubuntu 10.4 and Linux Mint 9). I started the installation wizard and on the hard disk selection page the hard disk is not displayed. I have a 500GB ...
1
vote
1answer
9k views

How can I install software in Linux with no yum and no wget?

I'm a newbie to Linux (that mainly uses Windows and Mac OS X) needing some advice. I was trying to install git on a Linux machine today, and encountered some problems: Not knowing the version of the ...
0
votes
1answer
442 views

Firefox script error

I downloaded Firefox (firefox-15.0.1.tar.bz2) file from this link Now That file is present under /opt directory, this is the permission of that file -rw-r--r-- 1 root root 19280364 Sep 17 15:33 ...
0
votes
2answers
272 views

Formatted “boot” partition by accident

I have Arch Linux and Windows 7 on the same HDD (actually, it's SSD). During re installation of Windows 7 I have, by accident, formatted my /boot partition for Arch Linux. It's only 200 MBs, but as ...
5
votes
4answers
5k views

Linux + “nVidia surround” + 3 monitors?

Is it possible to run 3 monitors on 1 nvidia card (600 series, 640/650/660/670) under linux/xorg with the closed source nvidia driver? At the moment a have a 2 monitors on my linux system in a ...
3
votes
1answer
451 views

What's the difference between unix sort and sort -d

After some time spent experimenting with unix sort I have noticed the following behaviour files.list: betty ./adam ./cyril The result of sort files.list is the same as the result of sort -d ...
2
votes
9answers
2k views

How to make Firefox use TCP for DNS

I want to use TCP for DNS, to bypass my ISP's slow and broken DNS servers. I'm not using (and don't want to use) a proxy. Note: I want to use DNS over TCP because if I use it over udp, no matter what ...
3
votes
2answers
178 views

Is it safe to view virus content on linux?

My email virus software quarantined several virus files. Is it safe to view them with 'cat' or other similar commands? Also can I safely open them with editors like nano? Thanks
1
vote
1answer
1k views

What do I have to do to hide the title bar in Opera?

What do I need to do the title bar in Opera on Linux? I am using Gnome 3 / GTK in this case. Please note that I really mean the title bar, not the menu bar or tab bar.
2
votes
2answers
174 views

Restore system-image with “dd” while running bootable flash drive?

Just wanted to know if it is possible, to restore a (system) image of the OS, while running my Fedora, which is installed on a bootable flash drive. Thank you! Regards, Chris
1
vote
0answers
206 views

How do I stop GNU Freetalk from automatically filling in the buddy name?

I'm using GNU Freetalk along with expect in order to send notifications to my phone – Freetalk has a readline interface, and I use expect to make a series of non interactive scripts that send ...