General :: Stop Du Command From Displaying Directory Name?

Apr 28, 2011

Does anyone know how to stop the du command from displaying the directory name?

View 1 Replies


ADVERTISEMENT

General :: Ls Command And Displaying Number Of Files In Current Directory?

Oct 15, 2010

What command will provide you with the number of files in your current directory?
Choose one answer.
A. ls -c
B. ls | wc -w (this one)
C. ls -n | count
D. ls -wc (this one ?)

View 5 Replies View Related

General :: Alias For Changing To Directory And Displaying All Files

Jul 4, 2011

I'm trying to setup an alias, that when I change to another directory, any directory, it will also display all its contents like ls -al:Well, that doesn't work. I guess it's an issue with the use of wild-cards.Maybe I should define a new, so far unused, name for the alias like cdl for example.Would be great if someone could help me. I search in several examples for bash aliases but couldn't find the right solution.

View 9 Replies View Related

Ubuntu :: Stop Apt-get From Displaying Changelogs With Less?

Jul 26, 2011

One of the minor changes to Ubuntu seems to be that apt wants to display changelogs using less, which requires user interaction before apt proceeds to install the update. This is a kind of an annoyance when you're using a script to propagate updates to a whole slew of machines. Is there a way to turn this off -- or even better, change apt's use of less to cat. (I don't mind the changelogs being displayed b/c I log everything my scripts do. I just want to avoid the need for user input for automation purposes.)

View 1 Replies View Related

OpenSUSE :: Blank Screen - Stop Displaying?

Jul 10, 2011

I have a little brother who is handicapped and uses the machine he was sat by the computer with a blank screen at which point my dad soft rebooted the machine (he will sit at the machine if its not working but he cant tell us its not working). I don't know if the below caused the machine to stop displaying?

Code:

View 6 Replies View Related

Hardware :: Nvidia 8800 Gts - Card Stop Displaying On Screen - Make A Fan Sound Like If Was Overheated

May 7, 2009

HP Pavilion Media Center a1430n Desktop PC
Athlon 64 X2 (T) 3800+ 2.0 GHz
Asus A8N-LA chipset GeForce 6150 LE
1 gB of RAM

Video Graphics: integrated
Hipro hp-d3057f3r max out put 300w

Here is the problem fist i had a 8800gt installed it work fine until one time the card stop displaying on my screen and the card would make a fan sound like if was over heated......but my integrated still displays... ok then i send the card to my provider so it can be replace.. so they send me a 8800gts .... and i installed and deleted the old drives and even upgrade my bios .... but still happen like it happen whit the 8800gt it wont display any thing on my screen and also is making the same fan sound of the 8800gt ....

View 5 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

General :: Find Directory Older Than X And Mv Directory With Sub Files Command?

Jul 13, 2011

I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively

View 4 Replies View Related

Ubuntu :: Directory Not Displaying In Web Browser?

Nov 16, 2010

I have a LAMP environment on Ubuntu 9.04 desktop. I created a directory in /home/user that I use for all my development work called /projects.

I am able to access this directory via localhost/projects as the URI in my web browser; I see a listing of all the separate directories and I am able to click on each directory and see its contents.

Parent Directory
Site-Structure/ 30-Aug-2010 11:39
builds/ 03-Sep-2010 00:02
d6/ 12-Nov-2010 13:25
d7/ 31-Oct-2010 17:44

[Code]....

I have default, default-ssl and projects in my /etc/apache2/sites-available directory. I haven't changed these files since I first created them. I haven't changed the permissions on any of the directories within /home/user/projects since I first set this up.

What can I do to access this directory from the address bar of a browser again?

View 4 Replies View Related

General :: Bash Scripting / A Command That Can Stop Others?

Mar 31, 2010

i would like to ask something very simple i hope for most off you but i couldn't find anything in other questions so specific...

So...i need a command to stop another command.

more specific i have to run airodump-ng and i want this command to stop after some seconds (or minutes) automatically....

View 6 Replies View Related

General :: Stop SMTP Hammering Via Route Command?

Mar 27, 2011

I often see hundreds of entries like this in my logwatch report:

[code]...

I am wondering if this would be correct?

[code]...

will it keep that marauder away from Dovecot?

View 8 Replies View Related

General :: Way To Stop Command Output To Continue Scrolling Down Terminal

Jan 4, 2011

I moved from a Linux environment from one company to another and one annoying difference came out:When I used to run an application in a terminal (no GUI), the transcript lines were presented one the window - when the window was full then the scrolling of the lines would continue only if one hit the space bar to proceed (of course waiting to user input did not stop the run).

In the new environment the behavior is different - transcript lines keep going on and on so I need to scroll up - and moreover each page-up command is cancelled by the new lines appearing.perhaps this is also reproduce with other Linux commands , say "find" or "ls".

View 4 Replies View Related

General :: Does The SVN Command Work In One Directory But Not Another?

Jun 10, 2011

I used SVN to check out the code of an open source project. When I typed the following command:

[user1@smallfox]~/workspace/project1% svn co http://svn.apache.org/repos/asf/mahout/trunk

It worked just fine. However, when I typed the SVN command in the root directory, it did not work and gave me an error message:

[user1@smallfox]~% svn co http://svn.apache.org/repos/asf/mahout/trunk
zsh: command not found: svn

View 1 Replies View Related

General :: Command To Overwrite A Directory?

Jan 18, 2010

there's a command to overwrite a directory.

View 6 Replies View Related

General :: Tar Command For Directory With Files

Feb 24, 2011

Using tar command. All I need the usage, and basic explanation. Let's assume I have a directory with files that I need to tar, how do I go about it.

View 14 Replies View Related

General :: Command - Encrypt A File Or Directory?

Feb 23, 2011

What 's the most popular command to do such things in terminal in linux?

View 4 Replies View Related

General :: Find And Replace Command For Whole Directory

Aug 17, 2011

Is there any command in Linux which will find a particular word in all the files in a given directory and the folders below and replace it with a new word?

View 4 Replies View Related

General :: Apply A Command To All Pdf Files In A Directory?

Jul 29, 2011

i want to apply this command

Code:

pdftotext article.pdf - | grep DOI

to all the pdf's in a directory and save each line of output to a text file. i.e. i want to collect each line containing "DOI" from every pdf in a text file. I am unable to understand bash scripting enough to write a for loop for this.

View 1 Replies View Related

General :: Command Line 'last Directory' Button?

Jun 16, 2010

in the command line there's a button (tab) for autocompleting commands and I'm pretty sure linux has a button that prints the last directory I used/typed whatever?

View 6 Replies View Related

General :: Can See Properties Of A Directory Using Command Line

Mar 4, 2011

I am struggling to learn the command line, and am stuck to the following In my directory ~/Music , I have many music archives , total about 0,8 Gbyte . Yet , changing to this directory ) and giving ls -dlh , I get

ioannis@ioannis-laptop:~/Music$ ls -ldh
drwxr-xr-x 4 ioannis ioannis 4.0K 2011-03-04 14:55

So, only 4 k size and no info about the number of the files in the dir

View 6 Replies View Related

General :: Root Directory Changed By Using Command?

Oct 24, 2010

I am using fedora 13. If is use the command "cd //". It changes to root directory. How is it? What "//" denote?

View 6 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 Replies View Related

General :: Rm Non-interactive Command - Delete A Directory With Its Files

Sep 28, 2010

I wanna delete a directory with its files and I wanna do that as follows: rm -r dirToDelete Unfortunately, I always get asked for EACH single file if I wanna delete this because it is write protected.... Is there a way to suppress this feedback message so that just the whole directory with its contents disappears?

View 5 Replies View Related

General :: Check If A Directory Exists In Command Line?

Jan 21, 2010

How to check if a directory exists in Linux command line?

[Code]....

View 5 Replies View Related

General :: Tar Command - Making Archive From Current Directory?

Mar 31, 2011

I have been playing around with the tar command and I know this is how to use it.
Code:
tar -cf [filename] [directory]
But what I want to make an archive from the current directory I thought just to not enter a directory but that doesn't work. I get an error about creating a empty archive so how to do I make it so how do I tell it to do the current directory?

View 5 Replies View Related

General :: Extracting Absolute Directory From Type Command?

Sep 26, 2010

I need to extract the absolute directory from the type command when I pass it a program name. E.g.

Code:

>type cat
cat is hashed (/bin/cat)

There is one other case (I believe):

Code:

>type lpr
lpr is /usr/bin/lpr

I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.

Note: this is part of my solution to a programming assignment in bash shell scripting.

View 1 Replies View Related

General :: Installing A Program And Have It Accessible As A Command From Any Directory?

Dec 23, 2010

I want to install a program (specifically metasploit), and have it accessible from any directory in the terminal. I have it installed correctly, but I have to travel to the directory it is installed in to run it (by using ./msfconsole ). I want to be able to be in any directory and just run "msfconsole" and have metasploit run. I have to copy the metasploit folder to the /opt/ directory? Maybe the /usr/bin/ directory?

View 3 Replies View Related

General :: Ubuntu 10.04 - Tar Command To Archive Home Directory

Sep 3, 2010

Ubuntu 10.04. As part of my nightly backup script I archive my home directory with the following command
tar -cvpzf /quitelarge/_mirror/mirror1/home-ken.gz /home/ken 2>> /quitelarge/_mirror/tar-error.log

It seems to work fine and I have recovered files from the archive on occasion. Actually I keep 7 rolling daily backups and a monthly burn to DVD. I had an sftp connection made by Nautilus to my server. Ubuntu for whatever reason places an icon on the desktop showing the connection. When I ran the script it decided to archive everything on my server - all 1.4 TB. I caught the problem when home-ken.gz was about 5 GB. I stopped the process, closed the sftp connection, rolled back the backups and tried again. This time I got a file of the expected size - about 45 MB.

In the error log I did find that the tar process was trying to suck the entire contents of the server into the archive file.
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound/ICH5/pcm0c/sub0: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound/ICH5/pcm0c: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound/ICH5: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/scsi: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/acpi/event: Cannot open: Permission denied
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/acpi/fadt: Cannot open: Permission denied
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/acpi/dsdt: Cannot open: Permission denied
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/irq/21/smp_affinity: Cannot open: Permission denied

Is there an option I can place on the tar command to tell it NOT to follow the ssh connection which is sitting on my desktop? The closest thing I see in the documentation is -h which tells tar to "follow symlinks; archive and dump the files they point to." I am NOT specifying -h so if the ssh connection is treated as a symlink by tar I would still not expect the remote contents to be tarred.

View 13 Replies View Related

General :: /bin Directory Is Deleted After Killed Yum Update Command

Jan 7, 2010

I have a serious problem on my VPS. I ran "yum update" and then hit the Ctrl+C to cancel when I realized that I need to specify a package to update, not all of them, but when the console returned suddenly I lost the connection, when I try to reconnect to the machine, it says /bin/bash not found !! even when I try to issue commands from the VPS control panel, it reports that the commands are not there

I can issue a ticket for the ISP to resolve this, but I need to know the risks before I do this, I have no backup on MySQL and 2 live web applications, although they are still running, I am afraid if I restarted the VPS everything will be gone.

View 7 Replies View Related

General :: Navigate To Previous Directory In Windows Command Prompt

Mar 24, 2011

Possible Duplicate: Navigate to previous directory in windows command prompt

Is there an equivalent of Linux's cd - (change to previous directory) in Windows?

View 3 Replies View Related







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