> In command line ??
> I am asking for file,
> Try creating a test.sh file and put these command and then try....

Here's my o/p:

tpb...@tpb261-laptop:$ vi test.sh  # file created here
tpb...@tpb261-laptop:$ sh test.sh     running it
Reading package lists... Done
Building dependency tree
Reading state information... Done
firefox is already the newest version.
The following packages were automatically installed and are no longer required:
  libopencc1 libcommons-collections3-java libgladeui-1-9 liborbit2-dev
python-pygoocanvas
  libecj-java libfolks0 libasm3-java python-mako brasero-common
guile-gnome2-glib
  libcommons-el-java junit libburn4 libcommons-compress-java
libregexp-java libgexiv2-0
  gnome-session-common libevview3 libgtkmm-2.4-dev evince-common
libgoocanvas-common
  guile-g-wrap libjasper-java libcommons-httpclient-java
liblucene2-java libslf4j-java
  eclipse-platform-data python-gtkspell libgnome-bluetooth8
libdb4.7-java-gcj libido-0.1-0
  libgmime2.4-cil libfolks-telepathy0 libcairomm-1.0-dev ant python-markupsafe
  libcommons-logging-java libgee2 rtkit libcommons-codec-java
jarwrapper libjaxp1.3-java
  libdbus-1-dev libgwibber0 sessioninstaller libtelepathy-logger1 libjetty-java
  libjline-java libxerces2-java libappindicator0.1-cil sat4j
libevdocument3 libidl-dev
  telepathy-logger ubuntu-mono libcommons-beanutils-java libprojectm2
libdb-je-java
  python-bugbuddy fastjar libdb4.7-java libprojectm-qt1 libcommons-digester-java
  libjtidy-java libicu4j-java python-wnck adium-theme-ubuntu libisofs6
libdmapsharing2
  libjsch-java orbit2 projectm-data ant-optional libvala-0.10-0
gstreamer0.10-gnonlin
  libgoocanvas3 libgwrap-runtime2 libpangomm-1.4-dev empathy-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gconf2 gvfs gvfs-backends libbonoboui2-0 libgconf2-4 libgnome2-0
libgnome2-common
  libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra
libsoup-gnome2.4-1
  python-gconf python-gnome2
Suggested packages:
  gconf-defaults-service desktop-base libgnomevfs2-bin python-gnome2-doc
The following NEW packages will be installed:
  gconf2 gedit gvfs gvfs-backends libbonoboui2-0 libgconf2-4
libgnome2-0 libgnome2-common
  libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra
libsoup-gnome2.4-1
  python-gconf python-gnome2
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2,980kB of archives.
After this operation, 13.3MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
tpb...@tpb261-laptop:$

tpb...@tpb261-laptop:$ cat test.sh
sudo apt-get install \
gedit \
firefox

tpb...@tpb261-laptop:$

-- 
Lots o' Luv,
Phani Bhushan

Let not your sense of morals prevent you from doing what is right -
Isaac Asimov (Salvor Hardin in Foundation and Empire)

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to