All Questions
0
votes
0answers
2 views
kali linux dual booting issue
hey im trying to dual boot kali linux with my windows 8 through a live usb but its not working i successfully write the kali linux iso to the usb with win32diskmanager but when i plug it back in the ...
2
votes
1answer
10 views
What is equivalent to Mac's purge in Linux?
In Mac I use purge to free up some memory. What is equivalent to it in Linux(Ubuntu Server)? apt-get install purge gave me nothing. If you are no familiar with Mac's purge here is it's man page:
...
1
vote
0answers
9 views
Testing the Success of a Congestion Algorithm
Very simple question: How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms.
...
2
votes
1answer
7 views
Error installing arch Linux due to virtual box-guest-modules (despite not installing on virtual machine)
I'm installing Arch Linux, following the instructions at the Beginners' Guide, and got up to running pacstrap -i /mnt base base-devel.
It finishes with the following error:
resolving dependencies...
...
2
votes
2answers
25 views
Get the last minute dated lines from list
If I have an input file with a list of users and their dates they were last signed in, how can I select with a sort | awk function the last minute lines?
The dates are written in a +%H:%M:%S format.
...
0
votes
0answers
15 views
is there a site for kali linux training setup [on hold]
where can i go to get like tutorials for kali like how to do this or that all the standard stuff and what not especially all the important things you should do after installing kali linux and shows ...
3
votes
1answer
22 views
Is getline in awk command is safe to use?
I got weird comments on posting an awk answer on SO which uses the getline function.
Here is the link to that answer.
After posting my answer, a user came up with the below comment,(i don't criticize ...
0
votes
0answers
5 views
Multiple MODULEPATH entries in .modulesbeginenv
I'm switching between paths/code projects. At each place I have different modules. To handle this there is a setup script that modifies what to use. This is handled with the tool 'module'.
Problem is ...
0
votes
0answers
13 views
How to switch from wi-fi to wired connection and vice versa?
I have wired and wireless connection on my laptop, and I want it to be always connected via wi-fi, but sometimes I have to use the cable connection, so after connecting it, the system should switch to ...
0
votes
1answer
17 views
source address chosen in case of multiple IPv4 addresses
I have following four IPv4 addresses configured to eth0 interface:
# ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP qlen 1000
link/ether ...
1
vote
0answers
10 views
How to measure that how much time is the active window opened?
How can we measure that in a given period, what window was on the top? (active one)
I already tried based on "wmctrl", but I can't show the currently active window.. in the second example I tried ...
1
vote
0answers
11 views
Make RPM Satisfy Dependency Requirements of Other Installed Packages
So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
1
vote
1answer
26 views
how to get string between braces along with string without braces using awk
My input is:
ABC_DFG_FRE
s(DFR_GHY_JUY)
BGR_KIU_PLO
s(VFR_KJU_MKJ)
output sholud be:
ABC_DFG_FRE
DFR_GHY_JUY
BGR_KIU_PLO
VFR_KJU_MKJ
0
votes
0answers
6 views
How to invoke Gnome 3 activity screen using command line?
What I'm trying to do
I'm using a Logitech MX Revolution mouse, which has a button below the scroll wheel mapped to search, which I remapped to middle click. For doing so, I had to remap XF86Search ...
0
votes
0answers
36 views
Do all Linux processes write EOF to stdout when they are terminating/have finished terminating?
I'm having trouble with sending shutdown -h 0 to a lxc Debian container (i.e. executing this command in the lxc) with with the python pexpect module (in a python script). In this module the user can ...
0
votes
0answers
13 views
Virtualization solution that offers good hardware integration (for performance) as well as a GUI [on hold]
Let me explain my search a bit : I'm currently looking for a way to virtualize a system initially composed by:
3 x computation machine (for Physical model computation) - Running RHEL 5.5
1 x desktop ...
1
vote
1answer
12 views
Searching for a specific file with testdisk
Is there a way to recover just .webm files from a formatted partition using testdisk or photorec?
I have not enough space to recover all files and then find .webm files afterwards.
0
votes
1answer
17 views
automatically download latest stable tarball from sourceforge from command line?
I'd like to install a program from sourceforge sources. Is there a way to download the latest stable source from SourceForge? an example for ntopng would be very welcome.
1
vote
1answer
19 views
Can Apache Web server Respond to SMTP/IMAP/POP3 requests?
Bear with me, please. I want to know what functions are provided by the Apache 2.4.9 Web server on Fedora 20. I understand that Apache responds to HTTP request only. I believe that SMTP and POP3 ...
0
votes
1answer
10 views
trapping signals inside grouping commands
I recently ran into a strange behavior. Trap doesn't get executed if inside grouping command:
$ cat ./1.sh
#!/usr/bin/env bash
set -eu
trap 'echo exit' EXIT
$ ./1.sh
exit
$ cat ./2.sh
#!/usr/bin/env ...
0
votes
1answer
15 views
install php5-fpm on Debian Squeeze
I tried in many ways to install php5-fpm in om Debian squeeze, but couldn't. I was wondering if I have to upgrade php5.3.3 to higher version because it doesn't seem to work on lower than php5.4
I ...
1
vote
1answer
22 views
Create directory using filenames and move the files to its repective folder
I have a folder with around 150 text files. I would like to create folders in the name of the 150 files. After that I would like the text file to be moved to its respective folder.
Example names of ...
0
votes
0answers
7 views
In u-boot why spi flash is probed twice?
This is a section of the log from u-boot running on Avnet Microzed board -ARM CORTEX A9:
[Thu Jun 26 17:40:53.656 2014]
[Thu Jun 26 17:40:53.656 2014]
[Thu Jun 26 17:40:53.656 2014] U-Boot 2013.07 ...
2
votes
1answer
14 views
How to clear journalctl
I couldn't find in google any safe way to clear systemd journal. Do anyone know any safe and reliable way to do so?
Added:
As a reason, let's say I was experimenting with something and my logs got ...
2
votes
0answers
25 views
how to write script that should not exit the terminal when I press Ctrl+C
I have a script which is running some of (more than 15) applications like:
cd mypath
sleep 1
gnome-terminal -t App1 --tab -e "./App1"
sleep 1
gnome-terminal -t App2 --tab -e "./App2"
..
..
sleep ...
0
votes
0answers
22 views
How do I make strace “decode” AF_NETLINK comminucation like with ioctl?
strace usually "deciphers" ioctls, showing what do they mean, even resolving network interface names and so on.
But the same operation performed using AF_NETLINK stays opaque in strace. How to teach ...
0
votes
0answers
18 views
GCC not runnable on FreeBSD
I'm trying to run GCC on FreeBSD and I get this error:
% gcc
ar: unrecognized option `--plugin'
usage: ar -d [-Tjsvz] archive file ...
ar -m [-Tjsvz] archive file ...
ar -m ...
0
votes
1answer
57 views
How to determine who started a process?
every few minutes I found this process running
root 949062 100 0.0 37204 1488 ? R< 05:14 0:51 /usr/local/cpanel/3rdparty/bin/clamdscan --quiet --no-summary /etc/passwd
It's ...
2
votes
3answers
37 views
Unable to access CentOS setup Network Configuration after attempting Python update
I attempted to update Python on my CentOS 5.6 VM and have encountered some issues afterward. Initially, yum wouldn't work, but I have resolved that.
However, now I am unable to access the Network ...
1
vote
2answers
122 views
How to read the file line by line and to print the previous line where the file contains a single token
For example my file is like:
59 6 18 2014 169 7 14 2 7671912 7849744 201 4
60 6 19 2014 170 5 49 2 7671912 7849744 201 5
61 6 20 2014 171 6 8 2 7671912 7849744 201 6
62 6 23 2014 174 5 3 2 7671912 ...
0
votes
0answers
35 views
Can not call a command
I have a script /etc/init.d/tilestream with:
TILESTREAM="/usr/bin/tilestream"
MAPPATH="/data"
HOST="host"
#HOST="localhost"
#UIPORT="9001"
UIPORT="8888"
#TILEPORT="9000"
TILEPORT="8888"
...
1
vote
0answers
9 views
How can I make unicode symbols and truetype fonts work in xterm/uxterm?
I'd like to use a truetype font in xterm/uxterm (version 278) but I get problems with unicode symbols (é for example displays fine, so I guess it's not a disabled utf8 or a locale issue):
$ echo -e ...
4
votes
2answers
21 views
continuous reading from named pipe (cat or tail -f)
I have configured rsyslog to log certain log events to /dev/xconsole:
*.*;cron.!=info;mail.!=info |/dev/xconsole
/dev/xconsole is a named pipe (fifo). If I want to see what is being logged, I ...
0
votes
0answers
4 views
Lftp & Mirror, comma added in the folder name
I need to upload my local website to my ftp server. I am exploiting the good lftp in the following way. This is my script upload.sh:
#!/bin/bash
HOST="ftp.xxxsite.it"
USER="xxxuser"
PASS="xxxpass"
...
0
votes
0answers
27 views
ls does not show a hidden file (OS X)
I am using lsof to view the list of open files.
One such file that it displays open is :
Google 3864 malaykeshav 46u REG 1,1 470455334 32578671 ...
0
votes
0answers
6 views
How to add TileStream in autoload CentOS
I'm new with CentOS.
I have a installed tilestream. Now want to tilestream start automaticaly after system restart. Do like this tutorial.
/etc/init/tilestream.conf
#!upstart
#description ...
0
votes
0answers
18 views
Subdomain for Nagios
I have a subdomain forwarding at ip xxx.xxx.xxx.xxx (domain.com)
Lets call it nagios.domain.com
Nagios worked at xxx.xxx.xxx.xxx/nagios but now it's not working due to a fact that app.domain.com took ...
0
votes
0answers
17 views
Recovering data of an formatted ext4 partition
An ext4 partition of Hard Disk is formatted to ext2 and then again to ext4 using GParted. Is there a way to recover the original data?
I want to reconver .webm files. I could not do this with ...
0
votes
2answers
29 views
Create a log file with the same name as input file
I'm new to linux shell scripting. I have few input files that I have to parse one by one. So in my "work in progress" WIP folder I have one input file at a time. While one file is under processing I ...
0
votes
1answer
32 views
Bash if conditions of variables within intervals
I have some data spread over time intervals, and I want to take some of those data within the time intervals. For example, I have data at times within 1..9, 11..19, etc., and I want to take data ...
0
votes
0answers
20 views
unable to mount NTFS as readonly
I'm using a PuppyLinux build with the Ubuntu Precise kernel.
NTFS partitions are always mounted as "rw" but i'd like to avoid this if it is not really necessary to prevent filesystem corruption.
When ...
0
votes
0answers
3 views
Udev (197) last_rule not working
I am using udev version 197. I write a rule /etc/udev/rules.d/00-test.rules
It's content is :
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="e0",
ATTRS{bInterfaceSubClass}=="01", ...
0
votes
1answer
14 views
LFS-7.5 chapter 6.9 `make check` fails
I am building and installing glibc-2.19 in chapter 6.9 and I encountered this error while executing TIMEOUTFACTOR=16 make -k check | tee glibc-check-log:
mv -f ...
1
vote
0answers
9 views
printenv:error while loading shared libraries:libodbc.so.1: cannot open shared object file
I am trying to invoke a C-Program which returns the value for a given keyword from a configuration file
While trying to invoke program it's displaying below error:
**printenv: error while loading ...
0
votes
0answers
24 views
Raspberry pi wont recognise my HDD [on hold]
Raspberry pi won't recognize my HDD when using command:
sudo fdisk -l
but it shows up in the dmesg | more command.
Can anyone show me what's the problem?
2
votes
2answers
30 views
Highlight extra white spaces and fixed length column in VIM
I want to highlight extra white spaces and fixed length column (e.g., 80 character in a line) using VIM
I created two vimrc rule in my .vimrc file
highlight ExtraWhitespacea ctermbg=darkred ...
0
votes
0answers
8 views
sytem booting problem
I am installing Android x86 Jelly Bean 4.2 OS on my Intel dual core CPU using a virtual machine.
But it says failed to access perfctr msr(c1 is 0) while booting. Please tell me what problem is there ...
1
vote
1answer
22 views
Kali Linux Broadcom issues with installation
I put in this command and get that response. Can someone please give me a way to fix this?
I'm trying to get wlan0 to appear when I type in ifconfig but it never shows up so I'm trying to get Kali ...
0
votes
0answers
17 views
Parameters files, pfiles director: how to overwrite default settings
This is a quite general question that I am not sure to be able to address correctly.
I must manage some bash or tcsh scripts that invoke other software's tools.
These tools are invoked by name and ...
0
votes
0answers
29 views
Oh no! Something went wrong! Installing kali linux
I am trying to install a virtual machine running Kali (Formerly backtrack) 1.0.7 in 64 bit. My host machine is a 64 bit MacBook pro running 10.7.5. After installing it, I get an error when I try to ...