2
votes
2answers
8k views

Run a GUI program at startup

I am using Ubuntu 14.04. I wrote a small script named trial. The contents of the script are as follows: #!/bin/sh SHELL=/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin sh -c firefox I copied the ...
2
votes
0answers
720 views

Impossible to send mail to microsoft (hotmail, live …)

I cannot send mail to hotmail with my postfix server. I can send and receive mail from gmail and others, but not hotmail. I made an "Authentication Report" on auth-results@verifier.port25.com: ======...
0
votes
1answer
63 views

Why does “file foo.css” and “file bar.css” have different outputs?

For example, executing file styles.css outputs: styles.css: asssembler source text whereas file bar.css outputs: bar.css: ASCII text Even better, is there a way to convert my file styles.css to ...
20
votes
1answer
27k views

What is LightDM and GDM

What is LightDM and GDM? In Linux operating system I heard both but I don't know about them and what is called? Where they are used? Are they related to display?
2
votes
1answer
245 views

GNU stow linking all files instead of only binary

What must I do to have stow only linking the binaries (and maybe the man pages) correctly? I want to use GNU stow to manage local installs on my machine. However, stow does not simply symlinks the ...
4
votes
2answers
5k views

Is there a GUI debugger for shell scripts

Debugging bash scripts on command line is complicated. Is there a good GUI based debugger available for debugging bash scripts?
0
votes
2answers
94 views

Where can I view a changelog for the sort command

I need to find sort's version when the -V flag was introduced. But I am finding myself some hard time finding the changelog for this command. Where can I view it?
1
vote
1answer
264 views

linux command stuck

I have strange problem on my Linux machine When I do the following simple command chmod +x /tmp/file chmod is stuck and not returned the prompt what could be the problem? the same issue when ...
1
vote
0answers
38 views

Disk copying with two OS on it

I want to change HDD in my laptop to bigger one. I have installed WIN XP and Mageia Linux and GRUB ver 1 as bootloader. So I want to use such procedure for copying and changing disk: plug new one ...
1
vote
4answers
180 views

Print text between tags (inclusive) if certain text is found

I've got a task to extract data from several Apache servers. The task is to print out: <Directory ...> ... </Directory> where +ExecCGI is located within. Let me give an example to ...
0
votes
0answers
170 views

problem with airmon-ng start waln0

I'm new in Kali Linux, I have a USB wireless adapter, Realtek RTL8187 wireless802.11b my command airmon-ng it shows the waln0, but when I type the command airmon-ng start waln0. It doesn't show ...
1
vote
0answers
315 views

AIX OS fileset with status Broken

Does someone encounter this error in AIX version 7.1 TL3? root@TEST:/ # lppchk -v the result is: lppchk: A parsing error occured for bos.sysmgt.quota 7.1.3.0 on line 1, column 23. ...
1
vote
0answers
52 views

Why does USB errors with my mobile phone stop the computer from interacting with services?

I set my Android phone to use "Mass storage" as the connection mode (In Settings → Storage → context menu item USB computer connection) to easily be able to browse the files. Then I plugged ...
1
vote
1answer
2k views

Change size of pantheon terminal

I haven't found any settings with regard to terminal size and I hate to keep resizing every time I want to use it. How can I change the size of the terminal?
1
vote
0answers
233 views

Max Brightness too low on Debian

Using Debian wheezy 7.5 x64 on a Acer Aspire 5738Z, I found that maximum brightness (value '9' in /sys/class/backlight/acpi_video0/max_brightness) is much lower than maximum brightness offered by ...
-1
votes
1answer
140 views

Fdisk expert mode not available

It seems that the eXpert mode in fdisk is no longer available. When I try sudo fdisk -x, terminal returns "fdisk: invalid option -- 'x'" I have fdisk from util-linux 2.24.1 Is this a "feature"?
0
votes
1answer
80 views

skip line that doesn't contain a particular character eg .colon

I am reading lines from a file in a while-loop. while read line do #process line done I want to skip lines that do not contain a colon.
2
votes
1answer
425 views

How can I change the gedit tab colouring?

I'm using Debian Jessie, and xfce desktop environment. I find the look of tabs for other applications, such as chrome, and the file manager (thunar), and terminal (xfce4-terminal), display the active ...
2
votes
3answers
463 views

Why not download KDE libraries?

I am installing an Ubuntu VM and wanted a good integrated development environment for C/C++. A simple Google search pointed me at this question that recommends Eclipse, KDevelop, and others. On the ...
1
vote
1answer
148 views

Why does kernel-devel contain so many “empty” directories?

I have been a Windows kernel developer for many years. Now I start to develop Linux kernel modules. To begin with, I installed kernel-devel under /usr/src/kernels/$(uname -r). However, after checking ...
2
votes
0answers
407 views

KDE CIFS mount. Can copy files with mc but dolphin won't

I have a samba/cifs mount that is accessible r/w from the commandline (mc). The KDE filemanager dolphin shows the content of the samba share, but gives me a "no space left on device" when I try to ...
3
votes
0answers
810 views

Add a user for Postgres on Mac

I've had a very difficult time trying to set up a postgres database. I am using Mac OS X 10.9.2. I am using this tutorial: http://tutorials.jumpstartlab.com/topics/environment/environment.html The ...
0
votes
6answers
21k views

How to list files starting with “a” or “c” from /etc.

I tried ls /etc/[ac]* but it shows directories starting with a or c, and their entire contents, not the files starting with "a" or "c".
0
votes
1answer
1k views

How do you create RPM from .spec file?

I'm attempting to create an RPM from a spec file that was provided here: http://sauron.jyu.fi/docs/manual/x191.html Having not used rpm much, I assume that I execute the command rpmbuild and point ...
4
votes
1answer
78 views

How to detect a desktop application hanging

I want to write a script that will detect whether a particular desktop application is responding and kill it. Is this possible? I know I've seen the GNOME desktop put up a "Application is not ...
6
votes
1answer
7k views

Which driver is handling my touchpad?

I would like to know how to determine which driver (out of those below) is handling my touchpad: appletouch.ko.gz, cyapa.ko.gz, sermouse.ko.gz, synaptics_usb.ko.gz, bcm5974.ko.gz, psmouse.ko.gz, ...
4
votes
4answers
334 views

Wrap sentences into columns

I'm looking for a way to take sentences and wrap them. Using something like column is not what I want as in my scenario there will be multiple sentence columns in the 80 characters. Is there any ...
0
votes
0answers
252 views

Permission denied (13)

I am using Clonezilla 2.2.3-10. When trying to mount via samba, I get permission denied (13). I am able to connect via Windows XP, by simply entering the ip + share name \\192.168.1.240\MyShareName ...
4
votes
1answer
7k views

if else statement in one line using && and ||

I would like to know if these 2 ways are equivalent: First: #!/bin/bash if [ -x $FILE ] then echo "You have execution permission to a "$FILE"" else echo "You don't have execution permission to a ...
2
votes
0answers
123 views

One way diff between 2 directories

I am looking to perform a diff between 2 directories, both of which contain may files and subdirectories. I am hoping to perform a one-way diff between a source and target directory that will return ...
3
votes
1answer
2k views

Touchpad doesn't wake up from suspend

I've been trying to figure out how I can make my touchpad work after waking up from suspend. Until recently I could at least reactivate it by typing: ls /lib/modules/`uname -r`/kernel/drivers/input/...
5
votes
1answer
637 views

Using ACL with Multiple Default Groups

I have looked though the answers to similar questions and refreshed my memory on ACLs by reading tutorials on Linux ACLs. Yet, I am still stumped. What have I done wrong, or what do I not understand? ...
1
vote
1answer
5k views

gcc produces erroneous “No such file or directory” under Cygwin

For demo purposes, here is my one line program test.c : #include <dbus/dbus.h> This is my makefile : INC = -I/usr/include/dbus-1.0 \ -I/usr/lib/dbus-1.0/include ...
1
vote
1answer
531 views

Nmap too slow with a network that can't access to internet

I am using CentOS 6.5 and Nmap 5.51 I want to find all alive IPs in a LAN between two IPs Easily get the answer sudo nmap -sP 192.168.1.100-200 my problem when my network can access to ...
1
vote
2answers
557 views

Why can user have lower permissions than group or other? Who can change them?

It is my understanding that the owner of a file user can have lower permissions than group or other. What is the justification for this? Can only root and the owner change the permissions on a file?...
0
votes
1answer
881 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
1
vote
1answer
74 views

With mv, possible to put a time dependence on files mv'ed?

Let's say there's a specific time and date I have in mind. All files last edited before this date I want to keep in the directory but all files that have been edited since this date I want to mv ...
1
vote
4answers
12k views

extract value between two search patterns on same line

I have the following in a file Output.dat. I need to extract the value between dn: uid= and ,ou= dn: uid=user1,ou=Active,ou=Member,dc=domain,dc=org dn: uid=user2@abc.com,ou=Active,ou=Member,dc=...
1
vote
1answer
235 views

Debian server doesn't show in DHCP list on router

I have a Raspberry Pi running Raspbian which is connected over ethernet to my router. The router has been running both with DCHP and Static IP addresses and over the local LAN I can connect fine over ...
2
votes
1answer
528 views

Why does openssl print to stderr for a successful command?

When I generate a CSR using openssl, the normal output goes to stderr. I don't understand why it isn't on stdout. I'm scripting the generation of some certificate/key pairs and want to be able to ...
1
vote
1answer
212 views

Encrypt my disk but allowing to enter the password with SSH

Can you help me with this problem please? I need encrypt whole disk on Debian 7.5, (it will be work as server) but I need enter encryption password via SSH. So I need encrypt whole disk except primary ...
6
votes
1answer
281 views

Highlighting text in bash when using reverse history search using Ctrl-R

Using Ctrl-R, I can search the history in bash. But what to do, If I want to highlight the relevant word which has been typed upon by me. Example: (reverse-i-search)`mount': sudo mount /dev/sda2 /...
1
vote
3answers
345 views

How to remove string between two strings?

INPUT: $ cat a.txt FOO<td align="right" style='mso-number-format:"\[$-409\]m\/d\/yy\\ h\:mm\\ AM\/PM\;\@";' x:str>BAR OUTPUT: $ sed 's/SOMEMAGIC//g' a.txt FOOBAR My question: How can I ...
4
votes
0answers
2k views

diff -r only for certain file types

Is there a way I can perform a recursive diff of two directories but only compare (in their respective places) files that match a specific filename or filetype predicate? E.g. I would like to do ...
1
vote
2answers
37 views

Deleting user directories with . in name

I have directories with usernames as "firstname.lastname" and firstname.middle.lastname in one directory. Is there a way to delete directories with "." in name under current directory. I need to run ...
1
vote
0answers
467 views

postfix expand ldap group AND afterwards resolve alias

We have a postfix server which has the user config stored in a openldap directory. Recently we also implemented ldap groups which are expanded by postfix. This works fine, unless the group expands to ...
2
votes
1answer
178 views

Using dget to build package from mentors.debian.net

I'm trying to build this package: http://mentors.debian.net/package/isbg I thus ran: dget http://mentors.debian.net/debian/pool/main/i/isbg/isbg_0.99-5.dsc But the gpg verification fails: dget: ...
3
votes
2answers
2k views

Getting a list of WiFi networks nearby when the adapter is in AP mode

I am trying to get a list of wireless networks nearby while the adapter is acting as an access point but iwlist returns the following error: $ sudo iwlist wlan0 scan wlan0 Interface doesn't ...
0
votes
1answer
87 views

egrep part required for svn hook script

I am trying to write a pre commit hook script to Enforcing tag naming convention like < application>_ < project >_ < version>_ < iteration> this using a shell script can anyone ...
0
votes
1answer
269 views

Copy selected files had subtitutions in name

I have some folders: oldA with A_1.aaa, A_2.aaa, A_1.bbb, A.def, A.ghi oldB with B_1.aaa, B_2.aaa, B_1.bbb, B.def, B.ghi and so on and need to copy them to another folder with selection. I want ...

15 30 50 per page