3
votes
1answer
1k views

How to convert a PowerPoint ppt file into HTML files?

I have to find a free, gratis command line solution to convert primary Microsoft PowerPoint presentations into HTML files (1 HTML file per foil) on Linux (Debian, OpenSuse). It would be nice if the ...
5
votes
3answers
2k views

How can I know the process name which is opening a tcp port?

I have two linux servers. Let's say they are C and S. C is client of S On my S machine, I type. $ netstat -an | grep ESTABLISHED tcp 0 0 192.168.1.220:3306 C:57010 ...
0
votes
1answer
375 views

Giving input to background processes

Is there any way to give input to background processes or which run as daemon processes? I was coding some Puppet configuration files and I had to push them to some remote machine. For that purpose I ...
10
votes
1answer
2k views

Is interrupting badblocks risky?

I'm running badblocks to check for bad segments on an external drive, and it's been about an hour and it has not yet finished. Now, I need to go and consider cancelling. Is this somehow risky? Should ...
5
votes
1answer
694 views

Cannot switch to console anymore after using Alt_R as mod4

I'd like to use the right ALT key as 'mod4' (most notably because, by default, the 'awesome' window manager is using mod4 as a modifier for most WM commands and I like that idea a lot). However I've ...
2
votes
2answers
98 views

Where does package make-doc end up after installation?

I am on Mint 12 KDE. I used Software Manager to install make-doc - "Documentation for the gnu version of the "make" utility". How do I access what was downloaded?
0
votes
5answers
15k views

Problems setting up web server in CentOS

I want to set up a web server on one of my computers (Dell Desktop) and decided on CentOS as the OS. Apache is installed properly (I think. pgrep httpd returns a bunch of processes that are running). ...
4
votes
2answers
5k views

Working with columns - awk and sed

I am trying to parse a text file that is generated by an expec script that pulls down some information from a switch. Here is a sample output: 192 0000.0000.0000 1/g23 Dynamic ...
1
vote
1answer
928 views

GNOME-Terminal: Create new terminal tab on remote machine

Is there a way to open a new terminal tab in GNOME-Terminal when working on a remote machine that is connected via ssh?
2
votes
0answers
574 views

modetest.c from libdrm tests lists no framebuffers

I wanted to play with KMS since it seems to be the preferred low-level graphics library on Linux. However, after compiling the appropriate modetest.c version (2.4.32, since that's the version of ...
0
votes
3answers
112 views

Weird behaviour case insensitivity with bash on MacOS

~/testing $ echo Hello > hello.txt ~/testing $ echo Goodbye > goodbye.txt ~/testing $ cat goodbye.txt hello.txt > HELLO.txt ^C ~/testing $ ls -l total 9056 -rw-r--r-- 1 user user 8 ...
7
votes
2answers
5k views

command line retrieve list of all valid kbd layouts, variants and toggle options (to use with setxkbmap)

Is there a way from command line to retrieve the list of all available keyboard layouts and relative variants? I need to list all the valid layout/variants choices to be used then from setxkbmap. ...
3
votes
2answers
86 views

How to get size of data that haven't been written to disk yet?

In some programs percentage of copying large files get to 100% very fast and then I'm waiting much more before it goes next step. It's caused by buffer. How to I see amount of data that are going to ...
1
vote
3answers
1k views

Can directory listing be disabled for sftp?

A question arose in a group discussion: Can directory listing be disabled for sftp while still retaining read and write access? We are using openssh on ubuntu server 11.02 if that helps.
3
votes
2answers
1k views

What could cause a NAS mount to respond slowly?

I've a directory on a NAS mount (from NetApp), that contains ~6300 image files, total size of this directory is ~ 300 MB. I get two different performances of time ls: First time (or after waiting 5-7 ...
3
votes
0answers
289 views

biosdevname is giving me “p120p1” instead of p1p1 — is this correct?

I'm using biosdevname on a CentOS 6.3 server to name my interfaces in a rational way. On our new Dell PowerEdge C6145, we have 2 embedded ports and two PCI cards with 4 ports each. On our other Dell ...
1
vote
0answers
77 views

Alternative keyboard-triggred launcher for specific file type in file managers (Dolphin and/or nautilus)

Is it possible to have an (or some) alternative launchers (i.e. Open With) for each file type and be able to trigger them using keyboard modifier keys (Shift, Ctrl & Alt) in linux's KDE and/or ...
3
votes
1answer
1k views

TCP forwarding over SSH using non-root account

I've setup TCP forwarding over SSH using the following command: ssh -N -L 1234:10.0.2.2:1234 root@10.0.2.1 This works no problem. So I decided to create a non-root account user1 on 10.0.2.1 to do ...
12
votes
3answers
20k views

Using rsync to move (not copy) files between directories?

I have been using rsync to copy files for some time. My understanding is that rsync is faster than cp when some of the files to transfer are already in the destination directory, transferring only the ...
7
votes
4answers
1k views

Find files alphabetically before a given string

If I have a directory full of files and sub directories. What is the best way to list just the regular files which fall alphabetically before a given string? Currently the best I can do using bash is ...
4
votes
1answer
683 views

What's the conf file reading between login and non-login shell?

I found that those are .bash_profile, .bashrc, .bash_login, .profile. What's the reading sequence between them?
9
votes
3answers
3k views

Installing from source. How to resolve dependencies without destroying the package manager

I don't consider myself a total noob, but compiling and installing software is a pain and problem I cannot overcome. I just want to run down through my understanding of this process with someone more ...
1
vote
1answer
2k views

Why .bash_profile couldn't set PS1 variable?

I set .bash_profile to exec env -i HOME=$HOME TERM=vt100 PS1='\h' /bin/bash But when I login, it also show: lfs@sam:~$ env TERM=vt100 PWD=/home/lfs ...
1
vote
1answer
86 views

Why lfs couldn't use original host environment variables?

From the lfs doc: The exec env -i.../bin/bash command in the .bash_profile replaces the running shell with a new one with a completely empty environment, except for the HOME, TERM, and ...
1
vote
2answers
912 views

How to mount a .jpg centered into a .pdf (using defined page size and borders)?

I'm looking to convert a .jpg into a .pdf, so that the .jpg is positioned at a certain location: centered on (say) an A4 page, with a minimum border of 30 pixels all around between image and page ...
12
votes
2answers
9k views

What's the difference between various $TERM variables?

I tried vt100, vt102, vt220, and xterm by using top. But I can't find their difference. Is there any other term type? What's their difference?
1
vote
2answers
1k views

On the command line, can I redirect output to a file WITHOUT >, >>, or | operators?

I am attempting to run a command on a CentOS virtual machine, and the API that I am using to run this command does not seem to allow the >, >>, or | operators. Also, I must use fully qualified paths ...
2
votes
0answers
140 views

How to make system startup to not wait on particular systemd service start

I have few virtual machines running under libvirt, and they are stared on the host system startup. This is controlled by libvirtd.service systemd configuration. This delays the availability of the ...
3
votes
2answers
1k views

How to Add rules to IP Filter (Firewall in SCO)

I need to add a rule (allow any to any port 22) to my firewall, so that I can ssh remotely into my machine. I have had a look in the SCO OSR600 Documentation and I cannot find anything in there that ...
2
votes
0answers
63 views

Limiting write rate of a device

How does one go about limiting the write/read rate of a device, E.G., USB drive, SD card? Motivation behind this question is covered here (superuser.com).
2
votes
2answers
1k views

GParted LiveCD: Is there a version with a 64-bit kernel?

I'm trying to chroot with the GParted LiveCD onto an existing 64-bit system, attempting to fix grub.
1
vote
3answers
1k views

Editing margins and sharpening of movies

I copied some cartoons from a VCD to my hard drive, to be able to manage the content more easily. However, probably because of the VCD outdated technology, there are two issues with these clips: ...
5
votes
2answers
3k views

Detailed Per-Process Profiling

I am looking for a way to profile a single process including time spent for CPU, I/O, memory usage over time and optionally system calls. I already know callgrind offering some basic profiling ...
15
votes
11answers
65k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
2
votes
2answers
1k views

xfce4 loses title bars on all windows

I'm running Debian Wheezy using gdm3 as window manager and xfce4 as desktop environment. Every so often, when I login, the desktop environment starts OK, but all windows are missing the title bar and ...
3
votes
1answer
6k views

Add another IP address to a Bonding Interface

I have a Linux network Bonding interface for two Ethernet interfaces (eth0 and eth1) $ cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 BOOTPROTO=static ONBOOT=yes ...
7
votes
3answers
5k views

How to read the in-memory (kernel) partition table of /dev/sda?

I accidentally overwrote my /dev/sda partition table with GParted (full story on AskUbuntu). Since I haven't rebooted yet and my filesystem is still perfectly usable, I was told I might be able to ...
3
votes
2answers
626 views

/var House Keeping [closed]

Does anyone have any general advice or links for doing some house keeping on the /var filesystem on Unix and Linux servers? I have searched the issue quite a bit but can find no real concrete ...
4
votes
2answers
617 views

Find and regex

What am I doing wrong with this find expression? ; touch ook ooks ; find . -name 'ook' -or -name 'ooks' -type f ./ook ./ooks ; find . -name 'ook[s]?' -type f [returns nothing] ; echo $? 0
2
votes
2answers
989 views

Timeout doesn't occur when reading from fifo using `read`

Look at this code: while read -t 3 line; do echo ${line} done < /opt/data.log data.log is a fifo. One process is writing to this, and this code should be reading it to show to the user. But ...
2
votes
3answers
1k views

Possible to get “old” time stamp behaviour?

When downloading a file or e.g. unzipping one, the time stamp is not set to when the file appeared on my harddisk, which is what I want. See this example ~$ wget ...
2
votes
2answers
940 views

SIOCSIFADDR: File exists after upgrading kernel

Since upgrading my (Gentoo) kernel from 2.6.38 to 3.3.8 (via oldconfig), I can't get the network on eth0 up anymore. It reports "SIOCSIFADDR: File exists" with a number of other SIOCSIF* errors that ...
10
votes
2answers
8k views

Create file image container

I would like to create a 100GB file to use as a file-system. The file will be stored on an encrypted volume, so the file/file-system itself does not need to be (further) encrypted. Searching has ...
3
votes
3answers
4k views

Rename multiple directories

I want to find all directories with the last subdirectory named doc, for then rename them to Doc. How can be renamed? I've the first part: find -type d -name 'doc' which returns directories paths ...
0
votes
0answers
3k views

bad magic number

I have a script which I need to execute. The script file is push.sh. Below are the commands that I am using: dragan@dragan-Lenovo-G570:~/liquibase/liquibase$ chmod +x push.sh ...
12
votes
4answers
5k views

Is it possible to merge video files using `cat`?

I wonder if it's possible to merge video files using the cat command? I mean will the resultant file play seamlessly?
2
votes
4answers
435 views

Strange file ownership with Ubuntu

Normally we know when we create one file in Linux, the file's owner and group will set with the creator. For example, I have one user, usera, after I execute usera@srv1:$touch 1.txt I will find the ...
2
votes
1answer
514 views

The meaning of '-' and '+' symbol when background processes are finished?

When I am running background processes like(I have 9 files suffixed by phastcon): for i in *.phastcon; do cut -f 2 $i >$i.value & done After kicking the "Enter", I get the output in terminal ...
1
vote
2answers
333 views

Open-Source Audio Playlist 'Standard'

I know there are quite a few types of audio/music playlists out in the wild. Are there any that are specifically approved as FLOSS? That is, are there are that are particularly encouraged by the ...
2
votes
1answer
153 views

Monitor file system [duplicate]

Possible Duplicate: Is it possible to find out what program or script created a given file? How do I monitor the file system for specific purposes? For example, I read that shutdown (when ...

15 30 50 per page