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

learn more… | top users | synonyms (5)

0
votes
0answers
15 views

How to Turn Off Choosing Feature in Linux Terminal

I'm having this problem with my terminal, I don't know why but the all the text in the terminal is chosen automatically. Please help me. Thank you.
0
votes
0answers
13 views

Trigger Terminal and terminal commands on Startup

Not sure if the title is confusing....sorry if it is. I'm still kinda new to the whole Ubuntu / Linux thing. I currently run a Mineraft server from my Ubuntu 14.04.1 PC here at home. As everyone ...
0
votes
0answers
15 views

Batch processing folders with Find and Montage

So I've been working at this for a while and I think I'm ready to give up. I trying to process sub-folders with Montage to create contact sheets. This is basically as close as I've gotten: find ...
5
votes
1answer
177 views

How to `touch` files recursivelly?

I need to change the timestamp of about 5000 files. Typing touch file1.txt, touch file2.txt will take me forever. Is there a way to do something in the lines of touch -R *?
-1
votes
0answers
28 views

error:unknown command 'terminal'. [on hold]

It let's me sign in and then a box pops up. To update info, I can't cause my mouse wont move, I am looking at the answers for other things, and I'm totally lost, can someone simplfy the answer. Please ...
0
votes
0answers
15 views

How to start CAESES free?

I have downloaded the program CAESES free on my Ubuntu 14.04.1 LTS and unpacked it into the folder /home/xyz/Programy/CAESES-FFW_3.1.2_Linux.x86_64. The program developer proposes to use the bash for ...
1
vote
0answers
20 views

Can simple scripts use GUI file manager to select file?

I have an extremely simple script that currently executes a command on a file located in the same folder: command ./file_in_folder option output. It would be better if script asks user which file they ...
0
votes
3answers
46 views

Shut down terminal sudo command

I would like to know which is the proper sudo terminal command to shutdown the computer gradually, saving everything, closing everything in the right order, and basically doing everything the computer ...
0
votes
1answer
26 views

Help with an IF and SED to replace \n

I have a filename variable that sometimes gets set as: attachment; JobRunStatisticsReport_20150122.zip In the File Manager window, it looks like this: I need help coming up with an IF statement ...
1
vote
1answer
31 views

How to use unzip in linux terminal SSH?

I just zip a file in my remote server using the command "unzip" in the SSH terminal. It works fine but leaves a new folder called "__MACOSX". Is there any way to make that the command delete this ...
0
votes
1answer
30 views

Ubuntu: How to execute a script without using terminal? [duplicate]

This is my dilemma. I have a program that can only be launched through terminal. So, right now I am always having to first open the terminal and then do the following ./theGUIScript. It runs but I ...
0
votes
1answer
10 views

How can I change the mode of Sqlite Database?

I want to add some record in my database it is read_only by default, how I can change its mode to add the record. I want some linux command, I was trying gfix but it failed to execute.
3
votes
2answers
516 views

Command-line presentation tool for Linux?

In a few days I am going to give a presentation about Linux. So I want to show Linux in style. So I want any tool for presentation. I heard about Mdp. Now I want to make my own. How can I create ...
4
votes
2answers
231 views

Move multiple files to a dir if their names contain the same string present in dir name

I have multiple files in one folder: ABA.xy BEB.xy ACA.xy The same files with different extension in another folder ABA.rr BEB.rr ACA.rr Then I have single folder for each file name ABA BEB ACA ...
1
vote
1answer
18 views

How can I save output of past commands in an xterm?

I have ran several commands in an xterm. I can scroll up and see the output but now I want to save that output. But I did not use screen or script or output-redirection for these past commands. Is it ...
1
vote
2answers
429 views

Difference between `sudo su` and `sudo fish` [duplicate]

I am running fish (Friendly Interactive Shell) as my standard shell in Ubuntu 14.04, rather than bash. I noticed the following behaviour and don't know, if any of these are the preferred one to gain ...
1
vote
1answer
22 views

Redirection with pipe

I have the following command to be executed. ls > myFile.txt | wc The output of the command shown is 0 0 0 Why isn't the above command giving the line/word/character count of ls output? Am ...
0
votes
1answer
27 views

Terminal exits after pressing <Enter> or <Tab>

When I open terminal and press Enter or Tab multiple times, terminal exits i.e. when i type ls and press Enter or cd and press Tab all the terminal window get close. How can I solve this problem?
0
votes
1answer
20 views

accessing ubuntu teminal sessions [duplicate]

Is it possible to access a terminal session after closing terminal? I ran into some interesting information about my installation of Ubuntu using the terminal, and I would like to retrieve that ...
0
votes
2answers
38 views

How do I use the set command to find directories in my path?

I am taking a linux class this semester and one of the questions on a lab is: Use the set command to find out all directories in your path. Normally, I would just use $PATH to find out the ...
0
votes
0answers
23 views

Getting No Such File in Directory running wget script

I'm very new to Ubuntu and scripting. I am a Windows sysadmin. I need to schedule a .csv download once a day for my job. First I tried to use the windows version of WGET and had was able to create ...
-1
votes
1answer
25 views

Downloading file from website

Hello 1st time user of Linux and I am using Ubuntu 14.04 and having issues downloading files while using the terminal. wget "http address" is no issue but when i attempt to output to a specified ...
0
votes
1answer
22 views

Keyboard layout related issue - fixed in GUI but receive error in terminal

I run on Ubuntu 14.04. I have an issue related to the keyboard layout in GUI mode. I managed to fix it in the GUI by using: setxkbmap -layout us [1] and adding it to the ~/.bashrc. That works fine. ...
0
votes
0answers
28 views

Bash script environment can't get exported variable from user

I have a user daniel, from which I'd like to retrieve an exported value as root. So I did some research and came up with this command: $ su - daniel -c '. ~/export_script; echo $EXPORT_PATH' > ...
3
votes
2answers
504 views

I need regex(7)'s manual, but man command shows regex(3)'s manual

I understand there are many manuals (which are displayed by man command) in Ubuntu that has same names and are distinguished by a number. For example there is regex(3) and regex(7). If I type man ...
-1
votes
0answers
10 views

How do i make a live usb for ophcrack from terminal?

I am having trouble creating a live usb for ophcrack using unetbootin, how would i create a live usb for this software from the terminal. Any suggestions? Thanks for your all your help.
-2
votes
0answers
11 views

running and printing reversible circuit in terminal [on hold]

What is the command used for printing the reversible circuit from reversible library to open terminal? i have installed the reversible kit, after installation i am unable to view the reversible ...
0
votes
2answers
27 views

sed : difference between “ sed 's/\-.*// ” & “ sed '/\-/s/\-.*//gw ”

I am learning few simple sed commands and I have gone through few practices. Command #1 sed 's/\-.*//gw witout' tgs.txt Command #2 sed '/\-/s/\-.*//gw with' tgs.txt Output #1 $ cat with 2. ...
0
votes
0answers
28 views

Creating Bootable USB from Mac

I am Macbook user and I am on current Yosemite OS X. I followed the directions provided on this http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx ... however I get errors. ...
0
votes
1answer
57 views

Code works in Terminal, but not when in a script

I have: This is my zip file.zip in path $dec If I manually copy this code over to the terminal window, I get the correct output. But, if I take the same exact code and put it into a .sh file and ...
0
votes
2answers
25 views

Listing certain contents from a site in the terminal

This was one of the 12 problems in my practical exam today . For the first part of the task, we were supposed to list the contents of the first page from http://slashdot.org . I used lynx for this ...
1
vote
1answer
37 views

Ubuntu 14.04 pyenv command not found

Pardon if already duplicate but I tried combing through the forums but it seems I can't get anywhere. I am trying to install pyenv in Ubuntu 14.04 by doing these steps. INSTALL PYENV DEPENDENCIES ...
0
votes
1answer
38 views

Timer to shutdown

I just installed Ubuntu 14.04 on my Intel NUC DN2820. And almost every night as I lie down to sleep I listen to music, and my NUC shuts down (On Windows). On Windows it has the easiest command ever in ...
1
vote
1answer
26 views

Differences between md5pass and md5sum

This question may be insane ,but due to definition of hash algorithms, hash algorithms are some kind of functions that accept variable length input and make it encrypted and the output always has a ...
-2
votes
2answers
33 views

run python program from command line in python [on hold]

I have installed GNome in through VMware for learning Python i wanna know how to create , edit and run any python program from command line. I also wanna also know about how to do the same for c or ...
0
votes
1answer
29 views

Problems with Software Center and Terminal

Here's the problem. When I open Software Center it's black and closes after few seconds, can't do anything. And the problem with the terminal: sandro@sandro-E6224:~$ sudo apt-get upgrade [sudo] ...
0
votes
0answers
48 views

IF statement not traversed correctly in script responsible for unpacking zip files

I've been working on an IF statement for a couple days now and have been unsuccessful at getting it to run correctly. All of the embedded code seems to work when I manually paste it in Terminal, but ...
-1
votes
0answers
20 views

I can only send emails to gmail accounts with exim4

When i write this in the terminal, a email should be sent to the email-address i send it to: echo "Content of email" | mail -s "Subject" user@example.com If i send it to my own gmail account, it ...
0
votes
0answers
15 views

Need some cheat sheet or tutorial site for Linux [closed]

I am beginner in Linux. I need Cheat sheet of commands like Linux Commands cheat sheet So I can learn easily Linux and also need some tutorial site name for beginner. Thanks
1
vote
5answers
38 views

Creating command history list

Is there a way to display a list comprised of the last n terminal commands made by a particular user ?
2
votes
1answer
144 views

All files become hidden in Nautilus file manager

When I cd to a directory via Terminal and when I create a file every time via terminal, the file is not shown in Nautilus. But when I put ls command, I can see the files on Terminal. But I cannot ...
2
votes
1answer
39 views

cp Cannot Stat '-r'

Strange issue, for some reason, when I'm running a copy command, it's treating the -r flag as an argument. sudo cp –r usr/* /usr The following is the error: cp: cannot stat ‘–r’: No such file or ...
-1
votes
0answers
18 views

apt-get update error(core dumped)

Someone please help here. I get this whenever i try sudo apt-get update/intall . * stack smashing detected *: apt-get terminated Aborted (core dumped) What could be the problem. i am using ubuntu ...
-2
votes
1answer
32 views

How to combine ls and grep to list only files and using ls to count dirs

I have some troubles with combining ls and grep. The thing is that I have to use only ls and grep to list all files in home directory. Ive tried multiple of combinatnions but with no effect. I think i ...
0
votes
2answers
49 views

Find folders of size lesser than x and delete them

I want to find all folders (within a folder) which are less than 100mb large and delete them. I actually don't want to use a bash script. But probably there is some neat one-line-loop possibility to ...
-1
votes
0answers
72 views

The program 'sed' is currently not installed. You can install it by typing [sed: not found]

I was trying to create my own program in the /usr/local/bin. During the process I messed something up and now anytime I press enter or type anything in the command line, I get this stupid ...
-1
votes
0answers
27 views

Opening a scoket in Kali linux using bash scripts trouble [closed]

I know who to open a TCP or UDP socket in Ubuntu, by the following command : exec 3<>/dev/tcp/google.com/80 (for example) we can open a TCP socket on port of 80, but in Kali Linux there's no ...
0
votes
1answer
27 views

Stuck at GRUB menu

I feel really dumb saying this... Thanks to the help I received on this forum, I finally fixed my Wine/Pipelight issue and could finally upgrade from 'Trusty' to 'Utopic'. To clean up extra files, ...
3
votes
3answers
26 views

Command to cycle displays in Xfce

One can change displays in Xfce from GUI by choosing between Laptop Mirror Displays Extend to the Right Monitor Is there a command to cycle between these options? - so that I associate it to a ...
0
votes
0answers
26 views

how do i achieve executing a python script ON TERMINAL via a shell script in nautilus folder by the right-click>Script way?

Using nautilus i am writing a script which will run the python script which invoked it. So to run a python script i just need to right-click on it>goto scripts>select appropriate script and it will ...