2
votes
0answers
850 views

Live boot GUI convert a primary partition to a logical partition?

Is Gparted Live unable to convert a primary partition to a logical partition? i.e. to make an extended partition and make that primary partition a logical partition within the newly created extended ...
2
votes
0answers
113 views

How can I make Krusader show real size of symlinked files?

In the "size" column in Krusader, there is a link's size noted, instead of the size of the actual file. This is the same as what ls -l shows (the full address of the target file, e.g. 64 B instead of ...
1
vote
1answer
564 views

Archlinux mute sound in browser only

Is there a way how to mute all sounds in browser only? I need it to be done from command line. I'm currently using alsa mixer for mute (command amixer set Master toggle), but I can't find any way how ...
6
votes
3answers
4k views

Bluetooth LE scan as non root?

To perform a scan for bluetooth LE devices hcitool apparently requires root privileges. For normal users the output is following: $ hcitool lescan Set scan parameters failed: Operation not permitted ...
0
votes
1answer
429 views

wireless enabled but can't browse internet

My laptop sees wireless ssid and connects but I get unknown host when trying to ping www.google.co.za, but I get replies when I ping 8.8.8.8, my other machine connected to the same router can surf the ...
3
votes
1answer
1k views

Walking Multidimensional arrays in Mawk

I'm able to do this properly in gawk, but when I tried to post my code to the machine where it will run, I realized it was using mawk... $ cat multidim.gawk # test of multidimensional arrays // { ...
2
votes
0answers
207 views

Can't download Debian's Two Blu-Ray Disk

I use this command: $ jigdo-lite --noask debian-7.1.0-amd64-BD-1.jigdo $ jigdo-lite --noask debian-7.1.0-amd64-BD-2.jigdo I'm already download 41Gb. But It is stuck with next err: --2013-10-15 ...
3
votes
1answer
877 views

mpd/mpc and NTFS mount

My music directory is kept on an NTFS mount as it was the simplest way to have it on both window and *nix machines. I am trying to get mpd/mpc to actually read the directory and getting no where. ...
20
votes
7answers
1k views

Reading and searching long man pages

I finally got fed up when wanting to read about bash's read and it's -s option with man bash. I found the right spot eventually (around line 4500), but it was a frustrating as usual, since both /read ...
1
vote
1answer
294 views

Unable to update my system Ubuntu13.04: Getting message - requires installation of untrusted packages

I had been trying to update my Ubuntu13.04 via 'software updater'. The updater messages that the following needs to be installed. Press continue to install When I press continue , a window appears as ...
1
vote
1answer
377 views

Unmet Dependencies and sub-process /usr/bin/dpkg returned an error code(1) error in DEBIAN

I'm trying to install desktop environment on Debian in VM gnome: apt-get install gnome-desktop-environment Throws Error: Reading package lists.. Done Building dependency tree Reading ...
0
votes
2answers
65 views

Ubuntu use compiled package instead of apt-get

I have a compiled binary specifically sun Oracle java that I am using instead of Ubuntu`s apt-get version of java ( what ever it may be ). I am installing an apt-get package ( maven ) and would like ...
2
votes
1answer
530 views

Debian/kfreebsd VirtualBox guest additions

I'm trying and failing to install the virtualbox guest additions for a unstable Debian/kfreebsd virtual machine running in VirtualBox. Without the guest additions, the idle process pegs one of my CPU ...
2
votes
2answers
523 views

Setting programming font in RHEL 5 + gvim

I am working on RedHat RHEL5. I want to change the font in GVIM. The only font format that my GVIM accepts is *-courier-medium-r-normal-*-*-140-*-*-m-*-* It refuses to use Courier\ New or ...
1
vote
3answers
131 views

How to rename files and directory with *.~1~ suffix to original name?

I have a directory named underscore.~1~ and several files inside with names like main.js.~1~, index.js.~1~ etc. How can I rename the directory underscore and the files inside to the original names ...
1
vote
3answers
2k views

zsh alias being overridden somehow

I'm on a system running OS X 10.8.5. I recently tried to alias ls to ls -G -la command. I opened up ~/.zshrc, put in the alias, relaunched the terminal, but the change didn't take effect. Upon ...
1
vote
1answer
720 views

Window placement when switching to multiple monitors

Suppose you have several windows open distributed across multiple monitors. Then you switch to using a single monitor (perhaps because you have removed your laptop from its docking station). All your ...
1
vote
6answers
607 views

How to calculate by taking first field

I am trying to do a calculation like this, I have a text file with numbers like 459 455 463 And I must calculate percentage of those numbers relative to 600. I mean exactly (459/600)*100 that ...
6
votes
1answer
1k views

Non-root user cannot control NetworkManager. polkit rule has no effect

I have disabled slim and lightdm, using startx instead. Almost everything works, except I cannot control the network connections with NetworkManager when logged in as the non-root user. Enable ...
8
votes
4answers
1k views

Failing to block brute force ssh with iptables

I'm trying to block (slow down) brute force attacks on my sshd server. I'm following this guide http://www.rackaid.com/resources/how-to-block-ssh-brute-force-attacks/ which basically says I need to ...
1
vote
1answer
140 views

CIFS mount fails when read is interrupted

I have a functioning CIFS mount from CentOS 6.4, 2.6.32-358.18.1.el6.x86_64, to a Windows file server. If I hit Ctrlc while doing some IO intensive (like fgrep -r), then the mount (and all other ...
2
votes
3answers
79 views

Advantages of using distribution-specific configuration files over generic start-up scripts?

For example in case of Debian, one can specify network configuration in distribution-specific configuration file /etc/network/interfaces or one could use generic Sys-V scripts where network ...
1
vote
1answer
288 views

Nautilus Renaming Bug when pressing 'n' key in Ubuntu

I have what i can consider a Big Bug on Nautilus under Ubuntu Linux. When I am in the process of renaming a file or a folder, if I press n, nautilus opens a new tab. The effect is: I cannot include ...
5
votes
2answers
288 views

Can you identify transport via sysfs?

I'm writing a script, and I'm interested in being able to identify the transport class (fc - "fibre channel", scsi, iscsi, etc.) for a given block device. I can retrieve this information via ls -l ...
3
votes
0answers
56 views

Notifying program that X session is shutting down

Ok. I understand X session is a bit vague here so let me clarify what I mean by the phrase. I mean the situation where a person has been presented with a display manger screen ( eg xdm, kdm, gdm, mdm, ...
5
votes
2answers
526 views

Processes in Linux

As I understand it, process descriptors are stored in a doubly linked list data structure. But a fork can create multiple children for the same process, so that makes me think that there is a tree ...
4
votes
5answers
3k views

How to align fstab entries easily

Editing /etc/fstab with my text editor makes all the spacing go out of alignment. I could go through the file and insert/delete spaces to line everything up, but I'm looking for a more automated ...
2
votes
5answers
8k views

Sum the values in a column except the header

I have a file as given below -------------------------------------------------------------- Name_Customer Item_Purchased Item_Amount Credit ...
1
vote
0answers
341 views

Can I install a sync completion hook with rsync daemon?

Like hooks in svn or git, can I install a server-side hook script for rsync daemon? For sync completion event. I am using FreeBSD9/rsyncd.
3
votes
1answer
2k views

Alsa & JACK - card and device names (different naming conventions)

I am a bit confused about audio device names. If I use command aplay -l i get the list of all audio devices on my system: **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], ...
1
vote
2answers
238 views

Using grep to search a file

Re : grep command. I have to search a file for the names of all the students in the school's Linux system. I am able to do this and return about 665 names. (First string of /etc/passwd file). ...
0
votes
0answers
505 views

Strange behaviour from special keyboard keys

OS: Linux Mint 13 Maya - MATE So, I had a new keyboard through today and there is something strange going on. The following keys are identified as the Shift key. LEFT SHIFT RIGHT SHIFT ...
1
vote
2answers
211 views

How do I find new drivers for my laptop in RHEL WS 6.4?

I recently installed Redhat workstation 6.4 on my laptop as some of the stuff we're doing in class uses Linux (we have an RPi that we're learning the C language on). I figured, since the school has ...
2
votes
1answer
225 views

RHEL - Group assigned incorrectly

In our lab, all the LDAP users are assigned to a group vboxusers whose home directory is present in the server. We are using NFS to mount the home directory of an user to the client machines. I was ...
1
vote
1answer
887 views

Aliases in scripts are not set globally

I know this sound really wierd but this is exactly what happens. I have my .profile and .bashrc file set up in a way that the .bash_aliases file gets executed (checked it with a echo). I do not get ...
2
votes
0answers
419 views

Traffic shaping with tc does not work

I want to limit the outgoing traffic to a specific bandwidth. My Code: tc qdisc add dev vif1.0 root handle 1: htb default 30 tc class add dev vif1.0 parent 1: classid 1:1 htb rate 1mbit tc class add ...
1
vote
1answer
1k views

Imagemagick on open wrt router “UnableToOpenConfigureFile”

I have installed Open Wrt on my TP-Link TL-WR740N/ND v4. Everything works fine but the Imagemagick. I have installed it into ram (no enough space on rom ) with opkg # opkg install imagemagick ...
1
vote
1answer
65 views

Restored VG has shifted volumes

I'm recovering a PV on a mdadm RAID 1 with a single VG containing several LVs. The underlying devices have several bad sectors (one just a few, the other really much) and a silly typo made it ...
1
vote
1answer
429 views

Tunnel HTTP traffic using another machine via SSH

I have this situation: server 1: public ip x.x.x.x private ip 192.168.0.1 server 2: private ip 192.168.0.10 The server 1 can reach the internet with both interfaces: ping -i x.x.x.x ...
6
votes
2answers
11k views

How to make tar save the archive on a remote machine using sftp or ftp?

I would like to backup some of my very important data on a remote machine. Currently I'm just saving it to my local machine by using this command: tar -cvjf ~/backups/Backup.tar.bz2 ~/importantfiles/* ...
4
votes
2answers
405 views

what's the difference between machine hardware name and processor type

I know that my machine hardware name is i686 and processor type is i686 due to my Linux output. But I have no idea why they are the same. I want to know what's the difference between machine hardware ...
2
votes
2answers
919 views

setting variables inside subshell when using <<

I am using the following method in order to pass commands into a subshell that is started by "newgrp". #!/bin/csh echo "Before newgrp" /usr/bin/newgrp users <<EONG echo "hello from within ...
1
vote
3answers
716 views

Find matches for the 5th columns in a pipe delim files

File 1: Connect|20130320000023|UTC|PPP|test3@test3.co.uk|test1@test1.co.uk|0BCBE578| File 2: Connect|20130320000023|UTC|PPP|test1@test1.co.uk|test1@test1.co.uk|0BCBE578| ...
4
votes
1answer
1k views

ttyS1/uart1 initialised but not accessible through /dev/ttyS1

I'm not sure at which level I am having a problem. System is a LeopardBoard DM368 running TI's own SDK / LSP / BusyBox kernel, the core Linux kernel is 2.6.x so using serial_core.c driver model. By ...
2
votes
1answer
24k views

How to install the real Thunderbird on Debian wheezy?

I have Crunchbang 64 bit, a debian wheezy distro. Debian have a rebranded Firefox called Iceweasel and a rebranded Thunderbird called Icedove. But I don't want any of them. I was able to install the ...
4
votes
2answers
773 views

Spike in swap utilisation without high swap rate

Every Saturday, for reasons unknown to me, one of my servers experiences a spike in swap utilisation. It's not necessarily a problem as there is plenty of free memory available, but I'd still like to ...
2
votes
3answers
82 views

Can tree be used to list the number of files per level?

As title, I need to look into a particular directory and list the number of files per level. The directory is pretty large, about 10-15 levels deep. For instance, if I have the following: D1 | |-- ...
-1
votes
3answers
441 views

make ls display current date and time

I'm new to Linux and I'd like ls to display current date and time as a side effect every time I use ls. How do I go about changing what a command does?
0
votes
3answers
208 views

Search in iptables.log file takes a long time

I have used iptables to save information about connections by modifying the /etc/syslog.conf file to save information in /var/log/iptables.log. So, every X hours, I need to extract information from ...
4
votes
1answer
211 views

How can I stop an amok running process from logging to systemd?

There's a process on my system called demond which logs around 100 entries to the systemd journal every 15 seconds: Okt 11 04:58:42 scarecrow demond[1692]: [P:1692 T:108160832] src/discovery.c : 158 ...

15 30 50 per page