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

learn more… | top users | synonyms (6)

0
votes
0answers
32 views

How to fix Nautilus-Extension\Nautilus?

I've installed Nautilus-Extension. But It seems some problem with Nautilus and Nautilus-Extension. So,I've troubleshooted as per this but still I can't. I'm getting like this ! I have opened ...
2
votes
2answers
29 views

How to run yasm in ubuntu?

I recently have installed YASM but I cannot find any yasm in PC. Also, it was written that it would through terminal. However, I have no idea what it was about.
2
votes
1answer
42 views

Automatic Account lock/logoff script

I have 2 scripts created. The first one called "lock_logoff" and it does just that. It locks the account in the script and then logs them off. The second script unlocks the account. I got tire of ...
0
votes
1answer
34 views

Why does the Software Updater allow me to update the package list without authentication unlike in Terminal? [duplicate]

I have found recently that when running the Software Updater GUI it automatically, without asking for authentication, updates the local package list, but when running the equivalent in Terminal ...
0
votes
0answers
38 views

How to add samtools in the PATH permanently [duplicate]

I installed samtools executables within my bin directory under home directory. Installation works perfectly well. I am using Ubuntu 14.04 version and it has .profile and .bashrc in my home directory ...
0
votes
1answer
32 views

Replace text in file with variable using sed [duplicate]

I need to replace a string in a file by another string which is stored in a variable. Now I know that sed -i 's|sourceString|destinationString|g' myTextFile.txt replaces a string but what if ...
1
vote
0answers
22 views

How can I disable all command line access? [duplicate]

I make computers for a not-for-profit organisation. I don't want anyone to plug a keyboard / mouse / screen into it and be able to do anything on it. So there is a locked screen at launch, but you ...
-3
votes
0answers
25 views

How to check wether remote client is running firefox using ssh?

I want to login to client who is using firefox, i am using arp-scan to fing ip address and ssh to connect to respective client but i want to connect to client who is using firefox so how will i know ...
1
vote
1answer
34 views

Uninstall terminal [closed]

I ask here, because googling about is quite chaotic (you fall to 'how to uninstall via terminal). I wonder how to uninstall terminal ? Cause I want to add some hardness in playing with a delivered ...
-2
votes
2answers
108 views

how to search a word or text with in command prompt

For example i have printed a mysql big table from database on cmd which has 500 fields in it .How do i search for a particular word with in command prompt. I know grep is used to search strings or ...
0
votes
1answer
93 views

bin/bash: ruby command not found. Ruby not in sudo path

I can't seem to run any code on ruby with any text editor. This error is returned when code is run /bin/bash: ruby: command not found [Finished in 0.0s with exit code 127] [shell_cmd: ruby ...
0
votes
1answer
11 views

Process pasued but connection not terminated to files in locasystem

I am not sure whether this is the right place or not but as this is a question which needed a solution I am posting here. I have used kill -SIGSTOP 1234 command to pasue a process named as 1234 and ...
0
votes
0answers
26 views

Why bracketed paste mode is enabled sporadically in my terminal screen?

I use Ubuntu 14.04 and I have a weird issue with my terminal screen which is bugging me a lot. Could someone help me with it or explain me if I'm doing something wrong or non linux-way? I have some ...
3
votes
3answers
131 views

Write the output of multiple sequential commands to a text file

I try to Check the latest Firefox and want to get all hashes in one TXT file. What I try to do is: sha1sum firefox.tar.gz > sha.txt and I try also: md5sum firefox.tar.gz > sha.txt | sha1sum ...
2
votes
2answers
201 views

Is typescript for `script` command the same as TypeScript maintained by Microsoft? How to print using `ldr`?

Is typescript for script command the same as TypeScript maintained by Microsoft? How to print using ldr ? What exactly is typescript in relation to Linux/Ubuntu ? Searching Google, I find that ...
0
votes
0answers
14 views

Add current folder as one default path to look for executable [duplicate]

After building a project via make, there is normally an output/executable file in the current folder, for example a.out To execute that file we normally need to type: ./a.out or with some program ...
5
votes
1answer
137 views

What is UUID in virtual box?

When I create a Virtual Machine in command line using the following command: VBoxManage createvm -name <VM's Name> -register It returns: Virtual machine <VM's Name> is created and ...
3
votes
1answer
54 views

I want the date and time to be added in a text file whenever I open it

I was using windows 7,8.1, and 10 previously and there was an option in the Notepad that if I type .LOG at the beginning of the file (which is done only once), every time I open the notepad the date ...
0
votes
1answer
31 views

How do I access encrypted folders from the terminal?

I encrypted the whole hard disk (via encfs) on installation of 14.04, and I want to install an HP driver only installable from the terminal. But "cd" does not recognize any encrypted file directories, ...
-2
votes
2answers
65 views

Terminal command cd (change directory) directly

The directory Pictures is located at /home/mj/Pictures/ The Terminal window displays (meaning /home/mj/): ~$ In the "Ubuntu Documentation: Using The Terminal" it says: … use, "cd /var/www" to ...
2
votes
1answer
61 views

Code to send the contents of a text file into a terminal window [closed]

I'm looking for some code to be able to send the contents of a text file to the terminal window at the press of a button or through by typing an alias into the terminal. If I explain what I'm trying ...
1
vote
2answers
44 views

Terminal command cd (change directory)

In Terminal (Xubuntu) I enter: pwd Terminal reply: /home/mj In the "Ubuntu Documentation: Using The Terminal" it says: To navigate to the previous directory (or back), use "cd -" I enter: ...
2
votes
0answers
22 views

how to launch apps hidden from the launcher or panel

How do I launch an app in such a way that it does not show up in / is hidden from / skips the panel or unity launcher or xfce panel or kde panel etc? Apps like "stormcloud " weather app are a good ...
1
vote
2answers
29 views

Possible to add a command to be run when a currently running command completes?

When running time consuming processes in terminal, I like to add something like say "done" as an additional command so that I can get alerted when the current process ends. For example: $ ...
1
vote
1answer
27 views

Colored boxes on around the folder name in terminal

I gave local user to read and write permission to a particular folder using command chmod 777 /data/folder/ Now I am seeing a colored box hovering the folder's name which I really bugging ...
1
vote
1answer
24 views

Compressing ended up compressing home directory

So i was trying to compress lolok folder using 7z command : 7z a Documents/lolok/ But i forgot to create a name for compressed folder, which should be like this : 7z a cobas.7z Documents/lolok/ ...
1
vote
1answer
32 views

How can I use ZSH when I use sudo commands but not as default root shell?

So, I would like to keep bash as the default shell for root. But, I would prefer to use zsh, my shell, when I run sudo commands, and that sudo executes also the .zshrc in /root. For testing ...
2
votes
2answers
131 views

How can I copy the path to the currently opened file in gedit to the clipboard?

I am trying to write a custom command in Gedit which copies the currently open and active document's path(both upto parent dir & upto file) to clipboard, as I couldn't find any gedit-plugins or ...
0
votes
1answer
30 views

Joining MP3's via commandline with background track

I'm already taking advatage of two command line utilities. I'm using ffmpeg to convert m4a to mp3, and then I'm combining a few mp3's into one large one using mp3wrap. The resulting file is something ...
1
vote
1answer
73 views

Are there any options of bash with which it is invoked?

I find that the default shell that I use when I start Terminal (with Ctrl+Alt+T) is /bin/bash. And running the built-in command type on bash as: type -p bash returns the result as: /bin/bash ...
0
votes
1answer
49 views

Couldn't Excute command line PostGIS pgsql2shp

I am using postgres 9.3 with postgis 2.1 on Ubuntu 14. When I tried to dump pgsql table using pgsql2shp, I get the following error. Error: pg_wrapper: pgsql2shp was not found in ...
1
vote
3answers
61 views

How to Zip and Unzip a directory and its files in Linux [duplicate]

I am a newbie in Linux.Whats is the complete process to zip and unzip a directory and its files.Please mention if any installation has to be done.
1
vote
1answer
29 views

Edit find command to exclude a file

So I made this script Convert videos recursively with handbrake. And it uses this command as an option find . -name '*.mkv' -exec rm -r {} \; But i made this new script, for removing audio streams ...
0
votes
1answer
25 views

error installing vlc through terminal [duplicate]

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: ...
0
votes
1answer
35 views

grunt-cli dont work

I have wasted 2 days on this already and i do not get it... so i have latest stable node.js, it works, npm works, nvc works. but when i try to install grunt i install grunt-cli, i instal grunt in ...
0
votes
1answer
22 views

Change framerate of mp4 video without reencoding using mp4box and piping

I'd basically like to do what this guy asked for. Using the lines of Mitch I get a perfect result. I'd now love to use the output of mp4box directly as input of mp4box again (to make one command out ...
0
votes
1answer
41 views

Ubuntu command-line window. A newbie question

I'm watching a tutorial on youtube about Zookeeper installation, confuguration and usage. And what I do not understand is how the instructor opens up three different terminal windows with titles like ...
1
vote
1answer
26 views

any terminal closes when opening after upgrade to ubuntu 14.04

After upgrading Ubuntu 12.04 to 14.04 (both LTS) all my terminals close immediately after opening. However, the root terminal opens normally and stays open - this is the only one I can use. I spent a ...
1
vote
2answers
43 views

Clamav not accepting parameters

I'm trying to run clamAV, and I was getting warnings about maxfile size reached.So now, I am trying to increase the limits on the max filesize, and max scan size, but I get errors, about not being ...
0
votes
1answer
63 views

Did I corrupt my OS?

I typed this command in the terminal while trying to check if I correctly installed LAMP (Linux, Apache, MySQL, PHP) equivalent packages in Ubuntu: sudo mv /home testing.html /var/www/html I am new ...
1
vote
2answers
51 views

Executing a bash script in the terminal just by its name [duplicate]

I am trying to follow this example in the Bash Guide over here where one can run a script just by its name instead of bash scriptname. First I used these three commands to create a bin directory, add ...
0
votes
2answers
35 views

set shortcut for executable program from terminal

I installed a program and I want to create a shortcut. e.g. I want to type eclipse into the terminal to launch the program. I already copied the eclipse folder in /home/user/Programs and created ...
0
votes
0answers
18 views

Unable to resolve installation issues from command line [duplicate]

I am using ubuntu 14.04 with a wired broadband connection. I am unable to install packages from software center as well as from command line, showing Unable to correct problems, you have held broken ...
0
votes
0answers
26 views

OSX like terminal behaviour? [duplicate]

I got a little something that really bugs me using Linux/ Ubuntu. As a OSX user I'm really used to the ALT + LeftClick to move cursor in the terminal. Now I've been researching about this but didn't ...
0
votes
0answers
36 views

Command line tool that will detect PDF crop marks

I have searched the site for a way to crop PDFs based on the sporadic location of the crop marks. I did see the question titled Command line tool to crop PDF files that suggested PDFcrop and a couple ...
1
vote
3answers
659 views

Which command should I use to open an MP3 file?

Which command should I use to open an MP3 file? For example, "abcd.mp3" hamza@ubuntu:/media/hamza/Elements/mmc$ cd abcd.mp3 bash: cd: abcd.mp3: Not a directory
2
votes
1answer
49 views

Is it possible to ripping a CD via another computer?

I have multiple computer on my local network. Some of it use Windows OS. On one of Windows system, it had one CD drive. I'm also have Ubuntu system on another computer. This's the scheme: ...
3
votes
2answers
190 views

Script to set IP address connected to an interface to a shell variable

I want to write a script to set the IP address of the device connected to an interface like "eth0" to a variable. I can get the IP address by this command: arp -i eth0 -a The output of above ...
0
votes
0answers
29 views

Definition of basic ubuntu terms [duplicate]

I am new to linux and i wanted to know the difference between the definition on the words : terminal , bash , script , command line , shell Any help would be appreciated .
4
votes
1answer
35 views

Darkening the terminal's window-shadow (or changing its color)

I recently darkened my terminal's background (easier on the eyes!), but now, when I put multiple terminals on top of one another, they kind of meld together. Previously, the shadow was what made it ...