General :: Quickest Way To Share File From Shell

Jul 30, 2010

I'm using Ubuntu minimal install (With no window manager). What is the quickest and easiest way to upload a file somewhere? Something like a script to pastebin would work.

View 2 Replies


ADVERTISEMENT

General :: What's Quickest Most Portable VM?

Feb 25, 2010

Well, I want to be able to run some Linux in a VM at my school (on WinXP systems), via a USB stick.Two problems:

- Computers are mediocre
- Will be on many of them

I tried portable virtualbox but it starts very slow and runs slow without the guest additions. It just doesn't work right.What I need is a quick, portable VM that starts up quick and runs decently; I'm not expecting all that much from a USB stick but at least smooth cursor movement.I would like one that allows me to save changes on the virtual HDD, as opposed to a LiveCD style VM.

View 8 Replies View Related

General :: Which Version Is Quickest To Boot From Live CD?

Sep 16, 2009

I have used freespire and PCLinux these are both full Linux versions but they both take a good while to a) install and b) run from the Live CD, can anyone recommend a stripped down version of Linux that is quick to boot from a live CD etc but still has a good amount of featues, for testing purposes?

View 9 Replies View Related

General :: Read .gz File Direct On Shell/terminal Without Decompressing The File?

Dec 9, 2008

How can I read .gz file direct on shell/terminal without decompressing the file?
satimis

View 5 Replies View Related

General :: Shell Script That Adds Users Name To A File When The File Is Modified?

Mar 30, 2010

I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.

View 1 Replies View Related

General :: Convert Binary File In To Ascii File Using Shell Script?

May 23, 2011

i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.

View 5 Replies View Related

General :: Printing From Bash Shell / Concatenate Files Into One File With File Names Included?

May 11, 2011

I am supposed to take some small files, and print them to a specific printer, such that the small files are concatenated into one file. The file name has to be included in the file that gets printed.

Should I be looking to concatenate the files into one file with the file names included, and then print them?

something like: -printfunction -printername < file*

View 7 Replies View Related

Programming :: Quickest Way To Get Thread Id

Jun 24, 2010

What is the quickest way to get the thread id(tid) of the current thread in linux? Specifically I use fedora 13. ...and I am talking about inside a C++ program.

View 2 Replies View Related

Programming :: Quickest Way To Do Multiple Searches For Files

Apr 15, 2010

I am looking for the quickest way to do multiple searches for different files.Here is the scenario: I want to search for various icons one by one in a script. Preference is for the gnome icon theme.

The echo piped into grep part seems to take a long time. Is there a quicker way of doing this?I do not want to use slocate, sqlite or the like since that will require admin privileges to update the database and/or extra dependencies.

View 5 Replies View Related

General :: Group Permissions On File Or Share

Oct 17, 2009

I'm studying Linux and just started reading about permissions and ownership. My question is how would you have multiple users or groups given access to a certain directory? When doing an ls -l I see the owner, group and others that have permissions that have access to the file or directory. But what if I need multiple different groups access to a particular file or directory all with different permissions?

View 2 Replies View Related

Slackware :: What Is Quickest And Safest Way To Backup Root & Home Partitions?

Jul 28, 2011

I would like to attempt creating a cron job to backup my root (/dev/sda1) & home (/dev/sda3) partitions to an external USB drive.I have been using Clonezilla to make image backups but, I have to physically do it, when I remember or have the time. I have never created a cron job, and worse, I have never created a .sh file which, I think, is what I need to do.

View 12 Replies View Related

General :: Shell: Script On Each Line In A File

Jan 3, 2011

So if I have a file with a list of files:

file.txt
file1.a
file2.b
file3.c

and I wanted to perform a script using a loop or recursively on each of those files, is there any way that I could do this?

I saw that xargs might be able to help me.

Here is sorta what I want to do:

Code:
#!/bin/bash

cat file.txt | xargs?? # Some commands to turn each line into a variable

for var in ${@}; do # Some way to get each of the files

# script on each file

View 1 Replies View Related

General :: (Shell Script) Choose Log File To Use

May 9, 2011

I have a small script that uses the find command to look for a log file named: backup_log.txt. And then uses the first value in the log file as a variable in the script later on. However, say there are two or more of these log files located in different directories, how would I let the user choose which log file will be the one to use, and then make that (fullpathtofile) the value of the variable that will be used.

View 5 Replies View Related

General :: Shell Scripting - For Each File In Directory

May 2, 2011

I am working on some homework, however i am not here to be spoon fed. I am trying to get the numerical modification date of each file in a folder. Ie lets say there is a file called bob and it was modified 2006-11-23. i want to get it into a variable as 20061123.

Now i currently have this code:

Code:

However for some reason my output is:

Quote:

See how the 2011 has been placed next to it? i ran it with -x and saw this:

Code:

However i do not know how to find a way around this?

View 11 Replies View Related

General :: Convert DOS Bat File To Shell Script?

Jun 21, 2010

I need to convert the following .bat file to a linux shell script.experienced and kind linux folks:

:: Import database schema
echo off
echo.

[code]....

View 2 Replies View Related

General :: Insert Texts In A File By Using Shell?

Jan 26, 2011

I'm using fedora 14...i would like to insert few texts to a file in shell prompt(may be useful in scripting for in the future)...for eg,

[root@ruby ~]# cat > hello
1
2
2

[code]....

so in the above file i need to add the line "new line added" near the number 4 in the above file ....how can be this done ...?

View 8 Replies View Related

General :: Ovewrite A File In Shell Script?

Dec 12, 2010

I want to overite a file using shell script.

i need to overite the file withe value of 2nd argument.

echo $2 > /home/dir/file.txt whether this will work? or what is the correct syntax?

View 2 Replies View Related

General :: Spare Machine As File/print Share

Jan 17, 2010

I have a spare machine that has windows XP installed on it and pretty much sits there doing nothing. Both myself and my GF have laptops that we use as our primary machines so I figured I'd just use the spare machine as a file and print share.

Now, I know that I can simply keep XP on there and enable what I need, but Im wondering if I might be better of wiping the thing and installing a linux based os instead.

There's no real reason for me to do this (except that I want to play with linux) so I guess my questions are, is there any point in me doing this? If so what can I do with this machine other than filesharing and what do you reccomend as a fairly light linux installation? Also what else could I use this spare machine for?

View 6 Replies View Related

General :: File Share Security The Setup Is Not Secure At All?

Jan 7, 2010

Been messing around with Ubuntu 9.1 for the last few weeks and am loving it so far. Been trying to get in the terminal and learn a little something, to no avail. LOL I have been googling and searching the site today for info on networking. My Linux box is a desktop, with my main HDD mounted with music, and movies and some other stuff. My intent is to network the two laptops in the house (Windows XP and Windows 7) to the Linux box so I can listen to my music and watch movies when not in the office. I have found some info, mostly involving Samba, and plan to install Samba tonight and fiddle with it. My issue was with security. I have read a few posts and they talk about the fact that if you share files in this manner, the set up is not secure at all. Is this something i should really be concerned about? If the folders I share only have my music and videos in them,

View 4 Replies View Related

General :: Viewing Owner Of File On Windows Share

Mar 16, 2011

I'm interested in viewing the owners of files on a Windows Server 2003 share (mounted on a Linux computer). These "owners" would be users in Active Directory. If it's not possible to see the username, I wonder if it will at least show a unique identifier. Currently it says all files are owned by root with an "ls -l".

View 4 Replies View Related

General :: Properly Share A File On Box With A Windows Machine In AD?

Oct 22, 2009

I have a linux (Ubuntu server 8) that is busy collecting data files for me, but I need to see them on a windows machine. The winXP computer is in an AD domain. The ubuntu server is running Samba and I believe I have set up sharing - I can see/list the files on winXP. however, when I try to open the files to read ( in this case by Wireshark ) I get a permissions denial. Where and how can I set those permissions?

View 1 Replies View Related

General :: Shell Command To Display Contents Of A File?

Feb 23, 2010

shell command to display contents of a file? Like that of .txt or .html

View 9 Replies View Related

General :: Get The Shortest String In A Text File With Shell?

Apr 29, 2010

Assume I have a text file as belowabcdaaaaaaagfgkhahahahahahhahhgfThen gf would be returned

View 4 Replies View Related

General :: Find The Tag Value In Xml File Through Unix Shell Script?

Nov 3, 2010

the below tag is in the xml file. Now i want to find and extract the value of application name test1 and test2 one by one in the unix shell script. how to do this

<application name="test1">
</application>
<application name="test2">

[code]...

View 2 Replies View Related

General :: How To Look At History File In Unix Shell For User?

May 28, 2010

How to Look at history file in unix shell for a user, find 5 most often used commands.

View 5 Replies View Related

General :: Can't Source File By Shell Script In Ubuntu 10.04

Jul 30, 2010

When I try to execute my script its getting error

.........................................
tape_restore.sh: 40: source: not found
tape_restore.sh: 41: source: not found
tape_restore.sh: 42: source: not found
.................................

But in Redhat I can run same script . My script as follows.

**************************************************
SCRIPT_HOME=/home/dhanushka/project/mChoise_Recharge/scripts/scriptfw
TAPE_DRV=/dev/st0

[code]....

View 4 Replies View Related

General :: How To Modify Line Of File Using Shell Script?

Apr 12, 2010

I have a file like below
n
p
1
1
50
w

I need to modify the first occurence of 1 byt some other integer.How do i do it using shell script?Can anybode help me out with that?

View 9 Replies View Related

General :: Pass File Content Through URL Using Shell Script?

Jul 16, 2011

I am calling a URL from shell script and passing few argumants,Here i have to pass file content as one argument.How can i pass file content through URL.

eg:
content=`cat /Users/test1.txt`
open http://localhost:8080?filecontent=$content

[code],...

View 1 Replies View Related

General :: Need To Convert Batch File To Shell Script

May 3, 2010

Kindly help me converting a batch file with following commands into shell script..I would like to have the same functionality with shell commands.

View 2 Replies View Related

General :: Shell Script For Appending Data To A File?

Feb 8, 2011

this is how we append a file at command line its like

cat>>file.txt
adasds
^D

but how to write the code for appending a file in a shell script i tried but its not running

cho "the contents of the file before appending"
cat ab.txt
echo `cat >> ab.txt

[code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved