A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, ...

learn more… | top users | synonyms

0
votes
0answers
11 views

How to run specified terminal command from context menu on right clicked folder?

I'm quite happy I found out about Finder > right-click > "New Terminal at Folder". To make it perfect, I'm looking for a way to run a specified command right after. Automator doesn't seem to have such ...
1
vote
1answer
16 views

How to zip a folder in osx excluding the “Icon” file?

I have been trying to zip a folder using the terminal and excluding the Google Drive pesky "Icon" file. This is the command I tried using: zip my-zipped-folder.zip -r folder-to-zip/ -x "Icon" ...
0
votes
1answer
18 views

bash script to call two functions, consecutively, each with its own argument

There are a lot of similar questions, but I cannot find an example of what I am looking for, nor in the Bash scripting guides (I'm sure it's there but its a big book...) What I want is this: I have ...
0
votes
2answers
32 views

In a Terminal profile, how can I set it to cd right after ssh connects?

I'm on OS X, using Terminal (bash) to connect to my web server. I'd like to set up the Profile so that it opens to a specific subdirectory after ssh connects.I don't always want to start in this ...
0
votes
1answer
38 views

Add minimize and maximize buttons in Debian 8

In previous versions I could do this with gsettings set org.gnome.shell.overrides button-layout close,minimize,maximize: but now I get error no such key "button-layout" In GUI there is no ...
2
votes
1answer
21 views

mac find -name *.png does not work [duplicate]

I am trying to recursively search for a filename ending in .png My find command works fine for *.js, but not for *.png. ~ >find dev -name *.png ~ >find dev -name bluerightarrow.png ...
0
votes
3answers
19 views

Listing File Names without Extensions in Terminal?

I'm using a mac. I need to get a list of files in a folder without their extensions being included in the list. This is because I need a list of products for a website import and conveniently, the ...
0
votes
1answer
22 views

Debian, doesn't work the option “Open in the terminal”

Opening nautilus and using the usual right-click and then clicking on "open the terminal" nothing happens. This has happened after (I think) the daily update of Debian or the installation of ...
1
vote
0answers
11 views

reset scrollbar iTerm2 or (terminal) under MAC

I am switching from Putty to iTerm2 (windows -> Mac). Is there a way to disable "Reset scrollback on display activity" but enable "Reset scrollback on keypress"? Thank you in advance More ...
1
vote
2answers
23 views

Launch interactive shell command as an emacs buffer

I'd like to run a shell command that asks a few interactive questions before proceeding, from within Emacs. The functionality I'm looking for is like xterm -e <command>, only with an Emacs ...
1
vote
1answer
31 views

Looking for shortcut key for Linux terminal

I opened a program via linux terminal, and after some search in Google I find out that I can close the program by Ctrl+C. If I want to run the program, but at the same time have a new line in the ...
0
votes
3answers
28 views

How to find a file which ends with “/folder/subfolder/” in Mac OS X Terminal?

I would like to find a file which is located for example in /Users/username/Library/folder/subfolder. I know that last two subdirectories would be /folder/subfolder but I don't know in advance what ...
0
votes
1answer
17 views

colorize files on MacBook terminal

I have a dedicated remote Linux server, and was able to add this code to my ~/.bashrc file: alias ls='ls --color' LS_COLORS='di=34:fi=0:ln=36:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90' export ...
-1
votes
0answers
24 views

Changed user ownerships on Mac OS X and now Terminal is not working

I did this on Terminal: Machine:user> sudo chown -R $(whoami) /usr/local Machine:user> sudo chown -R $(whoami) /usr/bin Not very smart, I know, but it was done in order to workaround a ...
2
votes
1answer
27 views

Print line for word found in file in directory

Hello i am using this line find ./ -iname *txt | xargs grep "ququ" -sl>holis.txt To find "ququ" text in a txt file and then write the file name that does contain such word in the txt file, ...
1
vote
3answers
53 views

How to keep the terminal open after executing a C program?

I'm trying to run a C program from within a python code. cmd = 'gnome-terminal --command=./myprog' subprocess.Popen(command, stdout=subprocess.PIPE, shell=True) The code executes and the terminal ...
0
votes
2answers
20 views

Mac OS .bash_profile errors

I'm running Mavericks 10.9.5 and I have tried to install Metasploit from this guide. It was until the Install Homebew I used echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile ...
0
votes
1answer
27 views

Copying an SSH ID to a server from a certain computer yields an error while the same command works fine from other computers

I get the following error message when trying to copy an SSH key to a remote server: ssh-copy-id -p*** ****@****.com Pseudo-terminal will not be allocated because stdin is not a terminal. ssh: ...
2
votes
1answer
14 views

How do I encode a hyphen in a Bash terminal's open command?

I'm trying to write a small script that launches Beyond Compare when I do an svn diff. I got it working up until so far: open -a /Applications/Beyond\ Compare.app "$6" "$7" To get the full ...
0
votes
2answers
54 views

What is the command to remove all files and folders, on mac os x terminal?

On Mac OS X terminal, how can we remove all files and folders, including hidden ones, recursively, except one directory? Thank you.
0
votes
1answer
26 views

After creating .bash_profile…Terminal not working

I created a new .bash_profile file and entered the following: export PATH="usr/local/bin:usr/local/sbin:usr/local/mysql/bin:$PATH" I then deleted .profile. Because from what I learn't it causes ...
0
votes
1answer
29 views

xterm valid command not working in konsole nor gnome terminal

this works fine with xterm xterm -e '(dialog --msgbox "thebigmessage" 0 0)' but not with konsole nor gnome-terminal konsole -e '(dialog --msgbox "thebigmessage" 0 0)' gnome-terminal -e ...
3
votes
4answers
511 views

Launching programs with GUI without display manager

I've heard that there is a way launching programs with graphical interface without display manager - straight from terminal. Is this for real and if so, how can I do that?
0
votes
3answers
39 views

Create a new Mac Terminal command to copy folder

How can I create a new terminal command that copies a folder (this will always be the same folder) and it's contents to either the current directory (if no path is supplied) or to the path supplied. ...
1
vote
1answer
24 views

Disabling mouse hiding in Gnome Terminal while typing

Does anyone know how to turn off the hateful behavior that is now default in Gnome Terminal — when a key is pressed the mouse pointer hides until it is moved again. I'm honestly ready to ...
0
votes
0answers
8 views

Replace terminal's vi with windowed vim for root

I'm on Mac OS X, but I guess this is the same for other unixes. Every time I type vi on the terminal, I want to open the GUI version of Vim (in Mac OS it's called mvim). For my user, I got it ...
2
votes
1answer
13 views

How to start a desktop session without x and also runs a script?

I have a Ubuntu server with LXDE for development, now how would I create a .desktop file to start a session that doesn't startx but actually logs me into a regular tty1 session and also runs a ...
-2
votes
1answer
22 views

Commands on the Windows terminal doesn't work

I have a problem with my terminal on windows 7, it doesn't work with the commands ls or make and I don't know where my problem come from.
0
votes
0answers
19 views

Mac Terminal theme - text-colors not working

I'm using the Mac Terminal more frequently and was using the Homebrew theme (green text, black background). Now I wanted to set a new theme which had different text colors. The one I tried using was ...
0
votes
0answers
9 views

Mac - login hook

When opening terminal after reboot and running who command i get <myUserName> console as a single line but running it after a while returns additional additional lines like <myUserName> ...
0
votes
1answer
23 views

How to stop PuTTY + Informix switching background and foreground color?

I connect with PuTTY (with "xterm") to a Debian system running Informix. In all Informix applications (self-written 4GL as well as isql and i4gl) PuTTY switches the background and foreground colors ...
0
votes
2answers
14 views

How to search using find command in external hard disk

I have an external hard disk. I have to search for a folder called Visa in that external Hard disk named ASTUTE. There might be multiple VISA folder but I want to search for all of them. I navigated ...
0
votes
2answers
28 views

Redirect stderr to second terminal / tty

I've tried things like rse to differentiate standard-output and standard-error streams from a program; but I'd really like the option of viewing the two in separate terminals, without redirecting to a ...
0
votes
0answers
11 views

How to view PPA contents from terminal on Ubuntu/Mint?

Is there a way to view the packages contained in a PPA from a terminal, without needing to open a web browser and navigating to the PPA on Launchpad?
-1
votes
0answers
19 views

How to launch RubyMine upon Ubuntu startup?

I'm new to linux, and I was trying to find the right command to open RubyMine. After some research, I came across a path to a file that would start the program from the terminal. I use it below. I ...
0
votes
1answer
31 views

How to select files with spaces in their name in a terminal?

When using gnome-terminal which is the default on Linux Mint, I can select files using a double click. For example: user@hostname $> ls 1.file.name 2-file-name 3 file name with spaces This ...
0
votes
1answer
15 views

sed adds characters where it shouldn't add

I have the following line (in a file called 1atp.pdb: MASTER 421 1 5 16 9 0 12 6 3070 2 66 29 And I'm using sed: grep MASTER 1atp.pdb | sed 's/[0-9]*/xddddd/' ...
2
votes
4answers
90 views

What is a backslash colon doing in this chown command?

What is the \: doing in the command below? sudo chown nobody\: folder/ Is it some kind of mistake?
0
votes
0answers
24 views

sed gives “illegal byte sequence” error when trying to replace a character

I am using the “Terminal” in Mac OS X 10.10 (Yosemite) and I am trying to delete all occurrences of a from a file, by using sed: sed 's/a//g' file Which gives me the following error: sed: RE ...
0
votes
0answers
27 views

Terminal suddenly disappeared from my MacOS Yosemite

I just had to reboot for the first time in weeks... after the reboot, I noticed that two elements were missing from my dock: Unity3D and my Terminal (more precisely, they had been replaced with ...
0
votes
1answer
33 views

CPU Load + Frequency per core in linux terminal?

I am doing scientific computing and I need to keep an eye on the cpu frequency and load of each core (there are 2 cores, on Ubuntu 14.04 w/ Gnome3). I can see the frequency with this bash script: ...
0
votes
1answer
25 views

Keeping en0 down while I change IP address mac

I have a DHCP server which assigns myself a new IP address. What I'm wanting to do is power down the wireless adaptor, then change the ip address manually. What's happening is as soon as I set the new ...
0
votes
1answer
62 views

run multiple commands from a file after logging into putty from a bat file

I have written a bat file in which I have the following: putty.exe -t -load "ABC" -l username -pw password -m "C:\Users\pathasai\Desktop\abc.txt" In my abc.txt I have written some commands which I ...
0
votes
0answers
35 views

Resize terminal Emacs window to fit when resuming a Screen session from larger display in Ubuntu

Whenever I start a GNU screen session running GNU emacs (nw, so in terminal) on my desktop with a large monitor, then resume it on my laptop, emacs still thinks it's on a large monitor. This means as ...
0
votes
0answers
5 views

Send all incoming and outcoming signals through a SOCKS4 Proxy on terminal?

So, I am running a node.js app through terminal (namely bp-tf auto but that isn't relevant) on my laptop. While travelling, I end up going through places where proxies block backpack.tf and ...
2
votes
1answer
34 views

Windows server virtual machine in a linux server ONLY with terminal. Is it possible?

I have a linux server that I use for various services since a very long time. I would like to run some new software on it but it's a windows software that is a server of some kind. Unfortunately ...
1
vote
1answer
34 views

Clear console buffer in ConEmu with Cygwin

I've recently switched from using iterm in OSX to using Cygwin in ConEmu on Windows. One thing I'm really missing is the ability to completely clear the terminal buffer at any time using Alt+k. I've ...
0
votes
0answers
13 views

Printing unique lines with uniq, OS X Yosemite

I am trying to print the unique entries in a column of a .csv file. For this, I tried the following: awk -F "," '{print $6}' dataCoarse.csv | uniq -u which just prints the 6th column as it is. ...
0
votes
1answer
28 views

How to get around 'rmdir invalid option -r' error?

I'm trying to remove a directory labeled 'phoneBackup' but it's not empty, it contains several dozen image files (.jpg, .gif, etc). I'm running the command "rmdir -r phoneBackup" from the parent ...
1
vote
0answers
35 views

gpg --gen-key not working on “su -l”, but working on local terminal

When I try to use "gpg --gen-key" (v2.1.2 on archlinux) with an user I just created ("backtest"), it works when I open a terminal for that, but not when I'm logged in with another user and then "su -l ...