Questions about using the command-line interface (CLI).

learn more… | top users | synonyms (5)

2
votes
1answer
59 views

Is there a command to scan my network and check the conflict IPs

It's hard job to find the duplicate IP when this happens. You know you have then to search all network IPs to check the duplicate. So is there a command line or a script to do that for me?
1
vote
1answer
98 views

Input/output error while executing cp command

I'm new in Linux I'm trying to follow a steps for install ROS on UDOO and I have the next problem. When I try to download and unpack ubuntu 13.04 i have the next problems: the command line is: ...
8
votes
2answers
336 views

How to display the name of file which I am currently editing with vim on terminal title?

I am editing multiple files located in the same folder, in multiple tabs, on a single terminal. pwd(directory in which I am currently working) is displayed on the top of the heading of the terminal, ...
1
vote
1answer
73 views

How to capture all visited URLs on the command line?

I like to get all URLs I visit in the browser live captured on the command-line for piping them to another program. How would I be able to do this? The format should be just one URL per line, nothing ...
0
votes
2answers
165 views

How to grab a youtube channel

I always use youtube for getting many information I need. What i want is a script or a command line that grabs and installs all videos from a given channel path. I.e. I want to download all videos ...
0
votes
0answers
21 views

link on desktop with command terminal

I'm trying to create two files with command on desktop and easy to run duble click: $ xinput set-int-prop 3 "Device Enabled" 8 0 $ xinput set-int-prop 2 "Device Enabled" 8 0 and next file: $ ...
0
votes
1answer
58 views

Problems Burning Ubuntu onto USB - OS X

I've followed this guide by Ubuntu.com on how to create a bootable USB of Ubuntu. Ive even followed this video on YouTube. I have follwed it to the letter and all I get from the USB afterwards is the ...
0
votes
1answer
37 views

Closing sudo password [duplicate]

I cant download not a thing on Ubuntu download center.I dont know my root password. Its always wants sudo password.And I cant write it(ı dont even know it though) How can ı close or inactive it?
3
votes
1answer
69 views

How to find backlight is managed by which card?

Is there any command in ubuntu/linux which can help me in finding out that which card(intel or ATI card) is managing my backlight? When I looked at sys/class/backlight then I am able to find three ...
0
votes
0answers
24 views

Ubuntu boots to terminal on start up help?

I can log in but want to have a desktop. I installed it in Windows 7 I have tried uninstalling and reinstalling and it still did not work.
0
votes
1answer
29 views

What stats are listed at the bottom of a default byobu session?

I recently logged in to my media center via ssh because it was having issues, and noticed at stat at the bottom of my terminal in red with exclamation marks next to it, but cannot seem to guess what ...
0
votes
1answer
39 views

Eclipse missing menus when starting from CLI [duplicate]

I'm a new Ubuntu user. Over the past weeks I installed Ubuntu 13.10 and the latest Eclipse Kepler IDE, plus the workbench plugin from Libre Ada for the Gnat system. I'm using Ubuntu either locally on ...
0
votes
0answers
24 views

I'm very new to linux and i'm trying to install a game. I've downloaded Other-Life .zip. Extracted it. need help from there

I downloaded the game zip. I extracted it into my Programs folder but I don't know how to install it. On the website it says... Installing and using the client under linux: Download ...
1
vote
3answers
35 views

Terminating the Terminal process for a particular outcome

for example consider the following situation:: I need to print some numbers randomly one after the other with a time interval of 5 seconds between each, and I need to terminate the terminal process ...
-1
votes
1answer
91 views

How to update already installed software via command line? [duplicate]

I'm looking for a command line to update my already installed software.I want to update all of them.
0
votes
2answers
66 views

List all non system users [duplicate]

I want to know list of all users founded in my system. I need non-system users. I know that the file /etc/passwd contains all users root:x:0:0:root:/root:/bin/bash ...
0
votes
2answers
46 views

How to remove redirection unexpected syntax errors

I am loading using Ubuntu for beagleboard-xm sd card partition so after last stage of partition I have entered a command like this ./omap3-mkcard.sh /dev/sdX I have got ti-lab@KILBY:~/angstrom-wrk$ ...
2
votes
1answer
58 views

What is the command to display the last TEN lines in file: /var/log/syslog

I want to know what is the command to display the last TEN lines in file: /var/log/syslog
0
votes
1answer
37 views

How to check the current value of IFS?

I am currently running a shell script and I suspect the problem may be because I accidentally changed the default value of IFS which is a space to something else. I want to check the current value ...
1
vote
1answer
33 views

search for files and delete from the whole system file

search for files and delete from the whole system file If you create a file or just open a file with some programs like gedit, it will make auto save files named like this file~. For example if i do ...
0
votes
1answer
46 views

Failed to install software via terminal [closed]

I'd like to install a program called my weather indicator, i installed via terminal. But it's failed to install: FirstStrike@mylaptop:~$ sudo add-apt-repository ppa:atareao/atareao [sudo] password ...
1
vote
1answer
93 views

linux command to prevent dos attack by using netstat and iptables

I want to DROP more than 200 requests per ip to prevent ddos attack. this is command that i used to detect requests count per ip : netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print ...
1
vote
2answers
44 views

What is the name of the “username@hostname:~$” line?

Simple question! what is the name of the ubuntu@ubuntu:~$ or the username@hostname:~$ line? How should I refer to it?
0
votes
0answers
24 views

Gem5: Can't load object file tests/test-progs/hello/bin/X86/linux/hello @ cycle 644368

Using Gem5 Simulator for my project Used- scons build/X86/gem5.opt Then trying execute precompiled Hello World program using- build/X86/gem5.prof configs/example/se.py -c ...
0
votes
2answers
48 views

unable to type commands in terminal

I was install mpi and I have given the path for it in the .bashrc and I closed my terminal and after some time again I opened terminal it's showing following error in the very first line followed by ...
2
votes
1answer
41 views

How do you create a script to batch add repositories and then batch install packages?

I've used Synaptic Package Manager to save markings for all installed packages to a file. Here's a snippet: libmono-system-drawing-design4.0-cil install spotify-client install mono-2.0-service ...
2
votes
3answers
86 views

Create a .desktop file that opens and execute a command in a terminal

I would like to know how to write the Exec command of a .desktop file to open a new terminal and execute a shell script in it. The shell script is working and accessible by all users. When launching ...
0
votes
2answers
41 views

How to change directory to the old directory? [duplicate]

I am currently in /downloads directory. Before I was in /var/www directory. How can I return back to the old directory in terminal? I do not want to execute cd /var/www I need a simple command to ...
1
vote
1answer
29 views

iTunesToRhythm code not working?

Hello I am trying to install run this iTunesToRhythm. The supplied command is: iTunesToRhythm.py -w -a iTunes\ Music\ Library.xml ~/.local/share/rhythmbox/rhythmdb.xml The error I am getting after ...
2
votes
1answer
42 views

How to do bonding in ubuntu 12.04 in vmware workstation?

I followed process for bonding which is given on this site: https://help.ubuntu.com/community/UbuntuBonding but output is $ cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 ...
1
vote
1answer
23 views

Why do I get an error saying I must be privileged to use `crontab -u`?

I am trying to list all the cron jobs for all the users in my Ubuntu system using the following command: for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done Why am I getting the ...
0
votes
1answer
42 views

Creating multiuser chatroom in XMPP client

I am using the Profanity XMPP client to create a multiuser chatroom in the terminal. My understanding of the XMPP protocol is that when you join a chatroom with a new name like /join NewChatRoom ...
3
votes
1answer
106 views

How to find all the available commands in a package before installing it? [duplicate]

This question clearly explains about how to find all the commands which are provided by a particular installed package. My question is, how to find(or lists) all the available commands which are ...
0
votes
2answers
45 views

Help me fix my improper removal of files please

Upon opening terminal I get a notification: bash: /home/kylekroeck/Public/ccp4-6.4.0/bin/ccp4.setup-sh: No such file or directory My /.bashrc file: # ~/.bashrc: executed by bash(1) for non-login ...
0
votes
1answer
49 views

Ubuntu Terminal “Shortcut-Key”

I just changed the "Short-Keys" in Ubuntu. I set Ctrl+c for Copy. My fault ... so now I can't use Ctrl+c for killing the process in the terminal. But it is necessary for me to do this. How can I ...
-1
votes
1answer
33 views

Ctrl-l, Ctrl-a, Ctrl-e do not work any more [closed]

I accidentally deleted some files (do not remember what files), then Ctrl-l, Ctrl-a, Ctrl-e do not work any more on my mac. I tried to reinstall bash using brew install bash. But the problem is still ...
-4
votes
1answer
88 views

How to login in terminal as root anytime when I open terminal?

I don't want to type sudo and my password everytime.I think it is really annoying.Is there any command or option which will consider you root user when you open terminal,everytime When you open ...
1
vote
1answer
41 views

How can I remove an entry from a list in a shells script?

I have the following script: #!/bin/bash # Bash Menu Script Example PS3='Please enter your choice: ' options=("Option 1" "Option 2" "Option 3" "Quit") select opt in "${options[@]}" do case $opt ...
2
votes
1answer
88 views

Accidentally deleted /etc/fstab file

I accidentally deleted my /etc/fstab file by running sudo rm /etc/fstab.Without knowing this, i shutdowned my Ubuntu OS. Now i can't be able to boot into my OS. My screen look like this.In some ...
10
votes
2answers
999 views

What does the question mark in terminal command mean?

This question (How can I remove gnome from a kubuntu 12.04 install?) have the commands with question markes: sudo apt-get remove --purge ubuntu-desktop sudo apt-get remove --purge unity? sudo ...
14
votes
4answers
2k views

Why is moving directories to /dev/null dangerous?

When trying to move a test_dir directory to /dev/null, I get the message mv: cannot overwrite non-directory ‘/dev/null’ with directory ‘test_dir/’ Then why do people say "Don't run the command sudo ...
0
votes
0answers
36 views

I've wiped my hard drive, can't install ubuntu 12.04 (graphical error?)

I'm trying to install ubuntu 12.04 onto my laptop. I have it on a USB, from the ubuntu site. I deleted the previous partition table using GParted on a separate usb. It is completely unallocated. ...
1
vote
1answer
41 views

Trying to install rdpdesk-3.0

I believe I have installed all the prerequisites that the manual listed...For Building under Linux: Download RDPDesk source g++ autotools-dev libxt-dev (>=1.0.6-0) libgtk2.0 (>= 2.18.0) ...
2
votes
1answer
82 views

Can ssh onto server using PuTTY, but not ssh from terminal

I have a very simple Ubuntu server with a couple of git repos on it, nothing special. At home I used a Windows PC, and use the PuTTY program to interact with the server. At work however I have a Mac, ...
2
votes
1answer
40 views

How do I pass command line parameters to executables run from Xwindows?

Running Ubuntu 12.04.3 LTS In terminal mode executable would be run as: ../xpdp1 -i ../inp/maxwello.inp Is there a way I can click on the xpdp1 executable in Xwindows and somehow pass the -i ...
6
votes
2answers
184 views

Is it possible to set on-peak and off-peak hours in vnstat for monitoring bandwidth?

I have recently downloaded vnstat to monitor my Internet bandwidth usage. I have a limited data plan but my ISP provides unmetered bandwidth during off-peak hours (2:00 AM to 8:00 AM). So, I would ...
3
votes
1answer
94 views

Why don't the commands 'sudo bash' or 'sudo -s' ask for a password? [duplicate]

Even when I am logged in as a non-admin user, when I enter sudo bash or sudo -s, the system does not ask for any password. In the command history, I have not entered any password for sudo earlier ...
0
votes
1answer
18 views

cant work out how to do “chkconfig systat on” & “service systat start” on ubuntu 12.04

Can anyone tell me how to do this in Ubutu from command line? We have no GUI. chkconfig sysstat on service sysstat start I tried installing chkconfig, and get the error: "Package chkconfig is not ...
2
votes
1answer
70 views

Switching between console and GUI in ubuntu

When in GUI mode, is there a CLI commands that kills the GUI and drops me into the console? When in CLI mode, is there a CLI command that drops me into the GUI? I found startx, but this drop me into ...
1
vote
0answers
18 views

root login password when I never set it? [duplicate]

Sorry for too many duplicate questions about this. But I don't think any of the answers to these kind of question has the solution for me. As some users might have asked, how to set root login ...