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

learn more… | top users | synonyms (5)

1
vote
2answers
70 views

Selecting multiple files with in bash

I want to use Scriptreplay with multiple log/timing files located in the same Directory. The script I have right now looks like this: select timings in /mnt/home/$USER/shell_logs/*; do clear ...
0
votes
1answer
54 views

How do I learn Command line? [closed]

The last time I typed anything into a computer "command line" was on a Commodore 386. BASIC . I am trying to understand how an install should work. I found software to mount a Joystick. I double ...
1
vote
4answers
131 views

How to make a directory name with quotes in it, such as “What's for dinner?”

I'm having a hard time making this directory in the terminal. I tried mkdir '"What's for dinner?"' but I think that doesn't work because of the apostrophe in What's. So I tried escaping that ...
0
votes
3answers
53 views

How to open a GUI application and 'disconnect' it?

I can run Sublime, for example, in the background by typing sublime-text & The & puts it into the background so that I can continue to run commands in my terminal. Alternatively, I can run ...
0
votes
1answer
26 views

How to change the command line title as in this image? [duplicate]

This might be a n00b question, but recently I started to use Vagrant with Ubuntu 12.04 and I discovered, every line in the command line looks like this: I have a Raspberry Pi, but Debian on it has ...
0
votes
0answers
30 views

Weird name in terminal [duplicate]

When I open terminal I see a weird name in the console. Its saying: wojtek@wojtek-System-Product-Name Does not have to be just wojtek, where wojtek it's my user name.
1
vote
1answer
36 views

Confusion about command-line system install

I'd like to install a command-line only version of Ubuntu 12.04, but I do not have clear which installation media I should use: I understood that the classical "Ubuntu Desktop" does not contain the CL ...
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
85 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
106 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
167 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
72 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
93 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
47 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
101 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
90 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 ...