General :: Start Terminal In Specific Folder In Ubuntu 10.10?

Apr 16, 2011

I keep all of my web design work under /var/www/(application_name). Nine times out ten, when I open a terminal, I'm heading to the www folder - cd /var/www. I would love to make that my "home" folder for the terminal, so it would just open there - I know if I ctrl+shift+t to open a new tab it defaults to the same dir, but it would be nice to have the first opened terminal default to there. Is this possible, or is there a better way to go about this?

View 2 Replies


ADVERTISEMENT

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

General :: Binding USB Drive To Specific Folder?

Mar 31, 2010

Is it possible to bind a USB drive formatted in NTFS to a specific folder so when i open that folder i see the contents of the drive?

View 12 Replies View Related

General :: Cannot Copy Some Files To Specific Folder?

Jul 20, 2011

sudo cp ../../../rootfs_maker_ramdisk drivers/filesystem/ -rf
give below errorCode:cp: cannot create special file ...._rootfs/dev/hda4': No such device or addressi get this error only in some specific locationsif i dont use sudo then i get permission denied msg

View 4 Replies View Related

General :: Zipping Files Into A Specific Folder?

Dec 24, 2010

I am trying to use the command gzip to compress a directory or file list as argument and compress the file in a file named copia101225, within a directory named ZIPFILES. I want to make sure that if the arguments doesn't exist, the destination directory doesn't exist that it creates it. I keep failing at compressing the file to copia101225, that is within the directory named ZIPFILES This is what I have so far:

#! / bin / bash
# Title: Compress a file
# Author: Jose Miguel Colella
# Description: Compress a file

[code]....

View 14 Replies View Related

General :: Extract Path Name Starting With Specific Folder?

Nov 23, 2010

Im writing a script that extracts part of the path name:I drop a file in terminal and set the directory name of the file to x using dirname $0note: ( directory is different every time since not all files are from the same location)

ex.
x="/home/Downloads/yesterday/photo/.../image.png" /image.png
/.../ means I dont know the name of folders between but I know the path name always starts

[code]...

View 3 Replies View Related

General :: All Terminal Applications Ask To Go To The Specific Path?

Apr 7, 2011

Just like the title says, it always asks me to go to the direct path.

ie:

iwconfig doesn't work. I have to type /usr/sbin/iwconfig

View 2 Replies View Related

General :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

Ubuntu :: Run Program In Terminal With A Terminal Specific Profile From GUI

Dec 12, 2010

I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:

Code:

gksu chkrootkit

with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:

Code:

gnome-terminal --profile=<profile_name>

how do I incorporate this within the Command entry line of the launcher?

View 1 Replies View Related

General :: Move Folders That Contain A File With A Specific Extension To A Destination Folder?

Oct 3, 2010

Many years ago, I converted a portion of my files to an arbitrary format with a specific extension. i no longer desire to have them in this format and i would like begin the process of replacing them because conversion is not an appropriate solution. unfortunately, they are mixed in separate folders of the same root folder with files in my current format of a different extension. I feel it would make this process easier if I were to move every folder that contained a file with the undesired format to a separate root folder. The files are stored on a Linux server and shared via samba. How can I do this with a couple of commands or a script? I am open to other suggestions as well. I want to avoid time spent editing text files. Ultimately, I'd like a command that produced a list of full paths for folders, sorted by the number of levels would be a nice touch. A list of all of the files is clearly not what I'm looking for.

View 2 Replies View Related

General :: Write A Script To Move Specific Files In Various Folders To One Folder?

Nov 16, 2010

Terribly new to Linux and find it mindboggling. I work on brain imaging and unfortunately all of the analysis runs on Linux, and I do not understand computers well coming as I do from a medical background. So my question - There are various folders of patient MRI scans (folders called P1, P2, P3 etc) and within them are enclosed certain files that I am interested in (always called the same name in all folders, say image001). I would like a script that enables me to copy and move this image001 in all these individual folders to another folder altogether.

View 13 Replies View Related

General :: Kubuntu 9.10 Boots Only A Command Terminal / Specific Commands To Get The Files?

Nov 6, 2009

In a couple days I plan on changing to opensuse from kubuntu. Anyway in the Kpackagemanager I removed the pulseaudio client (and its dependencies) and it messed up my system a bit. I don't really mind but all I need is to get my files from my home folder off my hdd to an external through usb 2.0. When Kubuntu 9.10 boots now all it is is a command terminal basically and I don't know the specific commands to get the files. Or if I need to reinstall something so that it boots up with a graphical looking UI again.

View 14 Replies View Related

General :: Make Openbox Automatically Start To Use A Specific Gtk Profile?

Jul 7, 2010

I have switched to openbox from Gnome and would now like to stop using Metacity altogether. When I was using metacity I had both a control theme (e.g. gtk theme) and fonts set up how I liked them in gnome-appearance-proporties. When Openbox starts, it gets my window borders up properly (ofc.) but fails to render my fonts properly and uses the wrong gtk theme. I can't find anywhere to specify which gtk theme to use or what method to render my text with. After Openbox is finished doing it's thing, and I run gnome-apperance-properties manually, it will automatically set everything to it's proper value, but I don't want to have to do this as it takes several seconds to preform and I'd rather not have it jury rigged like this.

View 2 Replies View Related

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

View 4 Replies View Related

Ubuntu :: Cannot Change Directory To A More Than Three Folder Tree Destination Folder From In Terminal?

Sep 18, 2010

I cannot change directory to a more than three folder tree destination folder from ~ in terminal. I've checked everything. No Typos or misspell. The destination folder was recognized by "ls" command but when I went to it, the terminal said, "no such file or directory."

View 7 Replies View Related

General :: Open Folder In Terminal

Jul 10, 2011

When you are in Nautilus, can you right-click a folder and choose to open it in terminal?In Ubuntu, I can't do it, any idea?

View 6 Replies View Related

General :: Run The Terminal In The Folder That Is Currently Open In Nautilus

Dec 4, 2010

Currently if I have folder "/abc/def/ghz" open on Nautilus and I want to run a terminal command on that folder I have to manually open the terminal and go to that folder.I'd like to know if there is a way to have a button or a short cut that'd allow me to open the terminal right in the desired folder.Something like pressing CTRL ALT and have the terminal popup in the the current folder.

View 1 Replies View Related

General :: Upload Folder On Server With Terminal?

Feb 13, 2011

i attached file in email using terminal(mutt) but i want to upload folder on my server with terminal , script

View 13 Replies View Related

Fedora :: Want To Right Click Folder In Nautilus To Open Terminal To Folder

Feb 19, 2010

I basically am hoping for a line of bash script I can put into "Open With" for folders so I can get a terminal with the right path. I hate manually typing in paths to places when I am looking right at them in nautilus. "gnome-terminal" doesn't work - it just opens a terminal to ~.

View 3 Replies View Related

General :: Ubuntu - Package For Specific "command History" On Terminal Line?

Sep 19, 2011

Is there a package I can download for Ubuntu that would allow me to type in,for example, cd [tab key] and then it would go through the recent cd commands I've typed in?

View 2 Replies View Related

Ubuntu :: Tar Gz Install Into A Specific Folder?

Mar 21, 2010

i need to install this downloaded tar gz file into the /proc/driver directory.

View 6 Replies View Related

Ubuntu :: Installing Packages In Specific Folder

Jun 18, 2010

Basically, I want to install Opera 10.60 Beta, but I currently have 10.10 Final installed, and I don't want to upgrade/overwrite my current install. Is there any way to specify which directory the .deb package install itself into?

View 1 Replies View Related

General :: Start Up A Net Connection With Pure Terminal?

Mar 26, 2010

I type in ifconfig eth0 up, it says Device not found.

Sys: Fedora12, ethnet, laptop.

When I can get in X, I can manage my network with network-management, or with gnome-terminal. In X, I can start a net with "ifconfig eth0 up", when I type in "ip link", It shows like

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:26:22:de:c0:94 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 00:26:c6:4f:79:2a brd ff:ff:ff:ff:ff:ff

BUT right now, I get problems with X and can't get in it. I want to start a net connection in pure terminal and work with it. However, it replys "Device not found" to "ifconfig eth0 up". Answer to "ip link" was lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 and no more. Where is my eth0 then? How can I start a net with it?

View 4 Replies View Related

Fedora :: Terminal Doesn't Start \ Can Read 'starting Terminal' But After That It's Closed?

Nov 12, 2010

Recently I've updated from 13 to 14. However, after updated I've tried to work with my terminal and it seems doesn't works fine. I can read 'starting terminal' but after that it's closed.I've uninstalled and re-installed it through the graphical tools (gnome-terminal) but that doesn't works fine.

View 3 Replies View Related

Ubuntu :: Set Up A Specific Folder On Box That Can Treat As Own Personal Dropbox?

Oct 3, 2010

how difficult it would be to set up a specific folder on my box that I can treat as my own personal dropbox. That way I can access the folder and whatever is inside of it by hitting my external IP, or domain, etc. It'd also be nice to upload to that specific folder on my box too. This is speaking from externally to the LAN.

View 1 Replies View Related

Ubuntu :: Restricting Users To A Specific Folder And Its Subfolders

Dec 29, 2010

I wanted to restrict users within a particular folder say /var/lib/tomcat/webapps. I want the users to see all subfolders inside webapps and work with it (edit+read but no delete). I understood that chroot is the way, and i read this [URL] community discussion, but what i understand out of it is, they are trying to give a complete working installation of ubuntu to the user within a directory which i dont want to.

View 3 Replies View Related

General :: Start Server With GUI (kde/gnome) To Terminal By Default?

Jun 13, 2011

I've set up home server, which doesn't have to be as powerful as other servers, so I decided to install GUI because of applications that are alternatives to classical GUI applications in headless version requires more skill/knowledge. However, I don't want server to run GUI always at start (which gnome-desktop package does). I need some configuration in KDE/gnome/xfce (haven't decided) that doesn't start GUI after each start (e.g is required to type startx or equivalent command to start GUI)(off topic: can you also recommend good remote-administration with GUI transport ?)

View 1 Replies View Related

General :: Start Up Gnome Desktop From Remote Terminal?

Jul 27, 2009

I looked around for threads addressing this issue and some have come close to answering it, but I have yet to see a definitive yes or no. Anyway - Here's my issue:

Background:
I can SSH into my home computer (Ubuntu 9.04 running Gnome) from work (Win XP Pro) using RealVNC via Putty tunnels. This has been working flawlessly for me for awhile now. I was messing around in the terminal window and accidentally rebooted the linux box (home computer) while I was at work. No big deal I thought. So I re-start the Putty connection, and it is back up in no time. Then I try to start the VNC connection, and no go, connection refused. I remember seeing that in order for the VNC connection to work, I had to be logged into the Gnome desktop already on the Ubuntu box.

Question:
Is it possible to log in and start up a Gnome desktop session from the terminal command line in Putty so I can get the VNC connection back?

View 8 Replies View Related







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