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

learn more… | top users | synonyms (5)

0
votes
0answers
17 views

fallocate failed: Operation not supported

When running, fallocate -l 10G /path/to/file I'm returned the following error: fallocate: file: fallocate failed: Operation not supported Creating the file using dd (if=/dev/zero or ...
0
votes
1answer
9 views

File recovery data copy

This is my first time using Ubuntu, and I'm using it to recover data from the drives of my dead READYNAS. The commands used to access/mount the RAID were obtained from here: ...
0
votes
1answer
29 views

sudo chown -R $OWNER:$OWNER command error

When I try to create new domain on Ubuntu 12, I used these commands: sudo mkdir -p /var/www/domain.com/public_html sudo chown -R $OWNER:$OWNER /var/www/domain.com/public_html but my mistake when I ...
0
votes
1answer
22 views

Ubuntu showing error messages when started

I am relatively new to Ubuntu. Once i wanted to download a text to speech software through terminal , and while doing it , i left it in the middle. And from then when ever I start my computer i am ...
0
votes
2answers
24 views

How do I get a graphical installer for Ubuntu GNOME?

I'm trying to install Ubuntu GNOME over my vanilla Ubuntu installation. I've downloaded the amd64 version of Ubuntu GNOME through torrent (since I have a 64-bit processor), and the md5sum checks out. ...
0
votes
1answer
20 views

Long listing a Directory

2 Questions: 1) How should I long list a directory. Kindly guide me if there's are multiple options to do this .? 2) How do I sort based on the file size?
1
vote
2answers
33 views

Difference between apt-get remove -y and apt-get purge -y?

apt-get remove <name of program> apt-get purge <name of program> and apt-get purge -y <name of program> Research indicates the running either "remove" or "purge" performs the ...
2
votes
4answers
202 views

How to execute a task in background?

Is it possible to run a task or script started from terminal at the background?
0
votes
0answers
22 views

How to launch app from terminal, close terminal, keep app running? [duplicate]

what is the easiest way to launch an app from a terminal without terminal window remaining open? In other words - I want to launch an app from a terminal and close the terminal window so it doesn't ...
3
votes
0answers
25 views

Managing remote server connections via Nautilus

Is there any way to manage remote server credentials while using Nautilus remote server connect feature? The Recent Servers works for couple of connections, but not for 20+. Also it seems that if I ...
1
vote
1answer
37 views

Terminal server on 12.04 and 14.04

Does Ubuntu 12.04 and 14.04 versions come with Terminal server? How can I install Terminal server in this versions? I tried to look at Ubuntu software center and did not find anything there. ...
1
vote
1answer
26 views

gzip: stdin: not in gzip format when gunzip is used with pipe

I uncompress file in the following way: gunzip file.gz But when I do it with pipe, it returns the error. echo file.gz | gunzip gzip: stdin: not in gzip format What's the issue here? ...
3
votes
1answer
38 views

Difference between commands for removing empty directories

What is the difference between rm --dir <directory> and rmdir <directory> with respect to removing empty directories? Also, if they are similar, is there any advantage of having an rmdir ...
2
votes
1answer
26 views

Longlisting Files & Directories

I would need to know if there's a way to differentiate files & directories . Note : Without using longlisting
0
votes
0answers
15 views

How to make modprobe ideapad-lenovo permanent / run on startup (Ubuntu)? [duplicate]

I have an Ubuntu 14.10 installed on my Lenovo g40. Ever since I installed it I am having a problem with my wi-fi connection because it is disabled and I cant turn it on. The only solution I found so ...
0
votes
0answers
7 views

Reliance Auto Login Help

i want to run this script https://github.com/pteek/reliance-auto-login-script but i get this error in lubuntu " Traceback (most recent call last): File "./reliance-login.py", line 27, in ...
0
votes
1answer
15 views

getting different version of java in ubuntu

I am getting different version of java when i run java -version and javac -version. for java-version iam getting java -version java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3) ...
0
votes
3answers
34 views

Problem with environment variables

I tried creating a shortcut to easily change into some of my Windows partitions. After mounting them, some works fine, some not. Here's what happens. My ~/.bash_aliases contains: export ...
-1
votes
2answers
20 views

.rubyconfig doesn't open from terminal

i installed ruby on ubuntu14.01LTS.how to open .rubyconfig file from terminal using gedit? it asked denied permission..how to open .rubyconfig file using terminal?
2
votes
1answer
20 views

How to run a complex command by xfce mail-watcher

I just installed the xfce4-mailwatch-plugin I would like to use the option "Run on click" to either switch to Thunderbird, or to open it if it is not currently running. The command I use for this is ...
1
vote
0answers
21 views

Save on webpage with command line like in google chrome

I need to grab one webpage (single page, not all site) with all his assets(images/css) in command line. I really like how google chrome do it - if I save webpage I get single html file and single ...
1
vote
2answers
28 views

How to have terminal repeat with different IP?

Would it be possible to get terminal to repeat nslookup starting from 192.168.1.2 through 192.168.1.20 to look at all the computers in the network without having to go into the server. Is this ...
2
votes
2answers
353 views

Using '$' in shell

I am new to ubuntu, and tried to use OpenFOAM Installation worked OK; after that I copy-pasted the very first example, worked also OK. but I cannot understand how. There are funny commands like: ...
0
votes
0answers
14 views

error while installing GRACE on ubuntu 11.04

./configure command was completed, and after giving the make command following error was there in terminal: make[1]: Entering directory `/home/administrator/Desktop/grace-5.1.22/cephes' gcc -O2 -m486 ...
0
votes
1answer
18 views

Run application nohup-like

Currently I have command pycharm to start Pycharm IDE. I use it like sudo pycharm and this launches Pycharm, but I have to keep terminal from where I've launched it open, because if I close it Pycharm ...
1
vote
1answer
22 views

gnome--terminal -e option not executing?

I want to open my terminal with some commnads executed in it on bootup. So I wrote a script with following line in it: gnome-terminal --tab -t "MyPC" -e "sh -c 'firefox &;exec bash'" --tab -t ...
4
votes
2answers
131 views

Batch/Multi rename only files with a specific number range

I have a situation where I have the following: file01.ext . . . file99.ext file100.ext . . . And I want to (using rename ) insert the '0' for the files 01-99 (so that they become 000-099) but not ...
0
votes
0answers
23 views

How can I set up a 802.11ac card with ath10k driver in my lab environment?

I'm working on a project about setting up a lab environment of 802.11ac and measure the performance of it. I have to say, I'm a rookie about wireless on linux,but I really want to accomplish this ...
1
vote
5answers
80 views

How to run command every 15min? [duplicate]

I want to run a command every 15min. Here is the command I want to run: sudo bash -c "sleep 1h; pm-suspend"
0
votes
0answers
19 views

Open app by command and bring to top [duplicate]

Is there a command that I can use to start an app on top? I created a keyboard shortcut super+e to open nautilus, But it opens in the background and not in the front. thank you :)
1
vote
1answer
34 views

How can I open pdf files by default with foxit?

I'm new to ubuntu as I come from Win7. In win7 I was using Foxit Reader to open the pdf documents. Searching online I found this method to install Foxit. cd Downloads/ tar -xvf ...
1
vote
1answer
21 views

rsync throwing mkdir: cannot create directory ‘/data/dir_1/dir_2/dir_3/’: No such file or directory

I mounted a disk at /data. This is empty at the moment. I need rsync to perform mkdir -p than mkdir as the file I needs to be at at level 4 i.e. /data/dir_1/dir_2/dir_3/filename when dir_1, dir_2 ...
1
vote
2answers
15 views

Handling wildcards in linux shell script

I have a directory named "directoryname". If i give the command: cd direc* it will go straight into that folder and that's fine. What I want to do is, get the name of the directory from this. As i am ...
1
vote
0answers
23 views

Ctrl-Alt-t opens root terminal instead of normal terminal

I installed Terminator and made it my default terminal with this solution, but now Ctrl-Alt-t opens Terminator as a root terminal. How do I get it to open Terminator as a normal terminal?
0
votes
0answers
24 views

How can I download a file without using wget? [duplicate]

I have to download an object file in /tmp and rename it in world.o https://github.com/systems-cs-pub-ro/uso/raw/master/tema1/help/hello.o How can I do this thing without using wget?
0
votes
2answers
24 views

cli window on ubuntu under oracle vm

My Ubuntu boots up to GUI interface. How do I get to the cli or at least a text window? I can't do anything useful with a gui.
0
votes
1answer
23 views

screen command “No space left on device”

I got "Cannot make directory '/var/run/screen/S-test': No space left on device" error when creating screen session. As the message saying, there is no space left. My question is: is there a parameter ...
0
votes
0answers
14 views

strange behavior when removing software

This problem started about three weeks ago, after I installed Quagga, a routing software. I configured quagga according to this website's instructions: ...
0
votes
1answer
25 views

How to effectively find all PDF's on disk and copy to one folder?

I have a removable disk via usb connected to my laptop with Ubuntu. I want to find all PDF's on that additional disk and copy them all to a folder in my home directory. Is there a quick and easy way ...
1
vote
1answer
27 views

Silence GUI Program's Terminal Output

I am running a zsh function to open a .tex file in vim, while opening its related .pdf file in evince. I am currently using xdotool to open a new tab in the current gnome-terminal window, and then ...
1
vote
1answer
34 views

Slap Editor Installation problem, (sudo: npm: command not found) [duplicate]

I'm installing Slap Editor on Ubuntu 14.04 and when I type sudo npm install -g slap its giving me the error sudo: npm: command not found . the node version on my system is 0.10.33 and the npm version ...
0
votes
3answers
48 views

Is it possible to show the output on terminal while writing the output of a command to a file? [duplicate]

I am running a command say nmap www.somesite.com>file.txt so that i can get the output to file.txt. But if I do so, I am not able to see the output of that command on terminal. Is it possible to ...
0
votes
1answer
22 views

How to delete backup files using a bash script? [duplicate]

I want to automatically delete the backup files(those ending with ~) from everywhere on my computer. I tried to write a simple script usinglocate command, but I'm stuck at deleting file having space ...
1
vote
2answers
52 views

How to display disk usage by file type?

Basically I'm wondering where all my disk space is being eaten up on my drive and I would like to be able to analyze by file type For example, I'd like to use the Terminal to see how much space is ...
0
votes
1answer
20 views

Playing videos from terminal

I am trying to play videos from terminal using this command vlc my_video.avi The error that I am giving when i try to run this command-- VLC media player 2.1.4 Rincewind (revision ...
0
votes
0answers
14 views

how to increse the size of partitions on ubuntu via command line [duplicate]

We have a FOG server running on Ubuntu Linux but unfortunately we realized that we need to increase the size of every partition(root, home, boot ...) on this system due to need to more space for FOG ...
-3
votes
0answers
24 views

how to remove element from array on ubonto script [closed]

List Updated: 1. copy /user/sam/Desktop/HWs/. ../backups/ 3s 2. remove /user/sam/Desktop/temp/. 10s 3. check /user/sam/Desktop/contents 1m 4. copy /user/sam/Desktop/hw1.sh ...
2
votes
0answers
24 views

Generate thumbnails for text?

I need to generate thumbnails for some text files. Obviously the system somehow has the ability to do exactly this (see the screen shot). Is there any way I can access these images and just copy them ...
0
votes
2answers
43 views

how to using dropbox-cli?

There is a command-line-interface (cli) to run dropbox from the console. Is there any tutorial or guide on how to use it?
1
vote
0answers
21 views

How to change preview image for file from command line? [duplicate]

If I open the properties window for some random file. If I click on the file icon in that window I can select a new preview image (thumbnail) for the file. This preview will be displayed in the file ...