0
votes
0answers
4 views

How to mount squashfs (embedded-linux) on Ubuntu?

I have tried to mount a filesystem from a firmware (embedded-linux) but it failed on my Ubuntu 12.04 machine. Could you tell me how to mount that file system? (or possible reasons of the failure). ...
0
votes
0answers
2 views

Updating Debian on an IMX6 SOC

I'm thinking of updating my debian version from squeeze to wheezy on my imx6 soc. http://compulab.co.il/products/computer-on-modules/cm-fx6/ Just wondering if it really is as easy as doing this: 1) ...
1
vote
1answer
11 views

find out the memory allocated for a particular process in ubuntu

Could anyone please tell me how to find out the memory allocated for a particular process in ubuntu?
0
votes
1answer
9 views

how to pass a value to a variable that in a other variable

I am new to scripting. I am getting a "bad substitution" error while running this code. I want to print the values in h_1, h_2, h_3with a for loop. #/!/bin/bash h_1=12 h_2=13 h_3=14 for ((i=1; ...
0
votes
1answer
7 views

confuse about User:Group what is the best for /var/www, and Crontab user?

I'm new on linux server. I have 2 question that I'm confuse about this. 1 1. user:group now I chown my /var/www/html like this. my nginx.conf is set server{ user www-data } and in terminal I set ...
1
vote
0answers
8 views

How to save the result of printf to a variable in GDB?

(gdb)printf "Hello %d", 7 Hello 7 (gdb)set $MyVar = printf "Hello %d", 7 // ??? How to save the result of printf "Hello %d", 7 to $MyVar?
0
votes
2answers
15 views

How do I find a files directory?

I am looking for a specific file in OS/X. I can see the file by using: ls -alR | grep "mkmf.*" This shows my that the file exists. How do I find what directory the file is located. Many thanks ...
6
votes
1answer
76 views

What mv * does?

I just gave this command by accident mv * while I was in a directory, needless to say that the content of my dir is gone and I have almost no hope to recover it, luckily it wasn't something ...
0
votes
0answers
21 views

downloading debian securely

I have a couple of questions on getting a genuine, unmolested version of Debian. MITM attacks are very real and many parties would love to hand you their own, backdoored version of software. I know ...
0
votes
0answers
2 views

How can I make imwheel leave most modifier actions as default?

I'm attempting to horizontal scroll with shift+scroll wheel. I've tried using imwheel, using the following in ~/.imwheelrc ".*" Shift_L, Up, Left Shift_L, Down, Right I then run imwheel -b 45. This ...
0
votes
1answer
8 views

Issues With ARIA2C and basic auth- WGET working

I'm having some issues getting aria2c working with basic http auth. Wget works perfectly, but I'd like to use arias multi-threading features !!link!! = https://www.site.com/directory/name Command ...
0
votes
0answers
6 views

Zorin Core 9.1/Windows Vista Dual boot Failure

I attempted to install Zorin 9.1 alongside Windows Vista, and manually configured the partition table, I had about 311 GB at the time with a dev/sda1 and dev/sda2, I reduced dev/sda1 (which was 300 ...
0
votes
0answers
10 views

How to execute a GDB command from a string variable?

Say the debugged process has a string variable as follows: char* cmd_str = "set confirm on"; How to execute the command from cmd_str in GDB? (gdb) $cmd = cmd_str (gdb) ???
0
votes
2answers
15 views

What are the difference between SLED and RHEL WorkStation?

What are the difference between SLED and RHEL WorkStation? What are the advantages over community supported distros?
3
votes
2answers
61 views

How To Synchronize Directories in two different external hard disks?

I have few big folders "cosmo_sim_9", "cosmo_sim_10".... in one of my external hard disk, and a old copy of this on another external hard disk. I want to Synchronize old directories with the new ...
0
votes
1answer
13 views

controlling module loading order using a shell script or systemd(fedora) service?

Using Ubuntu 12.04 with systemd(default). I have a broadcom 4312 wireless card which needs "wl" driver and broadcom NIC which uses "b44" "ssb" modules. now, the problem is, at boot the wireless card ...
2
votes
0answers
17 views

Desktop background appears black when using XFCE

I've installed Xfce4 on my laptop which runs Linux Mint 17 with Cinamon default desktop. Everything works OK and I customized my lightweight Xfce, like change menu location and desktop background that ...
3
votes
3answers
79 views

How to mask passwords in 'watch' command?

I am using watch to monitor the progress of a MySQL replication slave. The way I have it set up now, the password shows up in the header of the watch output. I am not exceedingly worried that someone ...
-2
votes
0answers
11 views

Unable to log in. xsession-errors file error

I screwed up my directory. I know I did it but don't know how to fix it. Apparently I was trying to add a new line to the ~/.profile, after using gedit text editor to open it, I added a few lines. Now ...
-1
votes
0answers
8 views

Centos SMTP server not relaying mail

I have a someone generic install of Centos running a Magento site. I recently noticed that I am not able to send mail using the simple contact form. I am unsure where to check on starting my SMTP ...
0
votes
0answers
6 views

iptables redirect traffic from VPN interface to next interface

Can you help me with this problem please? I need redirect all traffic from tun0 interface (OpenVPN tunnel) to eth1 interface. eth1 is internal network behind this system which works as special ...
5
votes
4answers
146 views

How to Determine the IP Address of who logged into Root?

There are several people with root access to a particular VM I am in charge of. I would like to find out which IP address was used to log into root.
1
vote
0answers
23 views

Set persistent permissions for /var/log/boot.log

Every time I reboot my CentOS 6.5 computer, it writes the boot log to /var/log/boot.log. The permissions on this file are always 644 after a reboot. I want the permissions to be 600. When I change the ...
3
votes
1answer
127 views

How do I fill my password automatically from .bash_profile when running command as sudo?

I know I could just put something like sudo mypassword in my .bash_profile, but I don't want to run every command as root. I want password to autofill under following circumstances: only the ...
0
votes
0answers
19 views

Show signals received by processes [duplicate]

Is there a command or file that stores what signals each process receives? I know if I open one from a terminal and kill -9 PID it'll tell me, but what about something like firefox that is opened ...
1
vote
1answer
29 views

simulate the read only environment without the users realizing it in VirtualBox

I have configured the Virtual Box in my machine. Now, I have the original Virtual Box images available under the folder /home/original_vbox_images. Now, the Virtual Box, as per the configuration, ...
4
votes
1answer
31 views

Self-contained password manager with CLI

I'm looking for a password manager that has the following properties: The manager is entirely self-contained. I take and install a directory on a thumbdrive and execute from that drive. It should ...
4
votes
1answer
23 views

Why does the mountpoint of my root filesystem change?

When I look at the output of lsblk it will usually show: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 298.1G 0 disk ├─sda1 8:1 0 1023M 0 part /boot └─sda2 8:2 0 ...
1
vote
0answers
20 views

Terminal won't go back to prompt after launching app [on hold]

I'm running elementary OS Luna (based on Ubuntu 12.04) on which I've installed Okular as I consider it to be the best PDF reader even if it's meant primarily for KDE. The issue is this, I need to use ...
3
votes
2answers
26 views

Problem with read variable from AWK

I'm trying to get memory info by this command: #!/bin/bash set -x cat /proc/meminfo | grep "MemFree" | tail -n 1 | awk '{ print $2 $4 }' | read numA numB echo $numA I'm getting this + awk '{ print ...
3
votes
1answer
26 views

Error when calling a script from inside another script

I'm writing a couple of scripts to start vlc and periodically update its playlist. The update_pls.sh works well if I execute it from prompt, but when I call it from start_vlc.sh, in each for cycle I ...
6
votes
3answers
275 views

Why does “wc -c” print a value of one more with echo?

When running echo abcd | wc -c it returns 5. But the word abcd is only 4 characters long. Is echo printing some special character after the word abcd? And can I prevent echo from printing that? ...
-1
votes
0answers
14 views

Become root after login via plink from Windows host

I m trying to connect to a linux server from Windows host via plink. I couldnt figure out how to become root after logon. I have to login with ordinary user first as I can't change config of the ...
1
vote
0answers
38 views

Swap appears to not be in use

(I am currently using Ubuntu 14.04 LTS, GNOME environment) tl;dr How can I force more memory swapping (swappiness already at 100)? I have recently been experiencing a lot of system freezes/crashes. ...
0
votes
0answers
14 views

Firefox not responding properly in linux [on hold]

While running through any Ubuntu distribution as soon as I enter my proxy setting in firefox it stops working. If I run it through an open network it works fine, but as soon as I enter proxy settings ...
4
votes
3answers
98 views

Running commands on multiple servers [duplicate]

I want to execute a process on multiple servers. I am using the following wrapper script. The script moves to servers one at a time. I would like to change it so it can execute on multiple servers. ...
0
votes
1answer
18 views

How to view recently submitted bugs in Debian bugtracker

I run Debian testing and occasionally notice hiccups in my system. I'd like to be able to see if someone has reported a related bug, but don't always know what package names to look for. Or, before ...
0
votes
0answers
5 views

XFCE make media keys work globally?

I'm running Gentoo with xfce. I also have a logitech keyboard that has media keys like play and pause. The keys work fin in most programs, like vlc, if the program has the focus. I want these keys ...
1
vote
3answers
140 views

Iteratively edit a single file

I have a single file with a statement that looks like this : myName_tx_1 VARCHAR(255) myName_in_1 VARCHAR(255) myName_tx_2 VARCHAR(255) myName_in_2 VARCHAR(255) myName_tx_3 VARCHAR(255) myName_in_3 ...
-2
votes
0answers
13 views

vim switches split afer entering/leaving a folder

I'm using vim as a browser/navigator (e.g., with :e ./). Now, when I enter/leave a folder (e.g. with -), vim switches to another split. This does not occur always, but often enough to irritate me ...
0
votes
2answers
57 views

File command database and identifying text files

Please let me know if below two statements are correct or not: Folder /usr/share/mime/magic has a database/table that will give me what are the current possible file formats (outputs that I can get ...
2
votes
1answer
8 views

Munin doesn't show new host when using munin-cgi-html

A few months ago, I switched from running Munin in static munin-cron mode to dynamic munin-html-cgi mode, but now when I add a new host to monitor it, it doesn't show up in the generated HTML, even ...
0
votes
2answers
18 views

Access Log Timespan

How can I output first and last time of an access_log so that I can quickly check which time range access_log keep records between? Output may look like: [21/Aug/2014:06:29:41 -0400] :::: ...
0
votes
1answer
21 views

Benefits of hyperthreading for an Oracle database

I'm running Oracle 10 on a blade450 g6. I have hyper-threading turned on but I have heard several people say that Oracle databases don't play well with it. Are there specific performance or ...
0
votes
1answer
31 views

Changing crontab with sed [on hold]

Can you please tell me what is missing in the following sed? I am trying to change cron pattern. crontab -l | sed 's/jj-0.1/jj-0.1.1/g'
2
votes
0answers
51 views

How to write a shell script to run multiple command in different screen sessions?

My goal is to write a zsh script in order to create multiple screen sessions and run separate commands on each of them. I would also like to check at the beginning of my script if there are any ...
5
votes
2answers
22 views

Color coding html color sequeces in vim

It it possible to setup syntax highlighting in vim so that a html color sequence is colored in that color, e.g. #FF0000 would show up as red. I'd also be ok with it underlining the text that color ...
0
votes
4answers
34 views

How to check a particular directory is mounted?

How to check a particular directory is mounted on the Linux machine. For instance there is a folder named test, I want to check if it is mounted or not.
2
votes
1answer
30 views

Read target of symlink and increment target by one

I have a folder structure that looks like this /some/folder/1 /some/folder/2 ... and a symlink current that links to one of the folders. Is it possible and when how to read the target of the link, ...
1
vote
1answer
15 views

Why -t release don't downgrade the package while package/release does?

When upgrading a package, -t or --default-release works wonder: ➜ ~ sudo apt-get install -t unstable libpam-gnome-keyring Reading package lists... Done Building dependency tree Reading state ...

15 30 50 per page