General :: Osx - How Does Mac's Command Line Compare To System

Aug 23, 2010

I love Ubuntu Linux - especially the commmand line. But I have to admit that, at least for now, Windows is more user-friendly - there's more software for it, more drivers, and more stuff just works.

Knowing that Mac is built on Unix makes me wonder if it's the sweet spot between them. But I wonder: how similar is the Mac command line to Linux's bash? Could I pick right up with using vim and bash scripting and git, etc? Would common commands like changing directories be different? Does anybody know an online "compare and contrast" resource?

View 5 Replies


ADVERTISEMENT

General :: Compare Two Files Line By Line?

Mar 24, 2010

I have two files (not sorted) and need to compare line by line (i.e. first line of file1 to be compared to all the lines of file2 and so as for the rest of file1). Output will be an array of length of file2. Any suggestion in BASH other than a grep inside two read line loops ( which is time consuming for files ~1000s of lines).

View 2 Replies View Related

Programming :: Compare Two Files Line By Line And Print The Line Which Is Same?

May 30, 2011

I am trying to write a program in C which compares two files and prints the line that is equal.

Here file1.txt has

and file2.txt has

Note: file2.txt consist of only a single string where as file2.txt has multiple lines. Actually im comparing two files with md5sum values.

Here is the code but it compares only first line of files..but it should compare the whole file1..and sorry iam a beginner in C can any1 sujest some modification to this code so that..it can compare file2 with entire file1

Quote:

View 9 Replies View Related

General :: Command Line - Dterm For System?

Nov 26, 2010

Is there a something similar to DTerm available for Linux?

View 2 Replies View Related

General :: How System Know It's Collection Of Command Line Programs

Aug 23, 2010

I just started using ubuntu after being a long time windows user.

what i find really interesting is that in command line, i can type many programs and commands, eg firefox can be run via command line from anywhere. In windows cmd prompt, im used to having to run the .exe file by first navigating to it, then being able to run the .exe.

what i wanna know is how does linux know all the programs at the command line?

View 5 Replies View Related

General :: Get Command Line System OS Using Sandbox For Learning Its Prompt?

Nov 27, 2010

Possible Duplicate:
Version of Linux with a command prompt?

Which software of Linux to use for command line running? Since I am using MySQL to run from Linux and want to run Linux, which software to download in Linux? There are multiple ones. Can I run .sh scripts and learn how to operate on Linux using the command line? Also use MySQL as backend on Linux?

View 1 Replies View Related

General :: Change Brightness On System Desktop Through Command Line?

Mar 9, 2011

I have a Debian Linux desktop. I want to change the screen's brightness without pressing the brightness button of my monitor. How can I do this? is this possible in command line or is there an application to be installed?

View 3 Replies View Related

General :: Move To Previous System Date Using Command Line?

Sep 21, 2010

I want to know the command, so that i can move back two days i.e. all the changes i made during the two day is rolled back .

View 5 Replies View Related

General :: Looking For Non Compressed Small Command Line System Distro?

Oct 31, 2010

We are having a lot of trouble with this.

We need a command line version of Linux like ttylinux. Any command line will do with the latest kernel. It should be around 50 megs.

But the problem is, all these small Linux versions are LiveCD or have a compressed file system.

We need a SMALL linux distro, that we can install UNCOMPRESSED (no squashfs etc) on a hard disk.

This is so simple I'm sure I'm missing something..

View 3 Replies View Related

General :: Compare Two Files With Different Command

Jan 13, 2011

i have file1 and file2.

[Code]...

Here i want to compare these two files with diff command and need to take the common things in a separate file. File contents are 7 strings in length and everything will start with the character e. File 3 contents should be

[Code]...

View 5 Replies View Related

General :: Command Line - Count Number Of Folders In A Drive Using System?

Apr 9, 2010

I need to organise an external HDD such that there is no more than 500 folders on it.

Ubuntu's "Properties" pane shows only the file count, not the folder count.

Is there a simple CLI line that will tell me the number of subdirectories?

View 3 Replies View Related

General :: Command Line - Create Multipart 7zip File In System?

Sep 4, 2010

How can I create a multipart 7zip file in Linux using the p7zip console client?

Many people referred me to it. My console app is

7-Zip [64] 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

View 1 Replies View Related

General :: System Command Line Utility For Watching Log Files Live?

Jan 5, 2011

What's a good linux command line utility for watching a log file live? It's probably obvious but I totally forgot it.

View 2 Replies View Related

General :: Command Line - Find External And Internal Devices Attached To A System?

Feb 24, 2010

How can i find through terminal that which devices are external and which are internal.

By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc.

By internal i mean devices attached internally. For Example, SATA Harddisk etc.

View 2 Replies View Related

General :: Change Command Line Based SUSE System Enterprise Server To Gnome?

Sep 6, 2009

I have a virtual machine with SUSE Linux Entperise 10 SP2 (I586) installed. However, the default setting is using command line based interface.

Is it possible to change it to be GNOME or KDE based interface ?

View 1 Replies View Related

General :: Focus On Command Line Machine System, Network Basics, And File Management Knowledge?

Feb 17, 2011

As a strategy for learning linux I have decided to adopt using a lean windows based approach. I want to focus on command line machine system, network basics, and file management knowledge. In other words find out how desktop manager does it's business, so I know how to master my machine, but by and large once I have made my choices, leave it alone to do just that.

I figure I should know how applications are internally configured etc., but I also figure an apps GUI and config choices should take care of installations, and program usage as in M$ windows. Surely taking care of an applications dependencies are the responsibility of the developer, are they not?

I am working my way through "Rute User's Tutorial and Exposition (Version 1.0.0)" right now for an overall viewpoint. Can anyone suggest a specific source for a point by point explanation of the command basis of a generalised "desktop management" application (KDE,LXDE)? Better yet would be if it had some parallel comparison of the varied approaches taken by different distributions of linux.

A secondary question, is that allowed? Up to a certain point in Ms windows, a thorough knowledge of DOS 6.xx would theoreticaly enable one to more or less duplicate the actions of the windows overlay. Is there a basic distribution (or subset in all of them maybe?) of linux that would be consistent with that paradigm? What would be analogous to DOS batch files, or GM-Basic? Oh! that's 3.I am certainly appreciating the depth of this forum, and the breadth of knowledge among you forumite's. Reading it is time well spent.

View 7 Replies View Related

General :: Compare Binary Files In System?

Mar 29, 2010

I need to compare two binary files and get output in form

for every different byte. So if file1.bin is code...

what is the easiest way to accomplish the goal? Standard tool? Some 3rd party tool?

View 5 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu :: Identify System's Motherboard From The Command Line?

Jan 12, 2010

How can I identify my system's motherboard from the command line?

View 5 Replies View Related

Ubuntu :: Command Line To Bootup Operating System

Feb 13, 2010

I just booted into Linux and the Update Manager prompted me to restart. After the restart the GRUB interface I expect to see is no longer there and now it is just a command line that says press tab for more options. I have not got a clue with shell language as I have had no time to learn it as of yet. Do I need to uninstall and reinstall Linux or is there a command that can be typed that boots up the operating system. Even better if there is something I can do is there also another command that can bring back that interface I was used to.

View 3 Replies View Related

Ubuntu :: System Automatically Going To Command Line Mode?

Aug 10, 2010

I am using ubuntu operating system, recently I am getting one problem when i am using the system . system is automatically going to command line mode it is asking user name and password. After entering user name and password I can able to use the system only in command line mode. Again when i restart I am getting gui as usual. Please help me to resolve the problem.

View 1 Replies View Related

Ubuntu :: Change System Language Via Command Line?

Jan 29, 2011

I built Ubuntu desktop up from a server install. I'm using Gnome. I want to change the system's language, and I have no menu option to enter System>Preferences>Language Support. I need to either:1.) Install whatever will place that option in the menu.2.) Affect the change via the command line (preferable).I just can't figure out what to install and Google only produces GUI tutorials. =/

View 2 Replies View Related

Ubuntu :: System Boots Into Grub 2 Command Line?

Mar 4, 2011

After installing the 10.10 Maverick Meerkat, I decided to have a new partition and install Windows 7 on it for development purposes. So this is the method I worked with:

Partitioned the hard disk with gparted
Formatted the drive in NTFS
Installed Windows

Booted into Ubuntu 10.10 Live CD and re-installed grub on the MBR Now after restarting the system a grub command line boots up. I was able to boot into ubuntu with the following commands:

Code:

find /vmlinuz
kernel /vmlinuz root=/dev/hda1 (or its equivalent)
initrd /initrd
boot

Is there any way how to load up the grub GUI with the options to boot up Ubuntu or Windows 7 respectively?

View 9 Replies View Related

Ubuntu Installation :: Reinstall System Entirely Using Command Line?

Mar 10, 2011

My computer is a netbook with no optical drive. I had a friend bring over an external CD drive to burn the live CD, but I don't have that now. Since then, I've messed up my install beyond easy repair, so I was wondering if there was a simple (or perhaps not so simple) command that would reinstall every package from the software repositories (I do have access to the Internet, just no GUI). I'm talking about a clean install here.

View 3 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Fedora :: Running Servers On Local System From The Command Line?

Oct 23, 2009

How would I find out what servers are running on my local system from the command line? I cannot find out how to accomplish this anywhere?

View 3 Replies View Related

Ubuntu :: Installing Software To Base System From Command Line?

Dec 19, 2009

I'm a Linux newbie and don't know how to do a lot of things. Five months ago, I asked a friend at FreeGeek Columbus to delete the extaneous operating systems from my computer just leaving the one I used, and he accidentally deleted them all. No problem, I'll just reinstall when I get home. But everytime I try to reinstall K/Ubuntu, I get an error message saying
Installation Failed. The installer encountered an error copying files to the hard disk:
[errno 5] Input/output error.

That happens with four Ubuntu installation Cds, three live Ubuntu Cds, one Kubuntu live CD, and one Fedora live CD. I suppose there's a problem with my DVD rom. PCLinuxOS and openSUSE, however, do install, so those are what I've been using (I've only recently ceased with openSUSE, for the time being). Today, however, I got lucky trying out something different. I used an Ubuntu 9.04 alternative CD (not live as they abort when they come to the input/output error message) to install the base system and grub with lvm.

It allows me skip over software installation which is where the input/output error message happens. It boots to a command line. I don't know what commands to use to get the software to install from a mirror, or how to install repositories from the command line. I've never had Kubuntu, per se (only Ubuntu with the KDE desktop); so since PCLinuxOS GNOME 2010 (a rolling distro) is more stable and polished than Ubuntu 9.10, I'd like to fill my base system out with Kubuntu software.

View 5 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related







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