2
votes
2answers
6 views

Is dd able to overwrite parts of a file?

I have a 1TB big file (disk-image from a damaged drive) and a 1.3MB small file (beginning of a disk-file). Using the contents of the small file, I want to overwrite portions of the big file. That is, ...
0
votes
0answers
6 views

Linux kernel manual build: resulting binary is 10 times larger than precompiled binaries

I'm using Linux Mint 13 MATE 32bit, I'm trying to build the kernel (primarily for experience and for fun). For now, I like to build it with the same configuration as precompiled kernel, so firstly ...
0
votes
0answers
3 views

raspberry pi pulseaudio server connection failure

I purchased a raspberry pi model b , after installing image, the first thing I do is I installed vlc and copy a mp4 video in raspberry pi. Now from command prompt I tried to run my video using vlc. ...
0
votes
4answers
16 views

Is `-` used only with cd?

cd - can switch between current dir and previous dir. It seems that I have seen - used as arguments to other commands before, though I don't remember if - means the same as with cd. I found that - ...
0
votes
0answers
9 views

Force “indent” utility to ignore namespaces

I didn't found a mention about a namespaces in the man at all. The problem is that the utility inserts a whitespaces before the code that inside a braces of a namespace keyword. I guess the reason is ...
0
votes
1answer
13 views

Reboot and zero drive

Is it possible to issue one command that will both reboot, boot to an external live drive or something similar, and then zero a hard drive?
0
votes
0answers
6 views

Set new default file manager in firefonx on Archlinux

Folks I'm trying to use Dolphin as file chooser for Firefox in Archlinux instead of Nautilus. I've read this but it did not solve my problem. The config seems related to firefox as xdg-mime query ...
1
vote
2answers
20 views

Unix Shell Scripting output to an Excel File

I have a Shell script with Multiple SQL statements like this: select Count(*) from Emp where date= current_date-1; After executing the Shell script i need a MS excel file to be create with Column ...
1
vote
0answers
7 views

Using X11 Displays through Terminal.app commands : generic mapping tools

I am trying to figure out why I can't use ghostscript or ghostview (or any other X11 applications) when I try to call them in the Terminal. I am using bash, and I also used Fink to get the packages I ...
1
vote
1answer
8 views

Default files in home dir for each user

I'm using ubuntu server 14.04. I want to add some files and folders by default in each user's home directory, whenever a user account is created. How to accomplish this task. Can anyone help me. ...
2
votes
1answer
40 views

filename and pathname of a file

It is said that the filename of a file is a pointer pointing to the inode of the file. Before knowing that, I thought it was the pathname of a file that does that job. I am not sure how a pathname ...
0
votes
0answers
10 views

how to detect what DISPLAY is active/has input focus?

Is there some command to detect what DISPLAY is active? I mean active in a sense that it will "eat" all key strokes, and mouse clicks and moves; so it has the input focus. Default X session loads ...
0
votes
0answers
11 views

Custom kernel for Intel z2760 CPU [on hold]

A friend of mine wants to install Linux on his tablet with a z2760 CPU from Intel, Googling it gives some forum topics of people saying there Kernel freezes during boot. Is there someone who managed ...
2
votes
0answers
6 views

xpra attach failure

After entering the command to attach to an xpra session: xpra attach ssh:SERVERNAME:100 we get this response: connection lost: empty marker in read queue Connection lost What does it mean? We ...
0
votes
1answer
26 views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
2
votes
1answer
16 views

Samba file share shows user directory

I recently set up a Samba file share on Raspian and when I login to it from a Windows, it shows the home directory for the logged in user. Below is an excerpt from my /etc/samba/smb.conf file ...
1
vote
0answers
8 views

Resizing terminal splits

I'm trying to find a way to manipulate my terminal splits In my .vimrc I have set width=78 When I have vertical splits and change back and forth the active split is at least 78 chars. It squishes any ...
2
votes
2answers
50 views

Replace column entry with sum of other column entries

Let's say I have a file that contains these lines: 02.03.14 14.50 14.50 0.00 Desc 02.03.14 17.00 0.00 17.00 Desc 01.03.14 2.82 1.68 calc Desc 02.03.14 1.04 0.00 ...
1
vote
0answers
8 views

Window resize slowly and freeze with compton, openbox and catalyst-hoo

I'm try for the second time use Arch Linux. In this installation I get: openbox tint2 compton catalyst-hook (Vi0L0's) After starting the compton, I can not see what I'm typing in the terminal, ...
0
votes
0answers
18 views

“make test” failed while compiling Python

I compiled Python 3.4.1 on an emulated Debian 7 ARM system. make test failed on test_multiprocessing_fork: FAIL: test_semaphore_tracker (test.test_multiprocessing_fork.TestSemaphoreTracker) ...
6
votes
4answers
79 views

Remove backslash + newline sequences

We are having a file in Linux which contains one line per record, but problem comes when the line contains some new line characters. In this case, the backslash is appended at the end of line and the ...
0
votes
1answer
19 views

Format USB drive

I have a USB drive which I format with sudo mkfs.vfat -I /dev/sdb1 When I then look at the size of the USB drive with df -h, it reports its size to be 64 MB, though it should be 8 GB. What am I ...
1
vote
0answers
13 views

Setting up smartmontools

I recently built a small server running lubuntu and decided it would be wise to setup smartmontools in order to monitor the drive health. SMART seems to be built into lubuntu in gnome-disks, however, ...
1
vote
1answer
16 views

Print PDF scaled-down and aligned

I want to print a PDF file with all pages scaled down equally (to, say, 70 %). The scaled-down pages should then be left-aligned on the printing paper. This doesn't seem to be possible with lpr ...
1
vote
1answer
33 views

Combining awk statements

I'd like to combine those awk statements: awk -F'\t' 'NF>1 && $NF!=""' #prints every row with more than two fields awk '$1 ~ /^[0-9]/' #prints every row starting with a number awk ...
-2
votes
0answers
23 views

Which Forum to Post Questions about CUPS [migrated]

What is the recommended forum site for Cups Common Unix Printing System forums (ask question-receive an answer) for new users to Linux using Cups within Qiana Cinn. I have tried to log in to Cups ...
1
vote
1answer
6 views

Creating a debian package that depends on libcudart.so.6.0 from cuda-core-libs-6-0

I try to create a Debian package for a program that depends on libcudart.so.6.0. The debuild script aborts with: dpkg-shlibdeps: Fehler: Bibliothek libcudart.so.6.0 konnte nicht gefunden werden, ...
6
votes
3answers
118 views

Going into a directory linked by a link

When I cd a link, my current path is prefixed with the link's path, rather than the path of the directory the link links to. E.g. ~/dirlinks/maths$ ls -l logic lrwxrwxrwx 1 tim tim 71 Jul 27 10:24 ...
1
vote
1answer
17 views

regenerate xorg.conf with current settings

Many people have talked about this issue but I've not found a satisfactory answer. I'm on a debian jessie. Currently I have tried nvidia-driver as the driver but it caused the system to crash; so I ...
0
votes
0answers
32 views

Symbol ''@'' (AT) Shortcut on Keyboard - What keys to press? [on hold]

What shortcut keys on keyboard do I have to press for symbol @ (known as AT) to occur? I am asking about keyboard keys for symbol occurrence. Copy pasting it from somewhere doesn't work. As shortcut ...
1
vote
2answers
29 views

Fedora 20 Crashes on Older PC

I have an older PC that has been flawlessly running Windows XP for several years. Since Microsoft discontinued support for XP, I want to install the latest version of Fedora. While trying to install ...
3
votes
1answer
15 views

sending emails with heirloom, even when Postfix is not running locally

Normally, I can send email from commandline, such as echo hello | mail -s "subject" user@example.com I have noticed that even when Postfix is not running on my machine, I can still "send" emails. ...
0
votes
2answers
32 views

How to list similar lines?

The delimiters could be: " "; "_" INPUT: foo#foo_ehh113#The password of user 111 will expire within the next seven d foo#foo_ehh204#The password of user 111 will expire within the next seven d ...
0
votes
2answers
38 views

What are the positions in `free` called?

I am trying to compare the output of free with the output of sar -r: # sar -r 12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit 12:10:01 AM 629756 65293976 ...
1
vote
1answer
12 views

tmux new pane has home directory as default instead of previous directory

When I press Ctrl+" (create a new pane) while in a pane, which has the PWD /tmp for example, the new pane starts as my home folder ~. I looked at http://unix.stackexchange.com/a/109255/72471 and it ...
0
votes
2answers
37 views

What is the difference between “find” and “till” in vim?

I see I can use t c or Tc to move to the next / previous character c I can also use fc or Fc to move to the next / previous character c Is the only difference between them that tc places the ...
1
vote
1answer
8 views

Why do upgrades to KDM/KDE not preserve changes to configuration files?

The kdebase-workspace package on Arch Linux only preservers changes made to /usr/share/config/kdm/kdmrc when the package is updated. I need to edit /usr/share/config/kdm/Xsetup to get my monitors to ...
0
votes
0answers
32 views

send email only when find finds something [on hold]

I would like to send an email using mutt, whenever this find command finds something, find . /home/user/todel -ctime +30 -type f -ls | mutt … At present it sends an email every time it is run. How do ...
0
votes
0answers
10 views

ChrUbuntu on a samsung arm

I just installed Chrubuntu on my Samsung ARM Chromebook and after it finished downloading in the developer console my computer rebooted. It just started up in the normal Chrome startup. I still ...
1
vote
1answer
29 views

LXDE: How to run a program/command when I press one or more keys?

I have a numpad on my keyboard and I want to make the keys do something when (the otherwise useless) ScrollLock is on under LXDE graphical environment. For example, I want to run my browser when I ...
1
vote
1answer
26 views

Ubuntu Qmake is not an executable

after installing new version of QtCreator in Ubuntu and tux-world@alachiq:~ > sudo apt-get install qt5-qmake build-essential g++ gcc Reading package lists... Done Building dependency tree ...
4
votes
2answers
62 views

Where does the pattern occur in a match by find?

The manpage of find says: -name Base of file name (the path with the leading directories removed) $ find ~ -name bookmark | less returns nothing, while $ find ~ ...
3
votes
1answer
158 views

The -F option for ls

For command ls -F, --classify append indicator (one of */=>@|) to entries Wikipedia says * represents executable and / dir. Regular files are not followed by any of the above ...
0
votes
1answer
36 views

“Links” to dirs that have features of both hard and soft links?

It is not allowed to create a hard link for a dir. But the soft like will not work, if I later change the name of the dir. How would you solve the dilemma? Are there applications which can ...
1
vote
1answer
24 views

Mapping a key to AltGr with KDE On Ubuntu

Is there a way to Assign AltGr to the right Win key? I'm Using KDE Workspace in Ubuntu 14.04.
2
votes
0answers
28 views

Configuring USB digital microphone under Linux

I just bought a digital USB microphone. It looks nice, but I cannot make it work. I use openSuse 12.3. How do I ever know whether my system has the drivers for such and such microphone? The good ...
1
vote
1answer
26 views

Debugging a Solaris network issue

I'm running a Solaris 11 x86 file server. The file-server part is ZFS + Samba. It's been up running for three or four years now without major problems (Gets rebooted every few months). After ...
5
votes
4answers
202 views

Ways to organize and access frequently visited directories and files?

In my Ubuntu, I have added some frequented directories to the bookmarks of Nautilus, for visiting them quicker. Nautilus can consume a lot of memory, when it has been kept open for long and there ...
7
votes
4answers
91 views

Is LILO still usable on modern PC?

How does LILO work on modern hardware with today's kernels? Do I have to fulfill any preconditions, or is it just about writing the configuration file and running lilo command like in the old days? ...
1
vote
0answers
10 views

Linux Mint brightness has too few settings

There are many questions to do with screen brightness on Linux Mint (this and this refer to default brightness being zero, and this to there being only two brightness levels.) My problem is a bit ...

15 30 50 per page