General :: Making A ('list'?) Of Commands To Run?
Dec 11, 2010
i have a java program and to run it, i have to go into terminal and typecd <where the file is>java -jar <filename>.jarthis works fine, but is there a way to make a shortcut/small program to do this for me when i double click?
View 3 Replies
ADVERTISEMENT
Sep 14, 2011
Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
View 3 Replies
View Related
Jan 30, 2010
if I open a terminal and hit [TAB] [TAB] it will display "Display all 2583 possibilities? (y or n) ". If I press y is there a way to capture the output and write it to a file? Not like it is a command so I can't just use a redirect to a file? If not I guess I could just do an ls on all locations of $PATH and capture that to a file.
View 7 Replies
View Related
Jul 20, 2011
List of 77 lines with the names of movies. For ease, let's say it's in a text file. What I want is a command line argument I can pass that'll read each line and pick one of those 77 lines at random, except I can't figure out how to do this. Is there a program I can just pipe the output of 'cat listofmovies.txt' to?
View 13 Replies
View Related
Apr 1, 2010
I've just started experimenting with SSH tunnels. I wanted a way to connect to MySQL on our website VPS but wanted the connection encrypted rather than just using PHP's mysql_connect() function and connecting to the remote IP. This seems to be working great. I'm also looking into autossh to make sure that the tunnel gets reconnected when it drops.is there a command/utility that can list the currently active SSH tunnels? Be great if there was a way of terminating an active tunnel through a command as well. Or is it a case of manually digging through the process list and killing the specific PID like I have been?
View 1 Replies
View Related
Feb 2, 2011
i am working on some kind of PBX and i have list of telephone numbers inside a file, i have to insert these numbers into the correct command and then telnet to a remote server and execute these commands. i can read the telephone numbers and insert them into the command with no problem, but when i try to insert these commands into the send i face problem. here is the basic code
#!/bin/bash
read msisdn < input
string="ZZZZ:MSISDN=$msisdn;"
[code]....
i can make external loop inside the Bash which read the input file and issue the command and then telnet and execute, but this will make the script connects and disconnects again for each line which cause high load on that server and hardwar problem. i am wondering if there is an option inside the expect interperter which makes the send read directly from a file... somthing like this:
expect "<"
send "input-filename
"
expect "<"
expect eof
View 1 Replies
View Related
Jul 14, 2011
I want to use a desktop icon shortcut that essentially does this...
Is there a way I can do this? I don't really want to create an alias because I just want it to be an icon I double click to do all of this. But if I have to create an alias in which it does these ocmmands then I use the shortcut to terminal... then it types the alias that is fine also.
View 1 Replies
View Related
Nov 9, 2010
From where can i get a list of basic commands that can be run from the terminal from ubuntu ?for example:nautilusmounttopapt-get
View 9 Replies
View Related
Dec 24, 2010
I want to see the users list and the permissions of the users when i logged in a root and how to change the permissions of the users. 2.How to change the permissions for the commands. example:when i logged with my other user account(not with root user) i dont have a permission to use the move(mv) command. #mv filename /backup my error : Permission denied. I need to know how we can set the permissions for the commands even.
View 1 Replies
View Related
Jun 12, 2010
I would like to find documentation on all the available terminal commands and syntax for CentOS 5.
I have googled and looked through the wiki and found nothing about the terminal to my ability.
As for what I am referencing by commands:
sudo: I get the su means super user
cd: change directory
rm: remove, I don't know how to remove folders.
General navigation and using the terminal to create files/directories/open file editor/etc..
View 3 Replies
View Related
Dec 22, 2010
For example, when I want to have an identical line to the above line, I must press "yy" and then P (or p). Could somebody give me the list of such commands.
View 6 Replies
View Related
Jan 24, 2010
Were can I find a complete list of commands for the terminal in ubuntu linux 9.10
View 9 Replies
View Related
Jun 27, 2011
I for the life of me can not find the list of CLI/console commands for Deluge. I'm trying to at least find the command to change global download speed.
View 3 Replies
View Related
May 2, 2011
I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?
View 2 Replies
View Related
Dec 27, 2010
How can I convert a file with a lot hex numbers into the decimal?
Example: file1
0x59999
0x5acdc
0xffeff
I want to start $ cat file1 | util | cat >file2 and get file2 with smth like
[Code]...
View 3 Replies
View Related
Jan 7, 2010
list the 'chkconfig --list' in alphabetical order
View 3 Replies
View Related
Jan 28, 2010
one command to list the list of folders/ within the folder.
View 4 Replies
View Related
May 19, 2011
I have my task list in evolution (mainly so it can sync with my phone and online task list) but I always forget to look at the task list. Is there an application or plugin which periodically displays the contents of the tasklist or even better, it briefly displays the most urgent/important tasks when I login? Or anything else which automatically displays the most important tasks. Currently I have to open the task list and look at them (which I usually forget). I do not mean some kind of alarm when the task is due but more a daily reminder of what to do.
View 3 Replies
View Related
Jul 20, 2009
KMail 1.11.4, KDE 4.2.4: I'm migrating from WinXP to Mandriva, and installed KMail at the weekend. Works fine, but I have a niggle - the message list displays headers grouped by month order. I'd like the option of having a simple list (no groups), and suspect that it could be done - but I haven't been able to find out how. I've checked in the Handbook without success, and a search in LQ hasn't turned up anything yet.Any suggestions gratefully received. If this isn't the right place for a KMail query,
View 1 Replies
View Related
Mar 24, 2010
but I do have some experience with Ubuntu, I've been actively using it since October last year (karmic)One of my friends recently specifically asked me to put Ubuntu on his laptop (he'd been running Vista with 512MB of RAM) so I said sure, and tried to install Karmic via an ISO cd, once the installation had finished when it booted it just came up with a grub screen saying something like:"Minimal Bash script usuable, tab lists supported"When I hit tab it came up with a list of commands e.g. "xnu_kernel" and "xnu_splash" (I think) I tried reinstalling with the same results.
Recently he asked me again, I tried with the beta 1 of 10.04, I tried using it without installing for a bit and everything worked absolutely fine, I used the desktop icon to install it, after I tried booting exactly the same thing happened.I tried typing "xnu_kernel" and it said it needed a file name, I tried "xnu_kernel/" with the same result.I'm guessing it didn't load the Kernel for some reason, I have no idea why and I don't know what needs to be typed in to rectify it (I have minial experience with the terminal and only know basic commands)
View 3 Replies
View Related
Jul 12, 2011
I want to make an rpm which when installed as an update causes another rpm to be removed. I'm fairly sure this is possible because I have seen LibreOffice rpms install as updates replacing OpenOffice rpms in the process without any interaction being required. However I'm unable to figure out how to do it, even after having looked at the spec file for such a LibreOffice rpm.
I have package gstreamer-0_10-ffmpeg installed. I have another package called multimedia installed. I've built a new version of multimedia which includes the gstreamer ffmpeg plugin so I don't need the gstreamer-0_10-ffmpeg package installed any more. I've tried using Provides and Obsolete in the spec file of the new multimedia package. E.g.
Code:
Provides: gstreamer-0_10-ffmpeg
Obsoletes: gstreamer-0_10-ffmpeg <= 0.10.10
(I've tried it with and without version numbers.) Whatever I put in the spec file, when I try and install the new multimedia package as an update zypper says
Code:
$ zypper up -y multimedia
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: multimedia-1.1-1.i586 obsoletes gstreamer-0_10-ffmpeg <= 0.10.10 provided by gstreamer-0_10-ffmpeg-0.10.10-0.i686
Solution 1: replacement of gstreamer-0_10-ffmpeg-0.10.10-0.i686 with multimedia-1.1-1.i586
Solution 2: do not ask to install a solvable providing multimedia > 1.0-2
Selecting an option manually is no good, I need the update to happen without user interaction.
View 3 Replies
View Related
Jul 12, 2011
I'm trying to make a huge installation of applications on linux, (Red Hat), but without internet, i mean, i will have to download rpm's one by one and install them, the problem is that i've tried and is terrible, it always shows conflicts within versions, dependencies of dependencies, etc etc...
Is there any kind of tip to get this working? any kind of command that shows me the real dependencies that should be installed (with the right versions, etc) without conflicts? I've tried the following:
Quote:
rpm -qR package
View 3 Replies
View Related
Nov 9, 2010
Do you know a way of making vim not to use colours?
View 1 Replies
View Related
May 9, 2010
I have an indexer for sphinx, and i want it to run once every hour in linux. How would i do this?
View 8 Replies
View Related
Dec 15, 2010
I wondered if theres a way to do rotational style completion in bash similar to the behavoir on cmd.exe, I've found it speeds me up in regard to entering commands
View 2 Replies
View Related
Jun 20, 2010
I have recently installed ubuntu 10.04 on my five year old desktop. Unfortunately, the official linux driver for my ATI X1600 card doesn't seem to support this ubuntu. There's an open source driver running now, but 3D applications run much slower than originally under windows. (which I can't seem to install on my sata raid harddisk anymore)
It's even so slow that I can't use those 3D applications anymore. I came to the conclusion that my computer is just too old for such a modern system as ubuntu 10.04. So I started looking for another version of linux. I tried the Linux Distribution Chooser, it pointed me at OpenSUSE 11.2. But I don't know, this program still looks kind of new. Too new for my computer.
I think that my computer needs an older version of linux, so that all the hardware will work properly. So I'd like to know if there's an older version of ubuntu/linux that still supports my hardware.
My computer was assembled from the following parts:
- DVDI LiteOn 16x/48x IDE bulk
- RAM 512 MB DDR/400 PC3200 ValueSelect
- HDDI 200GB 7200 Maxtor 6B200M0 8MB/SATA
- MB MSI k8T Neo2-F Athlon 64/939/DDR
- CPU AMD Athlon 64 3200+ 2.0Ghz/so939 BOX
- X GRA Sapphire R9600XT TV/DVI 256MB L-re
Does anyone know any distributions that fit this hardware? Some older versions of ubuntu perhaps? Something that allows me to install drivers that make 3D applications run a t normal speed? If someone knows about a Distribution Chooser that takes hardware into account, I'd also like to know.
View 1 Replies
View Related
Mar 20, 2010
My drive is a 160GB and currently having 2 partitions:swap (taking about 2 GB)
linux (taking about 155GB)
Here's the fdisk -l
Quote:
I'd like to do the following:Increase the swap partition to 5GB Reduce the Linux system partition by 25GB and give this 25GB to a new partition, which I'd like to use for my Data - this should be accessible by both Linux & Windows
View 9 Replies
View Related
Aug 24, 2010
Earlier today I created a bootable USB stick by executing a script file that came with the distro for that purpose and experienced no problems. Later on, I tried exactly the same thing but using a SD card via a USB adaptor and it didn't work. Is there some difference in geometry between these two media types that could cause this problem?
View 5 Replies
View Related
Jan 18, 2010
I have an CentOS 5.4 install with several swap partitions of 2048Mb each (someone suggested to me the OS would run better like this?). But, I have a few other partitions and I'm sick of having so many to check and monitor. Also, having set up another machine with only one swap partition, I am not finding it running any better/faster.How do I go about deleting all the swap partitions and making a new one (to fill the exact same space as ALL of the old ones)?
View 9 Replies
View Related
Mar 6, 2011
/etc is where your gnu/linux stores it's configuration. Its function is similar to the Windoze registry. As you install, uninstall, and work with various programs, /etc changes. Sometimes, things change that make your system act unexpectedly.
1) open a console
2) su enter root password
3) # mkdir /var/backup
4) # vim /usr/sbin/prep4change replace "vim" with text editor of your choice
5) cut and paste the following short script
[code]....
Next time you are about to install, remove, or change something, just issue prep4change as root. If the unthinkable ( but expected ) should happen, and things stop working correctly, you have your /etc and /boot already backed up. Your backup will be located in /var/backup You can also $ tail /var/backup/notes to see why you made what backup Again, this isn't the most elegant, but it's simple, and it works!
View 3 Replies
View Related