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

learn more… | top users | synonyms (5)

0
votes
0answers
8 views

Ignoring unknown parameter

Straight to the point , when i do a simple command such like sudo apt-get update this 2 lines always show up : Ignoring unknown parameter "password level" Ignoring unknown parameter "update ...
0
votes
0answers
17 views

How can I make my prompt show the current directory and not the whole path?

I often code from the command line, working in directory: Desktop/NewProject/Project-2015/Project-1/ My prompt shows it as: prakash@pcp:~/Desktop/NewProject/Project-2015/Project-1/ $ But I want ...
1
vote
2answers
16 views

How to specify a filename while extracting audio using youtube-dl?

I can create an mp3 of a YouTube video with the following command: youtube-dl --extract-audio --audio-format mp3 http://www.youtube.com/watch?v=rtOvBOTyX00 It creates an mp3 with the following ...
0
votes
0answers
8 views

using Yad with shell script and user input

im trying to create a simple shell script with interface to download a url inserted to text field yad --title="Wget Downloader" --form --entry --text="Url" --button="gtk-ok:0" ...
1
vote
0answers
6 views

Install quickBooks in Ubuntu server (I have the fedora instructions)

Hi I try to install qb in a server ubuntu 14 64 bits, all the system is for fedora. the steps I make: dowload the package qbdbm_25.0.i386.rpm installer, (don't exist 64bits) add 32 bits ...
0
votes
0answers
13 views

Terminal process locked, wont install new software

I am working with Ubuntu 14.04 LTS, decided to try a terminal update for "Install Ubuntu Restricted Extras for media codecs" The process started, and ran and ran. Seems to be hung up. When I try other ...
0
votes
0answers
8 views

Postal 2 Free Multiplayer doesn't start under Xubuntu 15.04

i tried to start the free Multiplayer game of Postal 2 under xubuntu 15.04. But it doens't work the following error appears in the terminal: Postal 2 Copyright 2003 Running With Scissors, Inc. ...
3
votes
1answer
24 views

How to start multi-threading multiple processes with one command

I often multi-thread processes from Terminal by running something like: sudo etherape & But I have noticed that I am unable to start multi-threading two processes at the same time by doing ...
4
votes
1answer
21 views

Use the bang-commands (e.g. '!!') of bash in scripts and aliases?

Is it possible to use the so-called bang-commands (! + command/symbol, like e.g. !! or !$:p) in bash scripts and in bash aliases? I wanted to add the line alias getit='sudo apt-get install !!' to ...
0
votes
0answers
19 views

How do I reset my video driver settings using ONLY the command line?

I recently installed Ubuntu14.04 in virtual box. After installing, all of the software, I installed the nvidia-current driver, as a particular graphics program (pymol) was not working. Following ...
0
votes
0answers
17 views

I have tried to install hla on my computer, but it doesn't seem to work

I have tried following the steps in the installation manual on the website http://www.plantation-productions.com/Webster/HighLevelAsm/LInuxDownload.html, but when I try to run the command "HLA ...
2
votes
2answers
20 views

how to pipe output of traced bash debugging?

I want to pipe the output of traced script as follows: bash -x /path/to/a/script | more or bash -o xtrace /path/to/a/script | more and bash -x /path/to/script > a_file or bash -o ...
-2
votes
3answers
27 views

i want to create single jpg to multiple .. and every jpg have different name..name ill provide [on hold]

i want to create single picture to multiple. and every picture have different name.name ill provide example. image.name image.1 image.2 image.3 image.a image.b image.c please help me.I am stuck on ...
1
vote
2answers
12 views

how to install libGL files

I was just wondering what just wondering what command I would use in front or behind a file name to install (I am very new to Linux and nothing seems to work for me, not even steam).
0
votes
3answers
12 views

Examining EOL characters in a CSV

I have a csv file that I'm intending to import into a mysql table. I would therefore like to make sure I'm reporting it's LINES TERMINATED BY properly. However I cannot figure out what characters ...
0
votes
0answers
20 views

Error executing “./configure” command : bash: ./configure: No such file or directory

I have downloaded CiscoPacketTracer6.2.tar.gz file. Now I want to install it. The command I have use is tar xvfz CiscoPacketTracer62Student.tar.gz Then I navigate to that directory using cd ...
0
votes
2answers
42 views

removing “_” from a very large csv file

I have a large csv file (120GB) that looks like this: "JE",865438083645,2012-12-05T23:07:36.000Z,24,"NQ",142,"658_55525",475035504705 ...
1
vote
0answers
32 views

Script with xdotool not working properly on a fresh reboot

I want to run streamus (chrome app) to stream youtube from terminal and asked a question relating to that in this same SE. I also got a wonderful answer and a script for my problem. But that script ...
0
votes
0answers
9 views

How do I remove syslog after centralizing to a remote server?

How do I remove syslog from a client after I have centralized it to a sever? Here are my syslog configurations of the client server $ModLoad imtcp $InputTCPServerRun 514 @@:192.168.0.101 I want to ...
0
votes
1answer
26 views

Where can I find a compact list of basic commands for the root shell prompt?

My computer is only stable in Recovery Mode. I want to save the files on the HDD before I format the disk and do a fresh OS install. Are the commands for the root shell prompt the same as the ones ...
1
vote
0answers
32 views

CPU number differs in 'About this computer' and /cpu/cpuinfo

Question: I'd like to ask what may cause that there are two different informations about the number of processors. See the reports below. System dialog: If open the System settings/Details tab ...
0
votes
2answers
27 views

How to start Pantheon from the command line

Long story as to why I've chosen to go this route, but I've installed Ubuntu Trusty without a desktop, and then installed pantheon, pantheon-shell, pantheon-greeter and elementary-desktop packages. ...
2
votes
2answers
89 views

Rename file which uses the first 2 letters of every word

I'm currently using a simple script for renaming: for f in *.mp4; do echo mv $f $RANDOM$RANDOM$RANDOM.mp4; mv $f $RANDOM$RANDOM$RANDOM.mp4; done But instead of using the $random, I would ...
4
votes
1answer
27 views

How can I transfer a binary file using minicom and a serial connection? [on hold]

How can I transfer a binary file using a serial cable between my Ubuntu pc and a box where I've installed minicom? The minicom box doesn't have a connection.
4
votes
1answer
131 views

Delete lines in several files in a folder once (avoid infinite loop)

I have several files in one folder, and I want to delete the first lines in all of them. If I do this: sed -i.bak '1,2000d' *.dat the first 2000 lines are deleted, but then the filename is still of ...
1
vote
1answer
31 views

How to prompt the execution of a custom script after a task has been completed

I have created a script called checkrest and I have placed it with executable rights in the /bin directory. The script checks if a restart is required by an application, and if so, it checks which ...
0
votes
1answer
29 views

How to open a picture from Ubuntu server, via [SSH on] my laptop Macbook? [on hold]

I am currently using Macbook iterm2 for ssh connection to my ubuntu server. I am image processing via terminal and want to open the result. What whould be easist way of doing this?
0
votes
1answer
68 views

strange code appears in terminal

So I was trying to install openfoam on ubuntu 14.04 and there are two problems I need your help with. One, a strange code appears everytime I run the terminal(I've attached a picture of it). Two, I ...
2
votes
1answer
36 views

Is there a way to run a script every time I insert a usb modem?

I would like a shell script to execute each time I insert a USB modem. How would I do this?
1
vote
3answers
55 views

move all files except with extension [duplicate]

I have moved a tar.bz2 from my Downloads to /usr/src, which is where I like to put all things that I install on my system. Now I extracted the file and I want to move its contents to /usr/share/icons. ...
5
votes
4answers
491 views

Output only MAC address on Ubuntu

In Ubuntu, with command ifconfig -a, I obtain all the information about my ethernet/wifi interfaces. But I need to obtain as output only the MAC address, like: ab:cd:ef:12:34:56 57:89:12:34:ac:23 ...
-1
votes
0answers
29 views

how can create a wine shortcut? [duplicate]

i've recently installed wine and i often use the wine cmd so i would like to create a shortcut on the desktop to run directly cmd. I've tried to search on google but without any result. thanks.
0
votes
0answers
26 views

MY laptop is too slow!

I'm using Ubuntu 14.4 OS. It was performing good at the beginning but after a week of using, it becomes very slow and annoying actually. My laptop features: Memory : 3.0 GB Processor : Intel® Core™2 ...
0
votes
0answers
6 views

Tmux Signaling Events

I'm not sure if this is possible but here's what I have running on tmux. (Using tmuxinator or tmux same idea). This is my mux config: name: dummy root: ~/projects/dummy windows: - service: ...
1
vote
1answer
77 views

What is the command to open a specific directory in a new tab in nautilus?

I want to make a .desktop file that opens a folder in my default file manager in a new tab. To test if it opened the right location, I tried nautilus ~/*folder*. That opens my file manager, but it ...
0
votes
3answers
192 views

How to launch the Calculator through Terminal

I use the default Ubuntu calculator rather a lot, but to use it I have to use the Unity search feature to find it and then open it. I have tried to open it in Terminal with: calculator And: ...
0
votes
1answer
38 views

how to create my own command on shell Scripting [closed]

can you tell me how to create a new commnand on shell Scripting? thank you
0
votes
1answer
18 views

discover if other users are executing the watch command on the machine in which MyOwnCommand is beeing executed

I want to know if there are other users that are running watch on the same machine in which command X is being executed. How can I do that?
0
votes
0answers
32 views

Unable to update or install packages from terminal

I am unable to update my Ubuntu 14.04. I tried these two methods: 1) Using the update manager : It starts downloading but after downloading some files/packages it says failed to download updates ... ...
1
vote
1answer
36 views

Run command on startup only after a certain time in day

I want to put into startup applications a command that will check from the system time on whether it is more than i.e. 17:00 hours and then depending on the result the command would execute another ...
0
votes
1answer
38 views

How to download torrents using utorrent on your browser (firefox)

There is method for downloading torrents without opening actual program using browser. I just go to open firefox type in https://127.0.0.1:8080/gui/ After it I go to terminal and paste a command ...
0
votes
1answer
27 views

Western Digital Hard Drive not showing the True Storage size after changing something with the Partioning in Ubuntu

I was trying to get back space from the hard drive since 32GB of it was free. This hard drive was used for my Macintosh Time-machine Backups.I have data stored on the non-viewable partition of this ...
2
votes
1answer
32 views

seq command with && operator wont work

I'm trying to make a for loop in bash where I make a beep of a particular frequency than is incremented until it reaches 500, then goes back down to 1. I'm using the "seq" command for this but I ran ...
46
votes
5answers
3k views

What does “apt-get install !!” do and how to make it work?

I have seen someone typing apt-get install !! He did that a few times and every time, a different program was installed. It seems like it automatically figured out what is needed next. However, ...
1
vote
1answer
24 views

Set default font-size in terminal

I just got myself a new 27 inch monitor and it is great. I can view things at a distance. However, when I launch the terminal, I cannot read things at a distance. And I want to increase the default ...
-1
votes
0answers
13 views

Ubuntu command line system installation [duplicate]

Anybody know how to install ubuntu 14.04 command line system from usb?
0
votes
1answer
31 views

Enter prints “^M” in the terminal

When I press Enter or Backspace in the terminal, I get this: Would you like to create one now? (yes/no): no^M^?^?^?^?^?^?^?^M^?^? What's up with this?
0
votes
0answers
24 views

System command QML runs only in Desktop Kit

Following another thread Run system commands from QML App, I wrote a program that calls command arecord. I only replaced some lines in Main.qml: ... onClicked: { var lista1 = ...
-4
votes
0answers
30 views

chkrootkit result, am surely hacked huh? [closed]

/usr/lib/pymodules/python2.7/.path /usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/.noinit /usr/lib/jvm/.java-7-oracle.jinfo /usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/.lastModified ...
2
votes
1answer
110 views

Shell script with select command to show a list of files

I've written the attached bstls.sh shell script which uses the command select to choose the subfolder or file in a folder passed as argument on which execute the ls command. #! /bin/bash #Personal ...