Is it possible to play a song in vlc player out of the command line?
Hi, is there a shell command in linux (for vlc media player) to open a *.mp3 file? Thank you very much ;D ...
Hi, is there a shell command in linux (for vlc media player) to open a *.mp3 file? Thank you very much ;D ...
Hi. When I run the command haizea -c simulated.conf > result.txt, the program (haizea) still prints its output to the screen. But when I try haizea -c simulated.conf 1>& result.txt, the output is now on the file result.txt. I'm quite confused about this situation. What is the difference between > and 1>&, then? ...
Hi I am am wanting to send many different mp3's like an array to SOX for example sox 1.mp3 2.mp3 N.mp3 out.mp3 sox num1.mp3 num2.mp3 numN.mp3 out2.mp3 sox n1.mp3 n2.mp3 nN.mp3 out3.mp3 How could I send all those at one time?Or Can I not do that? ...
I want to check how long time my program takes. Then I using "/usr/bin/time my_program". When it takes more than 5 seconds, I want to kill it. I tried "kill -9 TIME_S_PID", time is killed, but my_program is still running. So how to kill my_program? Sorry, my English is really bad... Thanks. ...
In the directory "data" are these files: command-1.9a-setup command-2.0a-setup command-2.0c-setup command-2.0-setup I would like to sort the files to get this result: command-1.9a-setup command-2.0-setup command-2.0a-setup command-2.0c-setup I tried this find /data/ -name 'command-*-setup' | sort --version-sort...
Hello , I have created a shell script to run a jar file in Mac : #!/bin/sh java -Xmx512m -jar test.jar; I have renamed this script "app.command" to run directly when double clicking it. And i have applied "chmod +x" command to it to have executable permissions. Now when double clicking this script, i get "Unable to access jarfile te...
Not sure if its a duplicate. Given the relative path, how do i determine absolute path using a shell script? Example: relative path: /x/y/../../a/b/z/../c/d absolute path: /a/b/c/d ...
Bash script, need help with ...
3rd requirement 3- At the end of the execution, the script must produce a file named report.txt that contains a list of all files in the user's home directory including full path, owner, group and permissions for each file. ...
I'm already aware of using \b and \r to move back one character and to the beginning on the line respectively. But is there a way, (specifically in python,) to move the cursor position up 1 line? I'm trying to avoid using curses, but if this is the best option then so be it. ...
Hi All, I am college going student, I have unix labs as part of my course. I want to practise shell, perl and some unix commands at home. Is there any way to it on my xp laptop. i dont want to intall whole linux OS on my laptop. is there any way where i can practicse shell scripts, perl scripts and some unix commands frm my windos xp la...
So i am designing an art project that will print to a dot matrix printer the contents of my internet history. i have found info online to parse out a plist (what os x uses to store internet history) so im all set on that front but what i am looking to find out is how to send a request to the printer to print a new line, which would happe...
I realize this is very much of a long shot, but... In shell scripts on Macs I can display an Apple character. Is there any way to display a Tux character (or anything else associated with Linux) on Linux systems? The simplest solution would be if there's something in the Unicode set that symbolizes Linux, whether a Tux or something el...
I want to run a shell script when a specific file or directory changes. How can I easily do that? ...
Hello , I have seen that i can use chmod +x command in Mac to make a shell script executable. This works fine, but i have noticed that i have to do the same thing every time this shell script file is copied to another Mac computer. Is there a way to make the shell script executable by default when double clicked, without such command ....
I have a C++ windows service that sometimes crashes when I call the system() function to shell out a command. I've run the exact text of the command in the windows command-line, and it runs just fine, but for some reason it fails when system() is run. To make matters worse, I can't seem to get any information as to why system() is faili...
Hello, Is it possible to do the following: I want to run the following: mongodb bin/mongod in my bash_profile I have alias = "./path/to/mongodb/$1" Thanks everyone! ...
Hi. I am writing an Explorer extension for Vista and Windows 7. I read that if you are making a namespace extension you can provide your own commands using IExplorerCommandProvider. This is done in response to IShellFolder::CreateViewObject. I am not writing a namespace extension, but a toolbar that lets you perform operations in Explor...
Hello, with other IDE, you can pass parameter to the program via the IDE (it save times instead of typing hello.c parameter1 parameter2 in the shell) Is there any way to pass parameters to the program trhough the Xcode IDE instead of just clicking on "RUN" then "CONSOLE" (which provide no arguments to the program) Thanks ...