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

learn more… | top users | synonyms (5)

1
vote
1answer
39 views

How to disable networking from command line without sudo? [duplicate]

I want to disable networking from a bash script while not giving it administrative privileges. It's possible from GUI. Is there a way to do it from CLI?
0
votes
1answer
84 views

How to open the terminal in ubuntu

I am trying to correct my boot up to black screen but don't know how to get to the command prompt. Environment is Ubuntu server 12.04 Here is a line of code that was given to me in an answer. ...
0
votes
2answers
84 views

How would I edit a .conf file without gedit from the terminal?

I guess my question is closer to "How would I go about editing a .conf file from a remote connection via an ssh terminal?" I downloaded an ssh emulator to my iPhone which works fine and dandy, and I ...
2
votes
1answer
175 views

What is the command to search for 64-bit installed Java, JRE or OpenJDK?

I have a question about the following command: apt-cache search java | awk '{print($1)}' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e ...
2
votes
1answer
35 views

Filtering a line with sed

I have a file with columns of the form number_number number columns of numbers I want to extract the columns beginning with particular numbers. I tried the following, but get nothing in output: ...
0
votes
2answers
49 views

Does GUI have shell behind it like terminal?

In Unix, the text we type on terminal window is sent to shell as input. How about GUI and TUI? Does it have shell too that handles mouse clicks and keyboard?
2
votes
3answers
91 views

Search and print the lines from the output which can contain lines with errors

I have a command example, device list which gives me all devices with their status as okay or error in the following format [okay ]: you are listening on : 11 [error ]: not currently ...
2
votes
1answer
60 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
105 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
166 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
71 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
25 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
92 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
67 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
50 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
59 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
99 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
25 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
44 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
87 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
44 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
44 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
47 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
51 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
34 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
89 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
42 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
92 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
1k 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
44 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) ...