5
votes
1answer
6k views

What is the difference in CPU utilization between 'ps aux' and 'ps -ef'?

I use Ubuntu 12.04.1 Linux. I see a difference between %CPU and C output format of ps command for a process. It is not clearly noted in the ps man page. Man pages says: CODE HEADER ...
2
votes
2answers
2k views

Why does bash add single quotes to unquoted failed pathname expansions in a command before executing it?

I was exploring the tracing of commands using set -x (set +x to unset) in bash: Print a trace of simple commands, for commands, case commands, select commands, and arithmetic for commands and ...
0
votes
3answers
534 views

On petalinux, lsmod does not work

I have seen that when I do lsmod in petalinux , I get "not tainted" message. Is there any alternative for lsmod then ?
1
vote
0answers
267 views

Why is the service unavailable the second time?

How can this happen? /volume1/homes/me $ tdtool --list /volume1/homes/me $ tdtool -e 44 Learning device: 44 - Could not connect to the Telldus Service /volume1/homes/me $ tdtool --list Error fetching ...
1
vote
2answers
577 views

How can i keep the mtime of files and directories in bash when I use rsync or cp? For use in Backup/Incremental Backup

I have a new NAS box and after looking through numerous backup solutions I've found doing it manually through PuTTy to work the best. After logging in to the box through PuTTy as root, I first need ...
3
votes
3answers
10k views

local yum repository with grouplist not working

I am trying to create a local yum repository with group list for RHEL 6. Packages from DVD are dumped at the following location /var/www/html/rhelisos/ To create the repo, I used the following ...
3
votes
1answer
317 views

Change OS Name from email send by exim

OS: FREEBSD 9 OS ROLE: SERVER MAIL SERVER: EXIM When I send mail from my freebsd server to gmail. and when i click on show original. I shows my os name too along with mta name. as in first line of ...
2
votes
1answer
397 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
-1
votes
1answer
44 views

How do I establish what IP address has been established for my server

For school I have to set up an Ubuntu server, I didn't have a clue as to how to go about it, so I followed a guide (video). The problem is that during the guide they demonstrated accessing it using an ...
1
vote
1answer
492 views

Imagemagick segmentation-fault

I statically compiled Imagemagick. Converting images works well so far. But when I run identify -list delegate it shows my delegates, but then exits with "Aborted (core dumped)". Here is the strace ...
3
votes
6answers
2k views

When does a shell get executed during the linux startup process

I do not understand when does a shell, lets say bash, get executed, which program runs bash initially first.
0
votes
1answer
117 views

Remove directory without `rm -r`

How to remove non-empty directory without using rm -r or find -delete ? I think it is related to unlink, perl or inode
2
votes
2answers
1k views

How to tell package manager that dependencies are already installed?

I'm running Arch Linux, and I have texlive 2013 installed from CTAN, not from repositories. Now when I try to install lilypond via pacman, it wants texlive-bin-2013.30973-7 and ...
1
vote
4answers
7k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
1
vote
0answers
1k views

Running uuidd automatically on startup on Ubuntu 13.10 server?

I am running the 13.10 Ubuntu server edition on which I have installed SAP's Netweaver Gateway 2.0 trial. This requires the UUID daemon to be running. Whenever I start up the system and run uuidd as ...
1
vote
3answers
1k views

How to loop a read function in Bash Script?

I needed to remove spaces and capital letters to various strings of text like: "My Name is Mauro" -> "my_name_is_mauro" So I have created this bash script:lowercase_underscore.sh (call it the ...
0
votes
1answer
75 views

What font is this? [closed]

I'm on Linux Mint 16. Recently I saw a font I liked. I guess this was on Mac OS. What's it called? How do I install it on Mint?
4
votes
3answers
2k views

libssl1.0.0 won't let me install anything

I've been having the same issue with my computer for a while now and it's really been bugging me. It all started when I installed Skype about a month ago. Also, I apologize, I'm not actually using ...
3
votes
0answers
161 views

Suspend Linux (Mint) with external hard drive plugged in

I simply try to suspend the session while my external hard drive is plugged in (doesn't matter whether I have mounted or dismounted it, and this error does not apply to other filesystems, like flash ...
1
vote
0answers
1k views

How to install Liquidsoap & Airtime on CentOS 6.5?

That's the question, i already try some tutorials but i don't get any one to works What repositorys are needed? Is there any repo than i can add than have it to install it directly? Is there any way ...
2
votes
1answer
921 views

How can I connect to a Mac OSX Maverick Shared Screen from Fedora 18?

I used to use TigerVNC to connect to a Mac MINI running Mountain Lion from my laptop running Fedora Core 18. After upgrading the Mac to Maverick, I now get the error "No Matching Security Types" ...
2
votes
3answers
231 views

creation of user add

I'm having more then 59 servers I need to create a script for user add. purpose: if I'm creating a user in one server it will be reflected on all 59 servers. How can I accomplish this?
0
votes
3answers
4k views

Alsa Pulse Audio cannot open audio device pulse (No such file or directory) pulse: Input/output error

I'm trying to stream my Gnome Desktop I installed on my OpenVZ VPS Server, and I'm not trying to run this from SSH, but the terminal inside the GNOME desktop, I know it probably doesn't have a sound ...
5
votes
1answer
10k views

Run 64 bit app on 32 bit system (Ubuntu)

All the questions I've seen refer to running a 32 bit app in a 64 bit system. I'm running Ubuntu 12.04 32 bit (actually elementary OS Luna, which is based on it) and I'm trying to run a 64 bit app ...
1
vote
1answer
66 views

Installing a package

I am running crunchbang linux and I would like to know if there is a way to install the Android Developent Tools as a package on my computer. I already have it extracted to a folder in my ~/downloads ...
3
votes
1answer
3k views

Not wake up after suspension

My OS is Ubuntu 12.04 on my laptop Lenovo T400. I had been using it quite well until this week. After suspending Ubuntu, whenever I lift the laptop lid (if the lid is closed), or press "Fn" key (if ...
7
votes
2answers
6k views

Counting number of times each IP address appears in log file

I have a file in the format as follows: $ cat file.txt 27.33.65.2 27.33.65.2 58.161.137.7 121.50.198.5 184.173.187.1 184.173.187.1 184.173.187.1 What's the best way to parse the file file.txt into ...
2
votes
1answer
260 views

Forward a host's network traffic to another host with the exception of SSH traffic

I am trying to redirect all the network traffic received in a old host to a different host. For that I created two new rules with iptables on the old host: echo 1 > /proc/sys/net/ipv4/ip_forward ...
1
vote
2answers
253 views

Lock console session

I've set up a no-x/console only system running a minimal install of debian jessie/testing. For this system I need a screen locker to lock the entire session when I'm away. vlock would be appropriate ...
3
votes
0answers
183 views

Flipping Control/Command in GNOME breaks Alt key in JVM

I want to switch Control and Command modifier keys in GNOME / Debian Jessie, because I use a Macintosh laptop. I have managed to get these changed via the TweakTool -> Typing panel, like this: Ctrl ...
4
votes
3answers
7k views

Run script as a different user from root [closed]

From root user, how can I give permissions to another user to execute the file /root/script.sh ? The idea is to run the script like sudo -u user1 /root/script.sh
1
vote
1answer
983 views

Run Java in a chrooted jail

I'm on a CentOS 6.5 machine with Plesk Panel which I used to create a chrooted environment for a user who can access it via ssh. I'm not a big expert but somehow I managed to let him use some basic ...
1
vote
1answer
92 views

log into a machine through another, with (de)compression at the ends only [duplicate]

I have looked all around but couldn't find the answer to a very simply question: I would like to log into machine C from machine A, passing through machine B. However, B is slow, so I would also like ...
7
votes
2answers
574 views

Sudo changes PATH, yet executes the same binary

There are two Python interpreters installed: [user@localhost ~]$ /usr/bin/python -V && /usr/local/bin/python -V Python 2.4.3 Python 2.7.6 Sudo changes PATH when executed: [user@localhost ...
2
votes
1answer
1k views

Configuring a tftp server for multiple clients

I am using a tftp server to hold the boot image for a dev board and the dev board is hard-coded to look at a particular IP address for the server. This all works fine. What I want to do now is be ...
10
votes
1answer
8k views

Why does 'nohup command >& /dev/null' seem to “work” in some shells?

I edited an answer on Ask Ubuntu that was suggesting the following nohup gedit >& /dev/null & When they actually meant nohup gedit &> /dev/null & The latter correctly ...
3
votes
1answer
73 views

understanding the “chunk size” in context of RAID

Am I correct that chunk size in context of RAID is essentially the same thing as cluster in file-system context? In other words, chunk size is the smallest unit of data which can be written to a ...
4
votes
1answer
267 views

Dwm - pertag patch - save state between restarts

I'm using Pertag patch As a Gentoo user I apply dwm patches using Portage. Basically there's a directory where user can put a patch for sourcecode and Portage will apply it during the compilation ...
0
votes
1answer
368 views

Red Hat Enterprise Linux installation process through virt-manager

I'm going through the installation process using virt-manager which I will install a virtual Red Hat machines with on my physical host. I have the image iso on the host and mounted it on /media/cdrom. ...
4
votes
3answers
6k views

How do I authenticate to a wireless provider's “open” network without using a browser?

This sort of a setup seems to be common in shopping malls and airports. In Western Canada Shaw provides such a service and calls it "Shaw Open". I'm pretty sure other locales have similar services ...
3
votes
2answers
7k views

Allow NonRoot User to Mount a Particular NTFS External Hard Drive

I have a 4TB external hard drive connected to an Linux server. The fstab permissions on this drive are set so that only one particular non-root user has access to it: ...
4
votes
3answers
568 views

Why does export -p exclude $_ variable?

As far I know, there are 3 ways to see exported variables: $ export -p | wc -l 50 $ env | wc -l 51 $ printenv | wc -l 51 As you can see, export -p misses single variable. It's a $_ one: $ diff ...
3
votes
1answer
157 views

XFCE - find out which command is executed by a given menu item

I would like to know which command is executed when I click on a given XFCE menu item. For instance, in my menu, Applications contains an item Users and Groups, but clicking on it does nothing. I ...
1
vote
1answer
697 views

Get music from subsonic to run in headless MPD

I share a subsonic server with several colleagues, together we have around 22k songs up there. Now I want to set up a MPD on something like a raspberry pi to listen to the music from subsonic. I want ...
4
votes
3answers
905 views

What does 'l' in file metadata mean

When we type ls -l, we get meta data regarding all the objects in the current directory. The meta data has 10 dashes and the 1st dash indicates if the object is a directory or file or a link d ...
6
votes
3answers
1k views

Remote ls on multiple machines

I want to connect to multiple machines specified in a file and perform 'ls' there. That's what I've come up with: for machine in $(cat machines) do echo "Connecting to " $machine ssh $machine ...
1
vote
2answers
851 views

80-net-setup-link no longer functions when I downgraded systemd

I've downgraded systemd to version 208. Although I still have /etc/udev/rules.d/80-net-setup-link.rules on my disk, but the names of network interfaces were not named correctly: e.g wlp3s0 is not ...
0
votes
0answers
66 views

replacement script multiple targets

I have this input file Name=code_229633_138;isoforms=1 Name=code_229633_138 Name=code_229633_138;Target=R77_09738T0 Name=code_230519_1;isoforms=1 ...
7
votes
1answer
5k views

Create a wifi hotspot on Gnome 3 / Arch Linux

I'm trying to create a wifi hotspot in gnome shell and Arch Linux. I open "System Settings" > "Network", then I select "wifi" on the LH side and click "Use as Hotspot..." on the bottom. The system ...
4
votes
2answers
3k views

How to encyrpt a message using someone's SSL smime.p7s file

I need to send a private key file to someone (a trusted sysadmin) securely. I suggested a couple options, but he replied as follows: Hi, I don't have neither LastPass nor GnuPGP but I'm using ssl ...

15 30 50 per page