6
votes
2answers
178 views

How many commands can be queued up with control operators?

I have been reading up on control operators, and I was wondering if there was a limit to how many commands you could line up with control operators, such as ||, && and ;. In addition, is ...
0
votes
0answers
79 views

Strange message at Debian login. What does it mean?

In an attempt to learn more on the command-line I added Debian-7.4-Standard to my Acer-Aspire-One laptop. I am not sure as to what I did exactly, but after I managed to install the non-free firmware ...
2
votes
0answers
1k views

fatal: bad ownership or modes for chroot directory component “/”

I used to be able to connect via ssh with the user I have created but now I keep getting: "Write Failed: Broken Pipe" and I can only connect as root In the ssh auth.log I get the following: ...
2
votes
4answers
161 views

List all commands of a specific Debian package

I want to know the commands that a specific Debian package offers me. For example lets say I installed a package called x.deb. This package surely contains some commands that i can use. How to list ...
0
votes
0answers
245 views

change the panel font color of the numix theme

So I loved numix and I installed it in lubuntu 13.10 and now, when I apply it, it does into show the name of the minimized app. it does not even have option to edit.
4
votes
4answers
255 views

How to show network adapters with their statistics?

Is there any terminal command I can use to display all the network adapters like eth0, wlanoand their data statistics like data transmitted & received?
0
votes
1answer
68 views

How do I see the contents of a drive in Debian command line?

I want to see what is on a drive so I can satisfy myself that it can be disconnected (unmounted?). This is a vm on ESXi with 3 datastores - first is the ESXi local storage, second is a nfs share on a ...
2
votes
2answers
185 views

How can I uninstall packages from the command line on Ubuntu?

I am wondering how one would uninstall software from the command line/terminal. What commands would I use?
2
votes
1answer
56 views

Is there a way to get apt-get to install from different distributions in one single command?

I'm building a package from source in Debian Wheezy, which has a few build-deps that cannot be satisfied by stable. Therefore, I use a few packages from unstable, testing and wheezy-backports. The ...
6
votes
3answers
5k views

How to bring up a wi-fi interface from a command line?

I can't figure out how to properly bring up the wi-fi card on my laptop. When I turn it on and issue $ sudo iwconfig wlan0 txpower auto $ sudo iwlist wlan0 scan wlan0 Interface doesn't support ...
1
vote
1answer
520 views

How to get byobu to start at startup with a command executed, as root?

I want when the computer start, a byobu session is started and a command executed in the first window (windows 0), without requiring any user intervention. It is very important that this doesn't ...
1
vote
2answers
1k views

How to see all commands executed by the current user, in all sessions/screen/byobu terminals?

If there is debian box, some users have access to the root account, some of those users open an ssh connection and start executing commands, some open screen or byobu or other similar tools to execute ...
3
votes
3answers
827 views

Are there any command line utilities that can capture joystick button presses?

Here's my situation: I have a Raspberry Pi with Raspbian installed on it. I also have RetroArch installed and a simple USB gamepad hooked up. Everything works fine, but I wanted to set it up so that ...
5
votes
3answers
1k views

Count number of lines of output from previous program

I'm trying to count the number of lines of output a certain program produces. The problem is, the program takes a long time to run, and I want to display the output to the user. Is there a way to ...
3
votes
4answers
10k views

Installing JDK 7 on debian

So I just rented a dedicated server running Debian, and I know nothing about Linux. Anyway, I want to install the JDK 7, first I connected through SSH and granted myself administrator rights by ...
3
votes
1answer
891 views

Configuring Yaboot and Debian to Boot into a Command Line Login Shell?

I have a Debian Squeeze variant (MintPPC 9) installed on an old Mac Powerbook G4 (PowerPC CPU). I wish to boot it into a multiuser CLI login shell instead of automatically booting into the login ...
0
votes
2answers
81 views

Is there any way of prompt a message when a command in /usr/sbin/ is tried to run as nonroot?

In most Linux distros I've used when you type for example ifconfig as a normal user, you get a prompt message telling you that only root can execute such command. In Debian, it only says command not ...
3
votes
1answer
344 views

How to get bash to suggest a missing package?

While running Ubuntu, while trying to execute a commmand in bash, it used to suggest that the said program was missing but found in another package Y, and that I could try installing it. Now on a ...
2
votes
2answers
236 views

List all users and last time they read mail, pipeing to multiple output

I have one system that I would like to do a little clean up, so I would like to get all user accounts and last date they accessed they mail. It is a Debian system. So far I got to this: cut -d: -f1 ...
1
vote
0answers
74 views

Creating and updating the packages for many Debian systems

I'm using a Lenny (Debian 5) for remotely controlled PC's (around 100 PC's) which will be pinging to my apache server. I'm developing a patch twice in a week to keep updated with the latest versions ...
2
votes
1answer
90 views

How to make a module dynamically loadable on Debian?

I'm applying an API from maxmind. They require additional an module for Apache. Now they recommend the command: apxs -i -a -L/usr/local/lib -I/usr/local/include -lGeoIP -c mod_geoip.c ...
3
votes
1answer
9k views

Command to install linux headers fails

I need to install my linux headers for an Nvidia driver install. But I get an error when doing so: peter@peter-deb:~$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done ...
1
vote
4answers
258 views

No manual page for regex in section 3 - where is it?

I found What do the numbers in a man page mean? which explains the sections for command/library documentation quite nicely, and I was looking at the output for man regex and noticed the See Also ...
8
votes
6answers
9k views

How do I install a PHP CLI with a usable interactive prompt on Debian Wheezy?

When I install php5-cli on Debian Wheezy (currently testing), the interactive prompt is very unusable due to missing readline support (bug 341868). What's the easiest way to install a version linked ...